Need help? Check out our Support site, then


How can I center my main navigation menu in Oxygen theme?

  1. Hey there,

    I just purchased the CSS upgrade for Oxygen theme.
    I would like to center the main navigation menu that is under the header. Any help would be much appreciated! Thanks very much.

    The blog I need help with is mikaylawujec.com.

  2. Hi !

    I have the issue and can't figure out how to do it with CSS (tried - among many others - NAV.site-navigation.main-navigation {text-align:center;}).

    I've taken a look at your blog and it seems like you've suceeded. Could you help me with it too?

    Thank you very much.

    My blog: hendikaf.com

  3. Give this a try.

    .main-navigation {
    text-align: center;
    width: 100%;
    }
    
    .main-navigation ul {
    display: inline-block;
    }
  4. It works.

    Thank you very much for your help !

  5. Thanks for that response! I'm also wondering if you know how to center the header text? Thanks very much!

  6. This is the code I used to center the title and tagline:

    .site-description {
    text-align:center;
    }

    .site-title {
    text-align:center;
    }

  7. Thanks again!
    I have one more question regarding the "recent articles" section underneath the featured slider. Right now, only 3 articles are displayed. Is there any way to increase this amount using css? There are no options to achieve this in the current options.

  8. Right now, only 3 articles are displayed. Is there any way to increase this amount using css?

    There isn't a way to change the number of recent articles in the Oxygen theme on WordPress.com because it is coded in to the PHP code of the theme itself and WordPress.com does not offer an option to change PHP theme code.

  9. Btw, your blog looks fantastic! And there's already a lot going on for the home page, so I think the 3 recent posts highlights is generally a good number.

  10. Thanks very much! I think you're right about 3 highlights is good.
    Cheers,

    Mikayla

  11. worldvisionaustralia
    Member

    Hey @thesacredpath, I'm a long time listener, first time caller. I just used this little bit of CSS and wanted to say thanks - I often see your advice across the forums and I really appreciate it!

Topic Closed

This topic has been closed to new replies.

About this Topic