Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2012
    Posts
    53
    Plugin Contributions
    0

    Default Change font size site wide in abbington_mega template

    Hi Everyone

    I managed to do this quite easily in my old template, but I can't seem to fathom how to change it in this one. My font size is too small on the product listing category pages and sub category pages and the code I looked at was in stylesheet.css here:

    /*bof product listing*/

    .listingDescription {text-align:left;}
    .productListing-even {border:1px dashed #ccc;}
    .productListing-rowheading {background-image:url(../images/top-menu-bk.jpg);height:30px;color:#fffffd;text-transform:uppercase;}
    .productListing-rowheading a{color:#fffffd;}
    .productListing-rowheading a:hover{color:#ccc;}
    #productsListingTopNumber {margin-top:15px;margin-bottom:15px;}
    #productsListingBottomNumber {margin-top:15px;margin-bottom:15px;}
    #productListHeading {margin-bottom:15px;}
    .tabTable {border-left:1px solid #dfdfe7;border-right:1px solid #dfdfe7;border-top:1px solid #dfdfe7;}
    .productListing-data {border-bottom:1px dashed #ccc;}

    Now I tried adding to listingDescription {text-align:left; font-size: 14px} but this didn't work.

    I know I must be missing something, can someone point me in the right direction please? Here is a page with the font really small: http://gifts-and-collectables.biz/in...ndex&cPath=207

    I know I'll kick myself but right now, I'm

    Thanks in advance, Claire
    My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Change font size site wide in abbington_mega template

    Quote Originally Posted by clriding View Post
    Hi Everyone

    I managed to do this quite easily in my old template, but I can't seem to fathom how to change it in this one. My font size is too small on the product listing category pages and sub category pages and the code I looked at was in stylesheet.css here:

    /*bof product listing*/

    .listingDescription {text-align:left;}
    .productListing-even {border:1px dashed #ccc;}
    .productListing-rowheading {background-image:url(../images/top-menu-bk.jpg);height:30px;color:#fffffd;text-transform:uppercase;}
    .productListing-rowheading a{color:#fffffd;}
    .productListing-rowheading a:hover{color:#ccc;}
    #productsListingTopNumber {margin-top:15px;margin-bottom:15px;}
    #productsListingBottomNumber {margin-top:15px;margin-bottom:15px;}
    #productListHeading {margin-bottom:15px;}
    .tabTable {border-left:1px solid #dfdfe7;border-right:1px solid #dfdfe7;border-top:1px solid #dfdfe7;}
    .productListing-data {border-bottom:1px dashed #ccc;}

    Now I tried adding to listingDescription {text-align:left; font-size: 14px} but this didn't work.

    I know I must be missing something, can someone point me in the right direction please? Here is a page with the font really small: http://gifts-and-collectables.biz/in...ndex&cPath=207

    I know I'll kick myself but right now, I'm

    Thanks in advance, Claire
    Do you not use FireBug, or Web Developer by Chris Pederick?

    If you did you would find these elements within a few seconds.

    Use firefox browser, and get these web tool plugins.
    20 years a Zencart User

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Change font size site wide in abbington_mega template

    Try adding this to the end of youyr stylesheet and adjust size to suit
    Code:
    centerBoxContentsProducts a {
             font-size: 20px 
            }
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Feb 2012
    Posts
    53
    Plugin Contributions
    0

    Default Re: Change font size site wide in abbington_mega template

    Thanks for that. I will head over there now and get them. I didn't realise they could resolve this type of issue as I'm not that up on programming. Regards. :)
    My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

  5. #5
    Join Date
    Feb 2012
    Posts
    53
    Plugin Contributions
    0

    Default Re: Change font size site wide in abbington_mega template

    Quote Originally Posted by kobra View Post
    Try adding this to the end of youyr stylesheet and adjust size to suit
    Code:
    centerBoxContentsProducts a {
             font-size: 20px 
            }
    Hi there, I've just tried that but it doesn't work. Perhaps there is a bug as 'Schoolboy' suggested?? This should be something really simple I know haha,
    My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,166
    Plugin Contributions
    11

    Default Re: Change font size site wide in abbington_mega template

    Your category description was probably done with an editor that added font calls to the p tag. This is what we see with a page view of the page source.
    HTML Code:
    <span class="st_facebook_vcount" displaytext="Facebook"></span>
    <span class="st_twitter_vcount" displaytext="Tweet"></span>
    <span class="st_email_vcount" displaytext="Email"></span>
    <p>
       <font face="tahoma, arial, helvetica, sans-serif">
          <br>
       </font>
    </p>
    <blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;">
        <p>
          <font face="tahoma, arial, helvetica, sans-serif">
             Passion  demands Romantic gestures, never an easy thing to find!  Gifts-and-Collectables.biz have gathered all our recommended Valentine's  gift ideas in one place.
          </font>
        </p>
    </blockquote>
    <p>
       <font face="tahoma, arial, helvetica, sans-serif">
          <br>
       </font>
    </p>
    If you changed it to the following, the system stylesheet could automatically set the p tag to match the rest of your site.
    HTML Code:
    <p>
       Passion  demands Romantic gestures, never an easy thing to find!  Gifts-and-Collectables.biz have gathered all our recommended Valentine's  gift ideas in one place.
    </p>
    Gotta watch what those editors (internal or external) throw in the code.

  7. #7
    Join Date
    Feb 2012
    Posts
    53
    Plugin Contributions
    0

    Default Re: Change font size site wide in abbington_mega template

    Talk about not seeing what's right in front of my eyes!!

    The code I needed was at the top of the stylesheet so I was looking in the wrong place, for the wrong set of code! In case anyone else has this question, look for : body {margin: 0;font-family: verdana, arial, helvetica, sans-serif;font-size: 12px;color: #444;background: #ebecf0 url(../images/bk.jpg) repeat-x center top;}

    I knew it'd be simple really. Firebug for Firefox is brilliant - thanks for that tip Schoolboy!
    My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

  8. #8
    Join Date
    Feb 2012
    Posts
    53
    Plugin Contributions
    0

    Default Re: Change font size site wide in abbington_mega template

    Thanks for that, will do.
    My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

  9. #9
    Join Date
    Feb 2012
    Posts
    53
    Plugin Contributions
    0

    Default Re: Change font size site wide in abbington_mega template

    Quote Originally Posted by dbltoe View Post
    Your category description was probably done with an editor that added font calls to the p tag. This is what we see with a page view of the page source.
    HTML Code:
    <span class="st_facebook_vcount" displaytext="Facebook"></span>
    <span class="st_twitter_vcount" displaytext="Tweet"></span>
    <span class="st_email_vcount" displaytext="Email"></span>
    <p>
       <font face="tahoma, arial, helvetica, sans-serif">
          <br>
       </font>
    </p>
    <blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;">
        <p>
          <font face="tahoma, arial, helvetica, sans-serif">
             Passion  demands Romantic gestures, never an easy thing to find!  Gifts-and-Collectables.biz have gathered all our recommended Valentine's  gift ideas in one place.
          </font>
        </p>
    </blockquote>
    <p>
       <font face="tahoma, arial, helvetica, sans-serif">
          <br>
       </font>
    </p>
    If you changed it to the following, the system stylesheet could automatically set the p tag to match the rest of your site.
    HTML Code:
    <p>
       Passion  demands Romantic gestures, never an easy thing to find!  Gifts-and-Collectables.biz have gathered all our recommended Valentine's  gift ideas in one place.
    </p>
    Gotta watch what those editors (internal or external) throw in the code.
    Yes I am starting to learn that haha, thanks alot.
    My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

  10. #10
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Change font size site wide in abbington_mega template

    Quote Originally Posted by clriding View Post
    Yes I am starting to learn that haha, thanks alot.
    I just wanted to say that in the future if you have any questions about the template you should post to the support thread here and not create a separate thread. This way it might be easier for others with the same question to find the answer:

    http://www.zen-cart.com/showthread.p...Support-Thread



    Thanks,

    Anne

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Customizing Abbington_Mega Template issue
    By swdynamic in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Apr 2013, 06:23 PM
  2. 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
  3. Font size wont change
    By plsony in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 1 Aug 2011, 11:48 AM
  4. Change the site wide email address
    By LadyBubs in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2007, 10:16 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