-
AuthorPosts
-
April 5, 2019 at 8:35 pm #1087578
Hi,
I’m using a header menu with widget area. I thought I had set up all the code correctly but I can’t see the menu or header in mobile view. Please help!
Thanks.April 6, 2019 at 9:42 pm #1087843Hey connect4consulting,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width:767px){ #top #header #header_main .widget { display: none; } .responsive #header_main_alternate { display: block; } }
If you need further assistance please let us know.
Best regards,
VictoriaApril 8, 2019 at 2:04 am #1088080Hi Victoria,
I’m not sure why it’s not working but essentially the logo is in the widget area and now that is missing on the mobile/tablet view.
Thanks for your help!
GabeApril 9, 2019 at 3:29 am #1088502Hi connect4consulting,
If you want those text/logo, then replace this part of the code Victoria gave:
#top #header #header_main .widget { display: none; }
and replace it with:
#top #header #header_main .widget { display: block; padding: 12px 0 24px; text-align: center; } .responsive #top #wrap_all .main_menu { float: none; position: static; height: 55px; } .responsive #top .logo { display: block !important; margin-top: 0; width: 100%; height: auto !important; }
this is what the whole code should look like:
@media only screen and (max-width:767px){ #top #header #header_main .widget { display: block; padding: 12px 0 24px; text-align: center; } .responsive #top #wrap_all .main_menu { float: none; position: static; height: 55px; } .responsive #top .logo { display: block !important; margin-top: 0; width: 100%; height: auto !important; } .responsive #header_main_alternate { display: block; } }
Best regards,
NikkoApril 9, 2019 at 4:57 pm #1088734This reply has been marked as private.April 10, 2019 at 9:53 am #1089047Hi connect4consulting,
Can you try adding this css code as well:
@media only screen and (max-width: 989px) { .responsive #top .av_mobile_menu_tablet #header_main_alternate { display: block !important; } .responsive #top .logo { padding-top: 4px; margin-bottom: 0; } }
Best regards,
NikkoApril 10, 2019 at 9:38 pm #1089257Thanks Nikko! That worked beautifully!
April 11, 2019 at 3:57 am #1089324Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Mobile menu not appearing on site’ is closed to new replies.