• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Centering nav bar tabs issues

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Nov-22-2011, 11:52 AM
#1
smay120 is offline smay120 OP
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
Old Nov-22-2011, 12:35 PM
#2
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by smay120 View Post
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
Make the red changes
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;
}
Old Nov-22-2011, 03:30 PM
#3
smay120 is offline smay120 OP
Mayday
Now my "home" tab and my newsletter tab are blue and can't be read? Not sure if I did something wrong?
Old Nov-22-2011, 03:34 PM
#4
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by smay120 View Post
Now my "home" tab and my newsletter tab are blue and can't be read? Not sure if I did something wrong?
My oops, forgot the category specific in part of this
Code:
.category_Weddings .menu ul li a, 
.category_Weddings .menu ul li a:visited {
     color: #042E91;
}
Old Nov-22-2011, 03:43 PM
#5
smay120 is offline smay120 OP
Mayday
You are the man Allen....
Old Nov-23-2011, 06:04 PM
#6
smay120 is offline smay120 OP
Mayday
Quote:
Originally Posted by smay120 View Post
You are the man Allen....
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
Old Nov-23-2011, 06:29 PM
#7
urbancowboy0914 is offline urbancowboy0914
Major grins
urbancowboy0914's Avatar
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

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump