Forums / Templates, Stylesheets, Page Layout / element for bold on tagline

element for bold on tagline

Locked

Views: 812

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 Oct 2010, 4:04 AM
#1
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

element for bold on tagline

Does anyone know which stylesheet element, or other code, is controlling the tagline (Sales Message Goes Here) being bold? The text is nested in a header h1 tag, which in turn is nested in a taglineWrapper division, which is nested in the logoWrapper division. I have checked and tested all of these in the stylesheet and am unable to determine what is controlling the bold on that text. I would like to be able to find this source of code so that I can modify it for my custom text for this area. As always, any ideas are appreciated. Thanks!

15 Oct 2010, 4:29 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: element for bold on tagline

url ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Oct 2010, 4:57 AM
#3
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: element for bold on tagline

Thanks for your reply.
http://www.vintage-adventures.com/
I have learned how to change that text, uses different header sizes, align it differently, etc. But I have yet to discover which stylesheet element is making it bold. Total mystery, at least to me.

15 Oct 2010, 6:24 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: element for bold on tagline

Since you've got the text inside an H1 tag, that's what it's inheriting the bold text from. (Because H1 by default is bold, even if not specified in your stylesheet.)

You can either take out the H1 from your language file, or you can use CSS to override the bold:```
#tagline h1 {font-weight: normal;}

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Oct 2010, 6:40 AM
#5
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: element for bold on tagline

Thanks so much for your assistance. I should have figured that h tags are rendered bold by browsers -- I missed the obvious there!
thanks also for snippet of code that will allow me to work around it w/o too much slicing and dicing.

15 Oct 2010, 6:49 AM
#6
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: element for bold on tagline

update: just a thought -- I should probably stay away from changing the defaults for the H tags, don't you think? They may be needed elsewhere in the store or in the future? I don't mind making lots of changes to just the tagline, though, to make it smaller, non-bold, etc. Well, I guess it doesn't matter, if anything needs returned to default, it's not too difficult either way.