[Resolved] Change margin over h2, h3, etc only in the ones inside posts

Home Forums Support Change margin over h2, h3, etc only in the ones inside posts

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

    Hi,

    I would like to increase the top margin of the h2, h3, … But only in the ones used inside posts, could you please tell me how to do it? thanks!

    #1253091
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .single .site-content h2,
    .single .site-content h3,
    .single .site-content h4,
    .single .site-content h5,
    .single .site-content h6 {
        margin-top: 2em;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.