Menu padding, left and right?

Home Forums Support Menu padding, left and right?

Home Forums Support Menu padding, left and right?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #182611
    Leif

    Hi,

    How do I get the menu padding to 0 right and left as it is on this page?

    https://www.thegooru.com/block-urls-with-this-chrome-extension/

    #182658
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try this CSS:

    .main-navigation .inside-navigation.grid-container {
        max-width: 100%;
    }
    #182662
    Leif

    Thanks Tom,

    Works perfect, now I just need to figure out how to align the dropdown menu to the left instead of right since it went out the to much on the right .. You don´t happen to know that to .. 😉

    Thanks again anyway .. =)

    #182774
    Tom
    Lead Developer
    Lead Developer

    I’m not too sure what you mean? Can you show me?

    #182819
    Leif

    Hi Tom,

    The website is developed offline, but when I hoover the menu to show the dropdown menu it folds down and aligns to the right but I want it to align to the left instead of original so it does not go out under the window on the right side of the page, because it disapear a little bit when the menu is so far out the right.

    I dont know how to explain it more.

    #182922
    Tom
    Lead Developer
    Lead Developer

    Perhaps this will help?:

    .main-navigation ul ul ul {
        right: 100%;
        top: 0;
        left: auto;
    }
    
    .main-navigation ul ul {
        right: 0;
        left: auto;
    }
    #183091
    Leif

    Hi Tom,

    Perfect, that was what I needed it solved the issue perfect .. Thanks again for your support, best support of all theme authors .. =) .. You do great things for the wordpress community .. =)

    #183205
    Tom
    Lead Developer
    Lead Developer

    Thank you! I appreciate that 🙂

    #201525
    Max

    Hey Tom

    I need to bump this Topic.

    Your css works to move the third level sub menu item to the left but what about the arrow (>) at the end of the second level submenu…it still points to the right. And so it looks a bit confusing and untidy.

    Is there any way to have the arrow also pointing to the left and placed at the start of the second level label to make it more user friendly.

    Kind Regards

    Max

    #201582
    Tom
    Lead Developer
    Lead Developer

    Try this:

    .dropdown-hover .children .dropdown-menu-toggle:before, 
    .dropdown-hover .sub-menu .dropdown-menu-toggle:before {
        content: "\f104";
    }
    
    .sidebar .menu-item-has-children .dropdown-menu-toggle, 
    nav ul ul .menu-item-has-children .dropdown-menu-toggle {
        float: left;
    }
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.