Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1336814
    Liberalistene
    Participant

    Hi

    I’m having issues with the dropdown menu on the Integrity theme. I want the dropdown menu to be like in image A (see attachment), and not like it is in image B. The design for the mobile dropdown menu is ok when it is a wider screen, but as the screen size comes closer to a mobile phone, the menu blows up to full-width. I want the “box” to be a fixed width, and not full-width.

    This is the page:

    https://beta.liberalistene.org/

    #1336886
    Rahul
    Moderator

    Hi There,

    Greetings! Thank you for contacting us 🙂

    You can add this under Custom > CSS in the Customizer.

    .x-navbar .x-container {
        position: absolute;
    }

    Let me know if this helps.

    Thanks!

    #1337987
    Liberalistene
    Participant

    Thank you, but this makes the background transparent (see image c attached). If I add a background color, the box just fills the entire screen as in image b.

    Another problem with the proposed solution: It makes the entire menu left-aligned on big screens (I want it to be centered).

    #1338002
    Liberalistene
    Participant

    Another problem with the proposed solution: It makes the entire menu left-aligned on big screens (I want it to be centered).

    #1338004
    Paul R
    Moderator

    Hi,

    To fix it, you can add this under Custom > Edit Global CSS in the Customizer.

    
    body .x-navbar .x-nav-wrap.mobile {
        position: absolute;
        top: 67px;
        width: 25%;
        padding: 10px;
        background: #4a104a;
        right: 0;
        color: #000 !important;
    }
    

    Hope that helps.

    #1338020
    Liberalistene
    Participant

    Wonderful! Thank you!

    #1338046
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

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