View Full Version : CSS Tag for main body text in product des.
BrianCurtis
07-Nov-2008, 06:29 PM
CSS Tag for main body text in product descriptions.
Hi all,
It's been ages since I amended the main body text throughout the website and I just did a view source on the page it shows the text with a span of actxsmall. So, I changed the colour in the CSS style sheet for .actxsmall which is definitely linked and the colour hasn't changed, it's still white?
I looked in the standard Colours settings where the template choice etc comes up and there is no choice for white text (ffffff) apart from on the Aplet Text choice so i am dead confused as I can't find where the layout is pulling the white colour from?
I had a look at the Product_line template and I have hard-coded into that <span=actxsmall> too so would have thought it would pick up the CSS?
I know this is gonna be real simple, but I can't see it right now!
Any ideas please?
Thanks :)
Beej
Darren B
07-Nov-2008, 06:41 PM
Looks grey to me, online that is, have you refreshed your browser about 30million times
BrianCurtis
07-Nov-2008, 07:28 PM
Well that's odd cos I haven't uploaded the amendd CSS file yet? Where are you reading?
Beej
Duncan Rounding
07-Nov-2008, 08:07 PM
Grey for me too. This is what's online at the moment:
.actxsmall {
color:#CCCCCC;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
}
BrianCurtis
07-Nov-2008, 10:01 PM
Grey for me too. This is what's online at the moment:
.actxsmall {
color:#CCCCCC;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
}
I can't see that anywhere in my CSS? Where are you finding this?
Thanks
Beej
Rich Brady
07-Nov-2008, 10:19 PM
I think you have .actxsmall referenced in two stylesheets:
.actxsmall {actinic.css (line 82)
color:#CCCCCC;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
and
.actxsmall {aba_oi_08.css (line 87)
color:#777777;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
Which Stylesheet have you been changing?
Darren B
07-Nov-2008, 10:25 PM
confusion reigns :D
evening Rich
Rich Brady
07-Nov-2008, 10:32 PM
Hello Darren... I think he's gone to bed.
Darren B
07-Nov-2008, 10:36 PM
And thats were im off too, got work in the morning so need the old shut eye
BrianCurtis
07-Nov-2008, 10:46 PM
Hey - I'm still here! :)
BrianCurtis
07-Nov-2008, 10:48 PM
.actxsmall {aba_oi_08.css (line 87)
color:#777777;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
This is the one I have been changing. It's dooin my noggin in now! :)
Beej
Looks grey to me, online that is, have you refreshed your browser about 30million times
I think you have .actxsmall referenced in two stylesheets:
.actxsmall {actinic.css (line 82)
color:#CCCCCC;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
and
.actxsmall {aba_oi_08.css (line 87)
color:#777777;
font-family:'Trebuchet MS',Trebuchet,Helvetica,sans-serif;
font-size:12px;
line-height:15px;
Which Stylesheet have you been changing?
BrianCurtis
07-Nov-2008, 10:49 PM
me too :p :D
Hehe :)
Why do the easy things ALWAYS get me!
LOL
Beej
TraceyHand
07-Nov-2008, 10:50 PM
haha..I was just editting that message and now I got all confused with too many tabs open etc
ho hum
Actinic has been challenging ALL of us this evening, I think...ain't that right, Rich?
Well, not ALL of us. Some people have been to the pub, lazing around all evening (eh, Darren? :p )
Rich Brady
07-Nov-2008, 10:51 PM
The Actinic CSS seems to be overriding it... Make the change in actinic.css and see what you get.
BrianCurtis
07-Nov-2008, 10:52 PM
hehe, alright fo sum eh! ;)
OK< look at thgis page
http://www.organicimage.com/acatalog/airbrush_art_materials_whats_new.html
If you hit refersh you can see )for a second) that the text goes to the darker color and then flashes back to the lighter color? Weird . .
Beej
Rich Brady
07-Nov-2008, 10:52 PM
Actinic has been challenging ALL of us this evening, I think...ain't that right, Rich?
I don't know what you mean... ;)
BrianCurtis
07-Nov-2008, 10:52 PM
The Actinic CSS seems to be overriding it... Make the change in actinic.css and see what you get.
OK bud, I'll give that a go now . . .
ta
Beej
BrianCurtis
07-Nov-2008, 11:04 PM
OK bud, I'll give that a go now . . .
ta
Beej
WEIRD! That worked! How come the un-references Actinic.css is still being pulled for code? I know that the new .css file I use is working as I added the Firewroks code to this for my left-hand menus?
Hmmm . . all I gotta decide now is, wether or not the damn colour has gone TOO dark!? Hehe, decisions eh! Can you read it OK? Do you think it's gone a tad too dark with #777777
Gotta hit the sack soon! Thanks for your help on that :)
Beej
Duncan Rounding
08-Nov-2008, 05:44 AM
It's should be due to inheritance - the order in which rth estyles are being used. If you check in Firefox with Firebug you will see the inheritance.
If it was me I would lighten up the background and then adjust the text for the best contrast for viewing. It is always difficult to read any text on a very dark background, whatever text colour you choose will be a compromise.
That said I do think that the current 777777 grey is softer on the eye than CCCCCC.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.