0
Welcome Guest! Login
0 items Join Now

Line-height in .css

  • Line-height in .css

    Posted 14 years 8 months ago
    • Ben Harold's Avatar
    • Ben Harold
    • Sr. Rocketeer
    • Posts: 231
    • Thanks: 1
    • Freelance Developer

    Re: Line-height in .css

    Posted 14 years 8 months ago
    • Which editor are you using? Are you talking about the line-height in the actual editor itself or are you referring to the content that you create with the editor?
  • Re: Line-height in .css

    Posted 14 years 8 months ago
    • I'm using JCE.
      I have some articles in my website but they don't have the line-height that i want.
      From now on, i want to create some article, and have a line-height per default.
    • "The smart woman is not one that have a big knowledge, but rather the woman with little knowledge do so much."

      How to get a help quicker:
      www.rockettheme.com/forum/index.php?f=15..._v=viewtopic#p773136
    • Ben Harold's Avatar
    • Ben Harold
    • Sr. Rocketeer
    • Posts: 231
    • Thanks: 1
    • Freelance Developer

    Re: Line-height in .css

    Posted 14 years 8 months ago
    • So, what you actually want to do is deeper than the editor. You can set the default line-height of every article on your site (including those which are already written) by adding the following to your template.css file (replacing 1.5 with whatever line-height you desire):
      .rt-article-content {line-height:1.5em;}
  • Re: Line-height in .css

    Posted 14 years 8 months ago
    • Ben Harold's Avatar
    • Ben Harold
    • Sr. Rocketeer
    • Posts: 231
    • Thanks: 1
    • Freelance Developer

    Re: Line-height in .css

    Posted 14 years 8 months ago
    • I always recommend making additions to the very end of the template.css file, under your own comment, something like:
      /* my changes */
      .rt-article-content {line-height:1.5em;}
      That way you can easily tell what you've done vs. the standard template layout.
  • Re: Line-height in .css

    Posted 14 years 8 months ago

Time to create page: 0.060 seconds