Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #875945
    robotpants
    Participant

    Hello!

    So it looks like the custom headline has a lot of padding on the top of it. I’d love to know if there’s a way to remove that or change it with CSS. I can’t seem to find the class that controls it.

    Link and image in next post!

    #875948
    robotpants
    Participant
    This reply has been marked as private.
    #876308
    Christian
    Moderator

    Hey there,

    Headlines, out of the box and by design has a top margin (see attachment). To eliminate that top margin site-wide, please add the code below in your Appearance > Customize > Custom > CSS.

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        margin-top: 0 !important;
    }

    For a case by case basis, add margin-top: 1.75em; to the style field of your custom headline. Or, you can apply a spacing helper class. See page 37 of our documentation at http://updates.theme.co/resources_2156cca47d8d0f08b7cb9897a2358e41/documentation/x-documentation.pdf

    Hope that helps. 🙂

    #881642
    robotpants
    Participant

    Perfect!

    #881950
    Paul R
    Moderator

    Glad to know it works. Have a great day!

  • <script> jQuery(function($){ $("#no-reply-875945 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>