Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #4570085
change H2 spacing
Closed

Comments

  • Livia started the conversation

    HI there.

    I would like to add 50px spacing above all H2 headers visible on all POSTS and PAGES. like so:

    h2 { margin-top: 50px;
    }


    However when I do this in the custom CSS it adds the spacing on the Blog Post Grid (which I do not want)

    Is this possible please?


  • Livia replied

    actually would this be correct?

    h2:not(.penci_grid_title):not(.item h2):not(.item-masonry h2) {
        margin-top: 50px;
    }
  •  3,123
    PenciDesign replied

    Hi,

    Yes, you can add 50px spacing above all H2 headings on posts and pages with the following custom CSS:

    .entry-content h2 {
        margin-top: 50px;
    }

     

    Please add it via Appearance → Customize → Custom CSS.

    Regards,
    PenciDesign.

  • Livia replied

    perfect, much cleaner, thank you!