Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252560

    I would like to use a specific font, size and colour for a section on the home page.
    At the same time, specify the line-height.

    How can I do that?

    Thanks.

    • This topic was modified 6 months ago by  jamesmac007.
    #254020

    Hi jamesmac007!

    You can add a class to your text, if its paragraph will go like so <p class"MY_CUSTOM_Class">.....</p> later on using custom css you can target that class and apply what’s needed.

     
    //CSS code 
    .MY_CUSTOM_Class{
        font-size: 22px //any size you want.
        color: #888; //any hex color
        line-height: 1 or in pixels 22px;
    }
    

    You could also assign an id to the section where you are inserting your content an be more specific.

    Best regards,
    David

    • This reply was modified 6 months ago by  David.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to set/create specific font and size’ is closed to new replies.