hi Cristian, love the Street theme. i'm using it on my site, http://www.aaronjafferis.com, but would like to center the nav menu instead of aligning right. how do i change this? thanks.
navigation menu alignment
(6 posts) (3 voices)-
Posted 5 months ago #
-
Hey aaron,
First you have to css errors to the end of your style.css file:
.about {color: #282828;} .about a { text-decoration:underline; color:#cc0000; } .about a:hover{ text-decoration:underline; color:#282828; about a:visited{ text-decoration:underline; color:#cc0000;this should be something like this (notice the closing tags and the . on the last about)
.about {color: #282828;} .about a { text-decoration:underline; color:#cc0000; } .about a:hover{ text-decoration:underline; color:#282828; } .about a:visited{ text-decoration:underline; color:#cc0000; }After you fix this try and add this code
#branding{ width:960px; }And then upload a header image that is 960px wide. This way it will look a lot better then just centering it.
But if you still want it just centered add this:
#logo-image{ text-align:center; }Posted 5 months ago # -
thanks cristian. i implemented the fixes you mentioned, but the nav menu is still aligned right. just to clarify, by nav menu i mean the links in the red bar "shows, contact" etc. any assistance would be appreciated.
Posted 5 months ago # -
Ok... next time I'll try to read what people are asking :) I could have swearer you wanted the logo centered!
Add this code to the bottom of style.css:
.sf-menu{ position:absolute; left:50%; margin-left:-25%; }It works in Firefox, but I haven't checked it other browsers.
Posted 5 months ago # -
ah, that did the trick! thanks cristian!
Posted 5 months ago # -
I am trying to do the same thing, but that fix didn't work. It shifted everything farther right.
Also, is there anyway to center the text vertically now that I have increased the height of the menu bar?
Posted 4 months ago #
Reply
You must log in to post.