[Resolved] How do I change the edges of the mobile menu?

Home Forums Support [Resolved] How do I change the edges of the mobile menu?

Home Forums Support How do I change the edges of the mobile menu?

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

    Hello. How do I change the edges of the mobile menu?
    https://ibb.co/z6HFzGD

    #2062249
    Leo
    Staff
    Customer Support

    Hi there,

    Can you disable your caching plugin so we can take a closer look at the code?

    Thanks.

    #2062483
    Anton

    Done

    #2062510
    Elvin
    Staff
    Customer Support

    Hi Anton,

    The space you see is from the padding applied to the off-canvas menu’s inner container plus the padding left of the menu items plus the padding right of the menu caret icons.

    You can adjust these elements with CSS:

    Try this:

    nav#generate-slideout-menu .inside-navigation.grid-container.grid-parent {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    nav#generate-slideout-menu .main-nav ul li a {
        padding-left: 0px;
    }
    
    nav#generate-slideout-menu .menu-item-has-children .dropdown-menu-toggle {
        padding-right: 0px;
    }

    Adjust the value to your preference.

    A wise man once said:
    "Have you cleared your cache?"

    #2062513
    Anton

    Thank you. Everything is working!

    #2063465
    Elvin
    Staff
    Customer Support

    Nice one. No problem. 😀

    A wise man once said:
    "Have you cleared your cache?"

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