Archived topic
mobile menu
5 replies · Started by Francesca on July 11, 2018
Hello,
my mobile menu does not work well, some voices come out of the section. Can you help me understand why?
thank you so much,
Francesca
Hi there,
Likely causing by the CSS you've added for header/navigation.
Can you make sure they are all desktop only?
https://docs.generatepress.com/article/responsive-display/
this is the CSS I've added for header and navigation
a img {
position: relative;
z-index: 1;
}
#site-navigation.main-navigation {
height: 113px;
background-color: #f0a800;
}
nav#site-navigation.main-navigation {
border-bottom: 3px solid #f0a800;
}
Thank you for your help
Francesca
Looks like the second block is causing the issue.
Have you tried comment it out?
No, I didn't try. I don't know how to do it
You can comment out CSS like this:
https://css-tricks.com/snippets/css/comments-in-css/
Or simply remove them to test.