Hi just a quick question.
Is there any way to unbold the heading titles on every page?
In my stylesheet I can change the size of the text and even the font, but not the font weight. Is there a way to fix this??
Thanks
-jR
Hi just a quick question.
Is there any way to unbold the heading titles on every page?
In my stylesheet I can change the size of the text and even the font, but not the font weight. Is there a way to fix this??
Thanks
-jR
The <h1> through <h6> heading tags I believe, are all predefined to be bold.
I you want to define the Heading Titles with your own font-weight I'm guessing you'll need to define your own and then remove the <h1> tags whereever they appear in each and every tpl_xxxxxxxx.php file.
Or use the CSS to use font-weight: normal;
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
You can change all <h1> tags sitewide to be whatever font weight you want by changing or adding that to the base h1 {} declaration at the top of your stylesheet; or you can change the <h1> on specific pages by using selectors like
#loginBody h1 {}
to target them.
Add any such below the base h1 declaration.
But if I add - font-weight:normal; under h1 it doesn't prevent it from being bold. All H1 still stays bold, since I'm guessing font-weight in h1 isn't defined in the custom stylesheet.
With a link to your site we could tell exactly what is happening with your <h1>s and how to fix them.
Oops sorry
http://niagarasoap.brinkster.net/zencart
Also I'm having trouble getting rid of the white space above my temporary graphic in the main.php
I think it's related to the h1 heading that was there before I removed it.
Your help always appreciated guys.
You haveTheCode:h1 { font-size: 2em; font-family: Arial Narrow; text-align: left; color: #B08D00; text-weight: narrow; }
text-weight: narrow;
needs to be
font-weight: normal;
To get rid of the extra space above the graphic on your home page, add to your stylesheet:Code:h1 { font-size: 2em; font-family: Arial Narrow; text-align: left; color: #B08D00; font-weight: normal; }
h1#indexDefaultHeading {display: none;}
Last edited by gjh42; 31 Mar 2008 at 03:07 AM.
hey so the bold text thing worked fine, thankyou.
But I tried putting in
h1#indexDefaultHeading {display: none;}
and it didn't change the gap. Is there somewhere specific I have to put in that code??
There are several things contributing to that spacing.
h1#indexDefaultHeading {display: none;} will eliminate one, and
#indexDefaultMainContent p {padding-top: 0;} will eliminate another.
(The second would best be addressed by eliminating the useless <p> tag from your define_main_page.php.)