Adding CSS Styles to Articles in Joomla

Discussion in 'HTML & Website Design' started by tlshaheen, Aug 10, 2009.

  1. #1
    I want to add my own CSS Styles to my articles, meaning I want to be able to make some text "bodyText" and other text "quote" etc. but I can't seem to figure out where to put the CSS to do so. For example, I've got my css for bodyText as
    
    .bodyText {
       font:11px Arial, Helvetica, sans-serif;
       color:#666666;
       line-height:20px;
       margin-top:0px;
    }
    
    Code (markup):
    but I can't find which css file to put it in so that when I'm editing/creating an article in Joomla, bodyText shows up as a style to choose from.
     
    tlshaheen, Aug 10, 2009 IP
  2. headworker

    headworker Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can put css code in any .css file and can use that for your article text. OR
    You can use that as follows..

    <span style="font:11px Arial, Helvetica, sans-serif;color:#666666;line-height:20px;margin-top:0px;">

    article text....
    article text....
    article text....

    </span>
     
    headworker, Aug 10, 2009 IP