Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1325175
    mickna
    Participant

    Hi team,

    I tried to collapse the menu to a burger on a screen size of 1150px.
    The code I use:

    @media (max-width: 1150px){
    body .x-navbar .x-nav-wrap.desktop {
         display: none;
    }
    
    body .x-navbar .x-btn-navbar {
         float:right;
         display:block;
    }
    
    body .x-navbar .x-nav-wrap.mobile a {
         display: block;
    }
    }

    This works fine to trigger the burger.
    However, the burger do not work at the collapsing point (downsize the window, till burger appears. If you then try to use the burger, nothing happens).
    How can I fix this?

    Thank you,
    Michael

    #1325179
    mickna
    Participant
    This reply has been marked as private.
    #1325279
    Christian
    Moderator

    Hey there,

    Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1325335
    mickna
    Participant

    Hi Christian,

    sorry I do not get the point.
    It is the same question as here:
    https://community.theme.co/forums/topic/collapse-the-menu-on-1300px/

    or nearly the same like here:
    https://community.theme.co/forums/topic/set-size-at-which-navbar-turns-to-mobile-menu/

    I can also ask: ” Can you tell me how I can collapse the menu on 1300px?” – As the solution did not work for me (as I wrote)

    Thank you.

    #1325351
    mickna
    Participant

    Thank you. Second code did the trick
    https://community.theme.co/forums/topic/set-size-at-which-navbar-turns-to-mobile-menu/

    #1325363
    Thai
    Moderator

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1325175 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>