|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|
|
Mayday
|
Centering nav bar tabs issues
I am having issues centering my nav bar (my tabs along the top under the header) with certain pages and certain themes, can anyone help with this? Also when I am on the wedding theme, I have a hard time seeing my tabs at the top, is there a way to changed the colors for the tabs just for that page?
Thanks in advance. Shawn www.lighttouchphoto.com |
|
|
|
|
#2
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
.menu {
position: relative;
display: block;
z-index: 99;
padding: 0px 0px 2px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container (div .menu) */
width: 740px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
_width: 755px; /* IE 6 takes into account borders */
margin: 0 auto 20px; /* auto should center navbar, if not tweak with left's below */
}
.menu ul li a,
.menu ul li a:visited {
display: block;
font-size: 1em; /* main buttons */
color: #F6D346; /* main buttons text non-hover*/
text-decoration:none;
text-align: center; /* centers text in buttons */
width: 90px; /* main box width */
height: 19px; /* main box height */
border: 1px solid #000; /* start your design with borders on, easier to position DD's & FO's */
border-width: 1px 1px 1px 1px;
background: none; /* main button color */
padding-left: 0px;
line-height: 15px; /* positions text up/down in box */
}
.category_Weddings .menu ul li a,
.menu ul li a:visited {
color: #042E91;
}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#3
|
|
|
Mayday
|
Now my "home" tab and my newsletter tab are blue and can't be read? Not sure if I did something wrong?
|
|
|
|
|
#4
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
.category_Weddings .menu ul li a,
.category_Weddings .menu ul li a:visited {
color: #042E91;
}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#5
|
|
|
Mayday
|
You are the man Allen....
|
|
|
|
|
#6
|
|
|
Mayday
|
Allen, I tried to copy the code you did for me for another category called Family Portraits and put this code in like you did for the wedding page but it didn't work for me?
Here is what I put: .category_Family Portraits .menu ul li a, .category_Family Portraits .menu ul li a:visited { color: #042E91; } Shawn www.lighttouchphoto.com |
|
|
|
|
#7
|
|
|
Major grins
|
Try this instead,
.subcategory_Family_Portraits_10 .menu ul li a, .subcategory_Family_Portraits_10 .menu ul li a:visited { color: #042E91; }
__________________
Nick Photographer: Katherine Stathes Web Designer: USMC Cpl Coffman, Nicholas J http://www.stathesquo.smugmug.com |
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| alignment issues | Digital Illusions | SmugMug Customization | 2 | Apr-05-2009 08:46 AM | |
| Tabs not working correctly on drop downs | smay120 | SmugMug Customization | 5 | Feb-27-2009 08:21 AM | |
| Around The World Issues | orange | SmugMug Support | 3 | Feb-18-2009 04:34 AM | |
| Shopping Cart Issues | bridgesphoto | SmugMug Support | 21 | Sep-07-2008 05:00 AM | |
| Trouble Centering Slideshow | heathers | SmugMug Customization | 5 | Apr-13-2008 07:06 PM | |
| Thread Tools | |
| Display Modes | |
|
|