Keep Menu Items on One Line

  • Unknown's avatar

    Hi!
    I’m trying to make my menus all in one line. I kept seeing people say to edit CSS but I can’t seem to view the CSS.
    I do can see it on Theme Options but I can’t find where exactly to edit the padding.
    Anyone can help??

    The blog I need help with is: (visible only to logged in users)

  • Hello there,

    I see you’re on the business plan, so you can reach out for help in real time here: https://wordpress.com/help/contact

    CSS can be added via Appearance > Customize > CSS.

    The CSS you require is:

    
    /* Make menu on one line */
    
    header#masthead {
        display: block;
        text-align: center;
    }
    
    

    The site title can be hidden with this CSS:

    
    /* Hide site title */
    
    p.site-title {
        display: none;
    }
    

    The site description can be hidden with this CSS:

    
    /* Hide site description */
    p.site-description {
        display: none;
    }
    

    I hope this helps.

  • The topic ‘Keep Menu Items on One Line’ is closed to new replies.