customize navigation bar with css
-
Hello;
I’m hoping to hear from you genius folks about some custom coding of my navigation bar.
first off, here’s the site – http://sstw.net/~aaron/
everything is placeholders for the moment. I’ve been able to change some aspects of the code (see below) but cannot get the upper nav-bar and header image to be full width or change the color of text (do I have to somehow override the body ‘color’ tag? If possible I’d also love a tip on removing the vert. lines btwn links.
Thanks in advancehere’s the custom code-
#header {
margin: 0 auto;
max-width: 1145px; /*or 100% */
font-size: 20px;
background-color: white;
padding: 0;
}.skip-container {
padding: 0;
}#menu-main-menu {
max-width: 1145px;
background-color: #336699;
margin: 0;
padding: 10px;
color: #ffff66;
font-family: verdana;
font-size: 20px;
font-weight: 700;
line-height: 1.5em;
vertical-align: middle;
} -
Hi,
Can you try deleting the indicated lines and adding the indicated CSS rules to your stylesheet.
#menu-main-menu {
width: 100%; – add this line
max-width: 1147px; – Delete this line
text-align: center; – add this line
padding: 10px; – Delete this line
padding-top: 10px; – add this line
padding-bottom: 10px; – add this line
}.top-menu {
float: right; – Delete this line
}#logo {
float: delete this line
margin: 0;
} -
This question is appropriate for Themes and Templates area of the WordPress.org forums :-)
This forum is exclusively for WordPress.com users so we cannot help you here.
In case you are unaware, please check the difference between WordPress.com and WordPress.org.
-
-
-
What I wrote will still work or a WordPress.org site.
No need to delete it.
Sorry I didn’t notice u were on self install.
- The topic ‘customize navigation bar with css’ is closed to new replies.