Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2010
    Location
    Battle Creek, MI
    Posts
    124
    Plugin Contributions
    0

    Default Stylesheet CSS Question about font sizes

    I am wondering if there is some sort of compiled list of stylesheet commands with their descriptions? This is the issue I am having... My preferred editor is TinyMce, when I enter product descriptions, regardless of the font I choose, it defaults to what appears to be a "10" and us old, blind people have trouble reading it. If I select the text and change the font size, nothing changes... I'm wondering if there is a command, variable, option within a given stylesheet to set the font size for a 12 or 14 point and hence override the font size within the editor?

    Any thoughts?

    Thanks,

    N

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

    Default Re: Stylesheet CSS Question about font sizes

    There are lots of things already set in the stylesheet, but there are even more class or id tags provided in the HTML output but not used yet in the stylesheet.
    Every template will have its own custom stylesheet, so the best way to find what is currently styled and what can be styled is to install Firefox and its Web Developer and Firebug extensions. These will let you look up information for any page element, and try different styling and see the effect in real time.

    One of the basic style settings is in the body{} rule at the top of (most) stylesheets, where font-size is defined as a percentage. Increase that to increase font sizes throughout your site.

  3. #3
    Join Date
    Mar 2010
    Location
    Battle Creek, MI
    Posts
    124
    Plugin Contributions
    0

    Default Re: Stylesheet CSS Question about font sizes

    Thanks, that didn't seem to help though... it appears that the font size embedded in the product description overrides that which is in the stylesheet. I was hoping to not have to go through every product description individually to adjust the font size... oh well.. onwards and upwards...

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

    Default Re: Stylesheet CSS Question about font sizes

    Stylesheet rules can override inline styling if you add !important to the property value.

    #whatEver {font-size: 1.2em !important;}


    You do need to have a handle (class/id/element/tag) to address the inline-styled element by. This could be
    #productDescription font {}

 

 

Similar Threads

  1. Question about the differnet image sizes in filenames SMALL MED etc
    By creamcrackers in forum General Questions
    Replies: 10
    Last Post: 16 Jul 2012, 03:22 PM
  2. problem changing font in Stylesheet CSS
    By zshopa in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Feb 2010, 09:27 AM
  3. Question On stylesheet.css
    By kraiton in forum General Questions
    Replies: 4
    Last Post: 24 Jan 2009, 04:36 PM

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