Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

X Theme drop down menu auto-opens WordPress

  • SOLVED

The mobile menu on this site:

adriannestrickland.com

Is automatically open when in a mobile format (you can just reduce the width of your browser to see). I'm sure it's some of the custom CSS that's doing it, but I can't figure it out. I'd love it so that the mobile menu is hidden until the 'reveal' button that is already there is clicked/tapped.

Any help is appreciated!

Michael

Answers (2)

2016-02-27

Rempty answers:

add this to your css

@media (max-width: 979px) {
nav.x-nav-collapse{
display:none;
}
.x-nav-collapse.collapse.in{
display:block;
}
}


michaelmiller comments:

Rempty's code did the trick! Thank you so much!

2016-02-27

Shoeb mirza answers:

Please add thi css

nav.x-nav-collapse.collapse.in {
display: none;
}