Forums / Addon Templates / Can't change text colour in Flowers Template

Can't change text colour in Flowers Template

Locked

Views: 3,653

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
26 Apr 2009, 12:53 PM
#1
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Can't change text colour in Flowers Template

Hi,

I have searched but cannot find an answer. I am using v1.3.8 and I have installed the Flowers Template. I am working on my site on my PC before I risk uploading it. (I was building my own template but gave up!)

I've been through the stylesheet, line by line, to change the text colour from orange to the dark blue colour I want to use. I have also changed to a different 'hover' colour.

My problem is that in the 'Categories' box it all works fine but in every other sidebox the text colour is a bright blue that I cannot find anywhere in the stylesheet. So I cannot work out how to change it. I am using the tool that shows up style information as well so I know I am not missing something in the stylesheet. The bright blue also shows up on the item pages themselves.

The blue is the one used for links in the 'Classic' template so is it something to do with that? I am still very new to this so any help will be greatly appreciated.

26 Apr 2009, 12:59 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Ta,
A link to the site please so I can view your site in Moxilla Firefox browser..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

26 Apr 2009, 1:01 PM
#3
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

It's at localhost on my PC so I don't think I can send a link?

26 Apr 2009, 3:24 PM
#4
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

I've also just realised that a lot of the text in the main part of the page has changed to white. As I am using a white background it means the text cannot be read. But I still cannot find it in the stylesheet.

I had hoped using a template would make this easier:blush:

26 Apr 2009, 3:45 PM
#5
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Found how to sort the white text now - line 16 in the stylesheet. Think I've been looking at it too hard trying to solve my original problem.

Still cannot find the bright blue color though....:dontgetit

26 Apr 2009, 3:47 PM
#6
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

download a copy of Firefox browser and install the Firebug addon.

It will save you hours as it can inspect each element on a page and pinpoint the exact line in your CSS file that is controling the properties. It even lets you edit the CSS live on the site, to see what effects they'd have before changing the file.

26 Apr 2009, 4:35 PM
#7
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Thank you but I've got that - that's why I'm not able to find where to change the colour. It must be something else controlling it but I'm not clever enough to work it out.

It's the same bright blue as in the Classic template and even though I'm not using that template I changed the colour in that stylesheet just in case it would have an effect but it didn't. It seems to be the link text colour.

26 Apr 2009, 5:21 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: Can't change text colour in Flowers Template

If you are inspecting the actual link with Firebug, it will show the location that is controlling the color. Are you sure you didn't miss something in the list?

27 Apr 2009, 1:01 PM
#9
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Thank you for the responses so far. I suspect I am missing something simple but I can't work out what. The part in the stylesheet that is setting the text colours for my site says:

body{ margin: 0; padding: 0; text-align: center; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; color: #525d7d; background: #ffffff; }
a{ color: #525d7df; text-decoration: none; }
a:hover{ color: #9a2720; }

Any non-link text is the blue I want, if I hover over a link it is the red colour I want. But the colour on any text that is a link as well is the bright blue. I can't find that colour anywhere in the stylesheet. When I put my cursor over any link to see if I can work out where the blue is coming from the text changes to the red I am using for hovering. If you see what I mean?

Something, somewhere is telling my links to be bright blue text instead of the colour I want but I can't work it out. Could it be that I don't know how to use Firebug properly?
:(
Just realised I could do a print screen of the problem if that would help anyone to help me?

27 Apr 2009, 1:08 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Ta,
Yes, post a screen shot of the problem, most helpful

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

27 Apr 2009, 1:59 PM
#11
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

I put it in word and tried to upload it but it was too big for the forum. I have put it here http://www.theambercat.co.uk/Zen1.htm

27 Apr 2009, 2:16 PM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Ta,
To control this color you need to add a separate element to the stylesheet.css

Add this to the sheet:

#informationContent ul li a {color: #FF0000;}

  1. I highlighted red font is just to show you a change, use any color you like.
  2. Notice the path in your screen shct
  3. div id = informationContent, then there is a ul, then li, then a
  4. you can always on the right pane right mouse click, choose Edit Element style
  5. start the declaration process, like color, then tab give it a color

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

27 Apr 2009, 2:35 PM
#13
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

Thank you, it's a bit technical for me though :blush:

I added the line you sent to the stylesheet (changed the colour too) but all it did was change the text colour in the one sidebox and remove the hover colour, which is not a problem. But all the other text links throughout the site are still the bright blue.

I am still hoping to be able to find out what is controlling that colour throughout the template?

27 Apr 2009, 2:39 PM
#14
gjh42 avatar

gjh42

Black Belt

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

Re: Can't change text colour in Flowers Template

a{ color: #525d7df; text-decoration: none; }

You have too many digits in the hex color here - should be 6, you have 7.

27 Apr 2009, 2:57 PM
#15
tac11 avatar

tac11

New Zenner

Join Date:
Feb 2009
Location:
England
Posts:
25
Plugin Contributions:
0

Re: Can't change text colour in Flowers Template

:clap: Thank you so much! I knew it would be something simple but I just couldn't see it. It works now - I am so pleased. :clap: