Sight Theme: How to center Slider and Navigation
-
Hey There!
I am currently changing my theme (from Adelle to Sight) and need some help regarding the new theme.
First, I desperately try to center the navigation bar and the slider below. As you can see on my blog, both elements are more on the left side of the screen….
I tried a couple of codes I found in the forum but none of them did work and I just don’t know why.
I hope somebody can help me with this!
Thank you in advance :)
Best wishes for the holidays and the New Year ahead
JuliaThe blog I need help with is: (visible only to logged in users)
-
Just asking … have you consulted the detailed theme description page here http://theme.wordpress.com/themes/sight/ and the live demo site here http://sightdemo.wordpress.com/?
-
Well, yes of course (?)
I already made a few adjustments but the codes I found about that aligning issues didn’t work and now I’m trying to figure out why. Do you have any ideas? -
Sorry I do not help with CSS editing but just wanted to be sure you were aware of the links I posted above. Another Volunteer or Staff will assist you as soon as they assist those who posted for CSS editing help before you did. Please be patient while waiting.
-
Yes, thank you very much :)
Before changing the theme I’ve read the pages you posted carefully. -
Okay then the only help I can offer while waiting is found at:
Custom design – Frequently Asked Questions
http://en.support.wordpress.com/custom-design/#frequently-asked-questions
http://en.support.wordpress.com/custom-design/
http://en.support.wordpress.com/custom-design/editing-css/
http://en.support.wordpress.com/custom-design/custom-fonts/Best wishes.
-
Hi Julia, to center the menu in Adelle, add
text-align: center;
to your .main-navigation rule in your CSS and then add the following also.main-navigation ul { display: inline-block; } -
Today, I changed my theme from Adelle to Sight because I wanted to include the post slider. Still trying to figure everything out… slowly but surely getting there :)
I inserted the following code and it is working perfectly. I think I missed the second part, that’s why it wasn’t working in the first place.
Thank you so much again for your input!
‘.main-navigation {
text-align: center;
}
.main-navigation ul {
display: inline-block;
}’ -
I mean:
.main-navigation { text-align: center; } .main-navigation ul { display: inline-block; } -
-
For the slider, add the following to the end of your custom CSS and see what you think.
.featured-wrapper { max-height: 360px; max-width: 100%; overflow: visible; } .featured-nav-wrapper { max-height: 360px; position: static; } .home #main { padding: 0; } -
Ok, this is far more complex than I thought. Everytime I think I figured it out, css keeps surprising me…
Thank you!
Best wishes -
- The topic ‘Sight Theme: How to center Slider and Navigation’ is closed to new replies.