Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default change font weight?

    Hi

    I am bust customising yet another zencart installation and I am trying to figure out how to change the font weights in various places, in particular the 'welcome guest.....' text on the home page and all the headings in the side and centre boxes - such as Home, Login, New Products for xxxxxxx. I think that these fonts are a little heavy and chunky!

    Please can someone show me the way to do this before my head explodes!

    I thank you all!!!

    Rob
    if elephants could fly, I'd be a little more optimistic....

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

    Default Re: change font weight?

    Find the class or id that applies to the element in question, and add

    font-weight: normal;

    or whatever to its declaration in the stylesheet. If it is not explicitly listed in the stylesheet, add a new declaration.

    To find the correct class/id, you can view source and see what tag occurs just before the text output, or use the Firefox Web Developer's Information > Display Element Information button and click on the element.

  3. #3
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: change font weight?

    Thanks Glenn - useful reply.

    I managed to change the header fonts in stylesheet but I can't seem to find where to change the font weight on the "Welcome......" text. I know where to change the wording itself but not the font weight.

    Any further help with this specific text would be very helpful.

    Cheers

    Rob
    if elephants could fly, I'd be a little more optimistic....

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

    Default Re: change font weight?

    h2.greeting {font-weight: normal;}

    will fix that.

  5. #5
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: change font weight?

    Thanks again Glenn

    That sorted it. :)

    Cheers

    Rob
    if elephants could fly, I'd be a little more optimistic....

  6. #6
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: change font weight?

    Quote Originally Posted by gjh42 View Post
    h2.greeting {font-weight: normal;}

    will fix that.
    I can't find this. I've looked on both the includes/langauges/english/index.php file and the stylesheet.css file.

    If it makes a difference, I'm using the cherry_zen style sheet.

    Thanks!

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

    Default Re: change font weight?

    You need to add this to your stylesheet.

  8. #8
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: change font weight?

    Quote Originally Posted by gjh42 View Post
    You need to add this to your stylesheet.
    I tried that, and it changes the wrong thing. So maybe we are talking about 2 different "welcomes" on the main page. I am wanting to change the font size & color of the "welcome" that is on the index php. I followed the directions to put in my text, but can't find where to change the style. Here's that part on the bottom of the index.php file:

    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'The place to shop for Art-o-licious Goodies');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'The place to shop for Art-o-licious Goodies');
    }

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

    Default Re: change font weight?

    A link to your site would let us give the exact answer for your text.

  10. #10
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: change font weight?

    Quote Originally Posted by gjh42 View Post
    A link to your site would let us give the exact answer for your text.
    http://www.tracibunkers.com/zen/

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 change font style but font it isn't on pc how to do?
    By giuly in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Mar 2014, 02:58 PM
  2. v151 Tare Weight / Maximum Package Weight Functionality Change Help
    By jbible in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 17 Jan 2013, 07:17 PM
  3. Change font in template with custom font?
    By bobmundo123 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Jul 2012, 07:55 PM
  4. How can I change Font-weight from Bold to Italic?
    By ttmb33 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Sep 2009, 11:30 PM
  5. How can i change the font-weight on titles?
    By bluealice in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Oct 2007, 12:46 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR