Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1079665

    Hi,

    Noticed that when headers follow each other immediately they are not separated properly, like when a header is followed by a paragraph. Perhaps it would be good to add the follwoing in the CSS of the theme to solve this.

    /* margins when multiple headings below one another */
    h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
        margin-top: 1.5em;
    }

    Regards,
    Rob

    #1080839

    Hey Rob,

    I’m not sure I understand exactly what you mean, do you have an example page where we can see the problem maybe?

    Best regards,
    Rikard

    #1080855

    Hi Rikard,
    Sure, details in the private message block.
    See the Privacy Policy page (which has multiple headers following each other).
    Then uncomment the CSS code for h1+h2, etc. in the Quick CSS.
    Then visit the page again.

    Regards,
    Rob

    #1082157

    Hi,
    Sorry for the late reply, I took a look at your page and found that the css was un-commented and working correctly, the top margin of the h4 when it follows h3 is 1.5em or 27px
    2019-03-23-131133
    I’m not sure how your css was not working for you?

    Best regards,
    Mike

    #1082164

    Hi Mike,
    no worries about the late reply, I can see you are all a bit swamped with requests.
    Actually, I don’t understand your comment…

    Of course the CSS works for me (that’s why I added it).

    I just noticed that without my addition it is not correct in the standard Enfold CSS, meaning that in the current Enfold situation the headings are close together without any space if they follow each other directly without a paragraph in between :-)

    So I just thought to give you guys a heads up to maybe include it as an addition to the CSS in the next version, that’s all.

    Kind regards,
    Rob

    #1082172

    Hi,
    Oh I see, well thank you for that, I was checking it like it was an issue.
    Sorry, I’m just trying to catch up on all of these requests :)
    Thanks again, I assume we can close this now?

    Best regards,
    Mike

    #1082184

    Sure, close when you want. It was solved anyway :-)

    Kind regards,
    Rob

    • This reply was modified 5 years, 9 months ago by rob2701.
    #1082197

    Hi,
    We will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Propose addition to CSS for headers’ is closed to new replies.