Tagged: hamburger, hamburger icon, mobile
-
AuthorPosts
-
May 2, 2016 at 9:25 pm #626037
Hi,
Love the theme and Im using it at http://www.mbaek.com. Thanks for making WP worth the while ;)
I have 2 problems I hope u guys can help me with.
1. How can I remove the black bar at the top of the page when seen on mobile? (see pic)

2. How can I remove the Hamburger function which displays on mobile devices? I only have 4 links, which I hope to display under the header with smaller font-size, so that it fits the screen. I can only find an option to activate it for tablets and smartphones, but not an option to deactivate it and just show my 4 links.
I have come to a solution on my tablet in portrait mode.
Hope you guys can help ;)
May 2, 2016 at 10:05 pm #626059Hi @morten008;
#1 – the black bar at the top of the page when seen on mobile is because of to this code in your custom css :.logo.bg-logo {margin-top: 70px; }#2 – You can remove the humbourger and show the main menu for mobile devices by adding these lines into your custom css : (adjust “padding-top” for main menu and “heught + line-height” for menu links (ul >li > a)
@media only screen and (max-width: 767px) { .container #advanced_menu_toggle, #advanced_menu_hide{display: none !important;} .main_menu .avia-menu, #header_main_alternate, .fallback_menu{display: block !important;} .main_menu{padding-top:0px; } .main_menu {float: left !important;} #top #header_main > .container .main_menu ul > li > a{ height: 20px !important; line-height: 20px !important;} }-
This reply was modified 9 years, 5 months ago by
begrafiks.
May 4, 2016 at 11:39 am #627100@begrafiks
thanks a lot!!
@morten008
Let us know if you need some more help with this.Best regards,
AndyMay 5, 2016 at 7:10 pm #627948Thanks! It was just what i needed. Just add’ed a little more styling to fit my design!
May 9, 2016 at 11:05 am #629121 -
This reply was modified 9 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
