Menu Padding

  • Author
    Posts
  • #33962
    Colin Laughton

    Hello everyone,

    Is there a way to reduce the ‘padding’ in the main menu?

    What I mean is, the gap between the edge of a menu button and the text inside. I want to keep my menu on one line yet have too many items for this since the padding is so big.

    I have looked in the settings and can’t seem to fing anything…must be there though??

    Colin

    #34035
    Zed
    Cryout Creations mastermind
    body #access > .menu > ul > li > a > span {
        padding-left: 5px;
        padding-right: 5px; }
    body #access > .menu > ul > li > a:not(:only-child) span { padding-right: 18px; }
    body #access > .menu > ul li > a:not(:only-child) span::after { right: 3px; }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #35511
    Laurie Garrison

    How do I reduce the top and bottom padding on the main menu bar? I want it to be narrower because it’s a bit too thick for the rest of my design. Or would I do that through the height of the main menu?

    #35546
    Zed
    Cryout Creations mastermind
    body #access > .menu > ul > li > a > span {
        padding-top: 0;
        padding-bottom: 0; }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Menu Padding’ is closed to new replies.