How can I center my main navigation menu in Oxygen theme?
-
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: (visible only to logged in users)
-
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
-
Give this a try.
.main-navigation { text-align: center; width: 100%; } .main-navigation ul { display: inline-block; } -
-
Thanks for that response! I’m also wondering if you know how to center the header text? Thanks very much!
-
This is the code I used to center the title and tagline:
.site-description {
text-align:center;
}.site-title {
text-align:center;
} -
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. -
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.
-
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.
-
-
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!
- The topic ‘How can I center my main navigation menu in Oxygen theme?’ is closed to new replies.