Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Nav bar/bread crumb question...

Nav bar/bread crumb question...

Locked

Views: 4,418

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
1 Jun 2006, 5:08 PM
#1
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Nav bar/bread crumb question...

I can't seem to get the first word in the bread crumb navigation to be the color I want it to be. I added this to the stylesheet and successfully changed the second (the default is the same color as the background, so I had to add this to change it), but the first one, though it shows the exact same thing when I look at it with the css viewer, will not show up in this color. Any suggestions?

a:link, #navBreadCrumb {
color: #d5b9e1;
text-decoration: none;
}

a:visited, #navBreadCrumb {
color: #d5b9e1;
text-decoration: none;
}

Here's the link:

http://www.sweetdigicreations.com/shoppe/index.php?main_page=product_info&cPath=65&products_id=215

Any help is appreciated! Thanks!

1 Jun 2006, 5:14 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

Looks like they are all lavender to me in FF and IE. Have your cleared your browser cache?

1 Jun 2006, 5:15 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Nav bar/bread crumb question...

Did you get this corrected?? I looked at your site just now and all BC's are the same color...is that not what you wanted?

1 Jun 2006, 5:22 PM
#4
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

Maybe I'm not using the proper terminology? What I'm looking at is when you're looking at a product, the second bar, the one that shows Home::Category Name::Item Name. I can't see anything but the last word now. Can you?

2 Jun 2006, 12:35 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Nav bar/bread crumb question...

Yes, those are the breadcrumbs, and I too see them in ff just fine. Don't know what your problem could be as you seem to be using ff too.

2 Jun 2006, 1:06 AM
#6
johnga avatar

johnga

Zen Follower

Join Date:
Oct 2005
Location:
San Francisco
Posts:
100
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

I see exactly what you are describing - if i click on a category, when I go to that page ie: home::freebies the word home has vanished into the header - the rollover makes it pop out. I am looking at your page in ff. I'm having the same issue. I settled for a selver color for now - it shows up on a white background like the categories box, and a dark background like the header, but I'm not happy with it. I'll be watching for someone's help too -
John

2 Jun 2006, 1:44 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Nav bar/bread crumb question...

Your link came up with all parts of the breadcrumbs visible; but when I navigated to a product I could see the problem.

Links which have been visited are appearing in the same color as your background. They do not do this until they have been explicitly visited. This narrows the field considerably - we need to find an "a:visited" class with color definition the same as your bg.
Checking....

2 Jun 2006, 2:17 AM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Nav bar/bread crumb question...

These are all the relevant instances of color settings in your stylesheets, in order:

body {
color: #916E9C;

a:link, #navBreadCrumb {
color: #d5b9e1;

a:visited, #navBreadCrumb {
color: #d5b9e1;

a:visited {
color: #916e9c;

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #eee4cb;

a:hover, .category-top {
color: #d5b9e1

So breadcrumb links are not otherwise specified and use the basic link colors, ending up with visited being the same (#916E9C) as body color, which is appearing as the breadcrumb background.

You define a:visited twice, and only the last one sticks.
You also define a:hover twice, and it ends up the same color as a:link.

Change those definitions as you wish to get visible colors; just be aware of where else links might be used without more detailed specification, as they will change too.

3 Jun 2006, 1:15 PM
#9
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

Okay, I'm not a total newbie, but I am learning as I go. I thought by adding the #navBreadCrumb behind it, I was specifying that I only wanted to affect those links. Is that not what I did? If not, can I do it? If that's what you're telling me in your post, I'm sorry, I'm feeling a little dense this morning :) .

Thanks for your help!

3 Jun 2006, 1:59 PM
#10
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

Your syntax is not quite right.

a:link, #navBreadCrumb a:link {
color: #d5b9e1;

a:visited, #navBreadCrumb a:visited {
color: #d5b9e1;

This is a good resource: http://www.w3schools.com/css/default.asp

3 Jun 2006, 2:02 PM
#11
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

So, if I only want to change the colors in the Bread Crumb bar, it would be

#navBreadCrumb a:link {
color: #d5b9e1;

#navBreadCrumb a:visited {
color: #d5b9e1;

? Or is what you gave me the correct code for changing only that part?

Thanks so much!

3 Jun 2006, 2:05 PM
#12
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Nav bar/bread crumb question...

You are correct.