Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #643388

    Hi
    I have only one menu item in my main menu and i would like it to stay the same regardless of site width. In other words: I don´t want it to break to that toggle symbol on mobile.
    I´ve been searching all over this forum, but found no solutions that worked for my site.

    #643416

    Hi @isveian;
    something as this code may help you :

    @media only screen and (max-width: 767px) {
    /*HIDE MOBIL MENU*/
    .container #advanced_menu_toggle, #advanced_menu_hide{display: none !important;}
    /*SHOW ALLWAYS MAIN MENU*/
    .main_menu .avia-menu, #header_main_alternate, .fallback_menu{display: block !important;}
    }
    #643428

    It works, thanks! :)
    I just have to use some more css to make it look good, because when the site breaks to mobile view the position of the logo and menu item is a bit off from where I want it.

    #643433

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 767px) {
    .main_menu .avia-menu {
        display: block;
        float: right;
        margin-top: -80px;
    }}
    


    @begrafiks
    thanks for your help :)

    Best regards,
    Yigit

    #643440

    Perfect!
    Thanks both of you :)

    #643781

    Hi,

    Glad we could help, please let us know if you should need any more help on the topic.

    Thanks,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.