How change color and size of the first paragraph ?

  • Author
    Posts
  • #71522

    pcarnicelli
    Member

    I want the first pararaph of all my pages are the same of the rest of the page.
    Now the first paragraph is bigger than the rest and the color is grey.

    The blog I need help with is media-competences.fr.

    #71638

    rezzap
    Staff

    Hello,

    You can change back to styling of the first paragraph by matching the styling of the first of type selector to the body style. To do so you would add the following CSS in the Custom Design or Custom CSS add-on:

    .article > p:first-of-type {
        color: #666666;
        font-weight: initial;
        font-size: 1em;
        line-height: initial;
    }

    Feel free to edit these as desired.

    Thank you,

    Rebecca

    #71719

    pcarnicelli
    Member

    Thank you !

    #71745

    rezzap
    Staff

    You’re welcome! :)

    Cheers,

    Rebecca

The topic ‘How change color and size of the first paragraph ?’ is closed to new replies.