Forums / Templates, Stylesheets, Page Layout / Can't get rid of some blue links

Can't get rid of some blue links

Locked

Started by schwimwastaken on 3 Aug 2006, 9:44 PM · Views: 5,989

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
3 Aug 2006, 9:44 PM
#1
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Can't get rid of some blue links

Hi there guys,

If you'll look at the attached image, you'll see what I'm talking about, but in the side boxes, the links are blue until you hover over them then they turn white. I'm trying to turn the blue links into white, but after changing every reference I can find for links, I've still got the blue links.

Can someone tell me where to look, and what name to look under to change this?

thanks,
json

4 Aug 2006, 2:31 AM
#2
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

Well guys, I'm completely and utterly stumped.

I opened EVERY .css file I could find between default and classic(including print stylesheets), then I took a snapshot of the page and used a colorpicker in gimp to get the html color codes from the links. I then searched all of the stylesheets for the color codes I found, and replaced everything with "#ffffff".

I still have blue links for unvisited pages, some links are white once their visited, and some are purple. I've attached a snapshot to show you the view while on the shopping cart page. It seems that some links don't call to the stylesheet at all, and some have a reference for visited and hover, but not new links. You'll see that the shipping link is white. It's been clicked, and that's it's visited color. When I hover over them, the policy pages turn white as well. The link in the shopping cart block gets a white underline when I hover over it, but the text stays purple(it was blue before I clicked on it).

Is there a location that I can edit the blocks themselves to use another .css reference?

I have a lovely and hard working four year old that I will give to the person that can help me figure this out. She's a hard worker and she doesn't eat much.

thanks,
json

4 Aug 2006, 2:52 AM
#3
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

URL ? If you give a URL one of us with the Firefox web developers toolbar could probably help you a lot easier :yes:

Also - that is really a GREAT tool if you don't have it. Firefox Broweser with the web developers tool bar :thumbsup:

Oh and by the way - I'll help but you can keep the 4 year old - mine are far away from that age now and I dunno if I could handle another lil one :no:

When the world gets in my face I say Have A Nice Day.

4 Aug 2006, 3:01 AM
#4
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

:blink:

I'm really sorry. I thought I added the link already..

http://www.heavenlysouffle.com/shop

I use the FF toolbar, but obviously not to it's potential ;)

thanks very much for your help, and thanks for letting me keep the little one. My wife would get pretty mad. We've got a lot of money invested in her :D

thanks,
json

4 Aug 2006, 3:12 AM
#5
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

OK here's the thing json...

The blue is coming from the links code in your style sheet.

When I edit your stylesheet_new in this area :
a:link, #navEZPagesTOC ul li a {
color: #3300FF;
text-decoration: none;
}

a:visited {
/color: #3300FF;/
text-decoration: none;
}

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

It is changing those colors
When I edit this :

A {
color: #ffffff;
text-decoration: underline;
}

A:hover {
color: #ffffff;
text-decoration: underline;
}

In stylesheet original nothing happens.

This is using the css edit in Firefox so it isn't live of course but it lets me see what is going on.

I suggest you edit the upper codes in the stylesheet_new and see if that fixes your problem.

When the world gets in my face I say Have A Nice Day.

4 Aug 2006, 3:27 AM
#6
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

Hi there Tina,

I've attached my _new stylesheet as a txt file. I'm working in the classic directory, since _default doesn't have a stylesheet_new. I searched for the old color codes and can't find them, so that means one of two things are happening:

  1. I'm working in the wrong directory
  2. the cart caches the pages and it's not updating

I don't think it caches, so it's got to be that I'm editing in the wrong directory, I think. I may have missed something in the stylesheet, but I'm pretty sure all of the linking references have been changed.

If you could let me know which directory that stylesheet is in, and if you see something I missed in the stylesheet, it would be appreciated.

Thanks very much for your help,
json

4 Aug 2006, 3:39 AM
#7
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

You are in the right directory - I cut and paste right out of the css that I am getting fed and as I said when I edited the lines that I pasted they affected your links. They are in the css for stylesheet_new in the classic folder - almost at the very top.

Is that any help?

When the world gets in my face I say Have A Nice Day.

4 Aug 2006, 3:47 AM
#8
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

Sorry, I forgot to attach the file :no:

Here's the file(this time I mean it), and you'll see that the sheet is set to hold all links as "ffffff". I've viewed the file directly on the server through FTP, so I am sure that the copy on the server is like this as well.

I really have no idea why it's not working.

thanks,
json

4 Aug 2006, 4:08 AM
#9
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

a:visited {
/color: #ffffff;/
text-decoration: none;
}

Could this be it ? The color element on this line is commented out - are the pages visited to you ?

When the world gets in my face I say Have A Nice Day.

4 Aug 2006, 4:15 AM
#10
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

Hi there Tina,

The pages that I'm seeing as blue are pages I have NOT visited. The purple links on the right of the page are visited links, and I'll uncomment the line to see if I can solve that problem.

thanks,
json

4 Aug 2006, 4:27 AM
#11
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

Hi there Tina,

I shift-reloaded, and All of the links on the left side of the page are they color they are supposed to be... Yay!

The only problem that is refusing to go away is the cart block on the right. Although I uncommented the visited code in _new, it's still showing as purple, even after a forced refresh.

Could you add a product into the cart, and see what colors that link shows up for you as?

thanks,
json

4 Aug 2006, 4:46 AM
#12
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

When I add a product I get a kind of green link color for the product in my cart. Is that what you want it to be ?

When the world gets in my face I say Have A Nice Day.

4 Aug 2006, 4:49 AM
#13
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

hehe, wasn't what I wanted, but I'll take it over purple :)

What color is it after you have clicked it once?

thanks,
json

4 Aug 2006, 4:51 AM
#14
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

That;s when it turn purple on me :(

And I too had to do a forced refresh to get the white links.

When the world gets in my face I say Have A Nice Day.

5 Aug 2006, 2:06 AM
#15
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: Can't get rid of some blue links

Hi there Tina,

I think I got it figured out, and just wanted to say thanks very much for all of your help. I really appreciate it, and as well, I've begun looking into using the developer's toolbar more, so thanks for that too!

thanks,
json

5 Aug 2006, 3:18 AM
#16
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can't get rid of some blue links

You are very welcome ! Glad you got it worked out :thumbsup:

When the world gets in my face I say Have A Nice Day.

17 Apr 2008, 3:02 PM
#17
nivek avatar

nivek

New Zenner

Join Date:
Apr 2008
Posts:
3
Plugin Contributions:
0

Re: Can't get rid of some blue links

TinaS, json,

I know this is an old thread. Thanks for the FF developers toolbar! I used it to show all the colors on the page, including "0000EE" and "0000FF".

I have changed all my link colors in my template css file to "FFFFFF".
I found remaining references to "0000FF" in /catalog/admin/includes/stylesheet.css (should NOT affect the catalog anyway).

I have removed ALL references to "0000FF" everywhere and still getting blue links when they have not been visited yet.

See my post here: http://www.zen-cart.com/forum/showthread.php?t=94865

Thanks, if you are still out there!

nivek