Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2008
    Posts
    28
    Plugin Contributions
    0

    help question Heading Title always bold

    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

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Heading Title always bold

    Quote Originally Posted by niagarasoap View Post
    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.

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Heading Title always bold

    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.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Heading Title always bold

    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.

  5. #5
    Join Date
    Mar 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Heading Title always bold

    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.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Heading Title always bold

    With a link to your site we could tell exactly what is happening with your <h1>s and how to fix them.

  7. #7
    Join Date
    Mar 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Heading Title always bold

    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.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Heading Title always bold

    You have
    Code:
    h1 {
    	font-size: 2em;
    	font-family: Arial Narrow;
    	text-align: left;
    	color: #B08D00;
    	text-weight: narrow;
    	}
    The
    text-weight: narrow;
    needs to be
    font-weight: normal;
    Code:
    h1 {
    	font-size: 2em;
    	font-family: Arial Narrow;
    	text-align: left;
    	color: #B08D00;
    	font-weight: normal;
    	}
    To get rid of the extra space above the graphic on your home page, add to your stylesheet:

    h1#indexDefaultHeading {display: none;}
    Last edited by gjh42; 31 Mar 2008 at 03:07 AM.

  9. #9
    Join Date
    Mar 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Heading Title always bold

    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??

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Heading Title always bold

    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.)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h H1 page heading is not showing the correct title or heading
    By AvaAdorn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2012, 01:39 AM
  2. Bold Title
    By expensivedesign in forum Basic Configuration
    Replies: 4
    Last Post: 10 Apr 2010, 04:48 PM
  3. Heading Title/NavBar Title Not displaying 'Welcome' message
    By Twaddle in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2009, 05:33 PM
  4. My title always changes if i have products!! I want a static title for categories
    By soskuthy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Mar 2009, 11:15 PM
  5. bold sidebox heading
    By wagnerguy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Dec 2008, 12:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg