Home>Support>center and reduce height of submenu

center and reduce height of submenu

By Kyle, 10 years ago. Last reply by Andrew Misplon, 10 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I am trying to (1) center the wording of a submenu, (2) remove the extra spacing in the submenu (but not in the main menu), and (3) remove the link from the main menu item that has the two submenus under it.

URL: http://kylerozema.com/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi Kyle

    Don’t paste this in, but just to show you what happens by default, the sub-menu items are already centered:

    #menu ul ul li {
    text-align: center;
    }
    

    If you wanted to adjust that behaviour, the above selector is what you’d target.

    The padding in the submenu that is there by default has already been removed on your site. If you wanted to move the whole list up you’d target:

    #menu ul li ul {
    top: 100%;
    }
    

    Try changing 100% to 40px for example.

    Question three I answered in your other thread.

    Hope that helps.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More