At the first break point when mobile nav becomes visible on iPad width, the burger bars are not centered in the blue nav bar and shift when clicked on. How can I fix this glitch in the CSS?
Using the Developer Console (F12 in most browsers) will really help you when it comes to troubleshooting.
If you inspect the element, you’ll see that top: 21px !important; is being applied at that breakpoint. I assume that this is what you’ll want to increase. You can check the Developer Console for the selectors that are being used, and the stylesheet(s) the declaration appears in.
I’m familiar with inspector and I do my diligence to try that every time before I ask for help. In this case I thought it was something more complex. I increased the px and got it centered fine. Thank you!
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.