Posts by lua • 87 points
13 posts
-
0
votes2
answers57
viewsA: How can I change the style of an html tag using another html tag in css?
The + selector can only be used to select an element that comes just below, and as the image is inside the div #menu, use of selector is incorrect. What you can do to modify the code for this one…
-
-1
votes2
answers49
viewsQ: Remove class when resizing
I created a menu that, depending on the size of the screen, behaves like a fixed menu. However, when resizing the screen to normal size, the menu keeps adding the class to fix it, when it wasn’t…
-
1
votes1
answer31
viewsQ: Show div when scrolling only
I put my sidebar to appear as you scroll down. The problem is that when you load the page, the sidebar becomes visible, and when you scroll, it "blinks" and becomes visible again (and when you…
-
3
votes1
answer67
viewsQ: Change the height of the div
Hello, I would like to decrease the header height when scrolling the page, and return to normal size when scroll reaches the top of the page. I wanted the Ivs inside the header to be pulled up a…
-
1
votes1
answer88
viewsA: Css does not apply to div
Well, after I cracked my head a little bit, I was able to solve this problem. I decided to add a class by inspecting the element itself, and set the css the way I’d like. After that, I went to the…
-
0
votes1
answer88
viewsQ: Css does not apply to div
I’m making a Theme for tumblr, and set a div called "info" to organize posting times and amount of notes in the post. But when I save the changes and visualize them, nothing changes. When opening…
-
0
votes1
answer126
viewsQ: Float ignores the margin
I want to line up a div to the right, but keep the margins as they were imposed, only he ignores them and stays out of the div box. I think with this picture you can see better .answer {margin: 20px…
-
0
votes1
answer44
viewsQ: Odd and Even don’t work
I’m doing a Heme on tumblr and wanted to change the color of the chat boxes, so that in each line they alternate colors. Turns out they all get the color set on Odd .label:nth-child(odd){color:…
-
1
votes1
answer391
viewsQ: Menu that opens on clicking
I’m making my site responsive, and I found a menu that becomes a hamburger menu depending on the screen size, the way I wanted it. However, the menu opens as you hover your mouse (and probably your…
-
0
votes0
answers25
viewsQ: Show only reservations of the logged-in user
I was wondering how can I show only the reservations made by the logged in user, because I tried a lot of code and none of them worked. I tried declaring a Session with the ID, which even caught,…
-
0
votes0
answers13
viewsQ: Load CSS in PHP instantly
I noticed that as I edit the CSS on PHP pages, the styles take a long time to get in (some scripts and HTML code as well), sometimes disabling Easyphp and enabling again. Sometimes anonymous mode in…
-
0
votes1
answer46
viewsQ: Hide login page for logged in users
I made a code for when the user is logged in, can not access the login page, and can be redirected to the panel page. Both the admin’s and the user’s are working, but when someone logged in access…
-
1
votes1
answer36
viewsQ: Index undefined when downgrade
I did a test and put a way to identify when the user is logged in to the site, and this is working well. But when I get relaxed and go to the index, which is the page I put the code, the error…