Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #219044

    I reset the body font to Kameron on the Stying page, but where do reset the font-size and line-height?

    #219099

    Hey akamaxbuz!

    Please add following code to Quick CSS in Enfold theme options under Styling tab and adjust as needed

    body { font-size: 16px; line-height: 180%; }

    Regards,
    Yigit

    #221835

    Hmm. I did what you said. I pasted body { font-size: 16px; line-height: 80%; } into the Quick CSS.
    Take a look at http://www.kennethbsmith.com/clients/abww/
    Seems I can control the font-size but not the line-height. Above I used line-height: 80%; so you would see that is not working. Seems to be stuck on line-height: 1.65em;
    Using FireBug I can not seem to grab the line-height.
    Any other suggestions?
    (I have been editing CSS for five years, so I find this baffling. But I like Enfold and want to understand the nuances. I also have been using your custom.css but not here so as to adhere to your suggestion.)
    Thanks.

    #221843

    Hi!

    Your custom.css is overriding the quick css:

    
    p {
        font-size: 1.2em;
        line-height: 1.65;
        margin: 0.85em 0;
    }
    

    Where one is on the body the others is specific to p and within a media query.

    Best regards,
    Devin

    #221849

    Wait. I see what I was doing wrong. I had set a style for <p>
    My bad.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Body font-size and line-height’ is closed to new replies.