Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #676292

    Hi Enfold-Support-Team,
    I got a problem with the special headings and margin.

    On some pages with 5 identical section and special headings some of the special headings are overwritten with the general style from wordpress. Therefore some headings are having a top margin of 50px. For the other headings, which look like i defined in the custom css, wordpress adds “avid-builder-el-first”.

    After I changed the special headings to a normal text section it worked perfectly, but it is a lot more work. And after I changed the H1 the problem showed up by the next special heading e.g. h4.

    Thanks in advance,
    Sophie

    #676869

    Hi Sophie,

    Could you post a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #677164

    Hi Rikard,

    thanks for your answer!

    I made a short example page just with special headings in color sections – all sections are the same and it changes from white to grey background. And in the last sections the trouble begins – the margin top of the heading is much bigger and we found out that it is exactly the 50px from the general css.

    Thanks for your help,
    Sophie

    #677676

    Hi,

    Thanks for that, you can use the following CSS to get rid of that element:

    #after_section_8 {
    display:none; 
    }

    Not sure what is causing it to be honest, we would need to have a look at the backend for that so please post admin login details in private if you should need any further help.

    Regards,
    Rikard

    #678794

    Hi Rikard,

    I’m sorry – I think you meant a different section.

    Please visit the page again – the last white section is the problem. We had a look again and it seems that the problem is the class “via-builder-el-no-sibling”

    Thanks for your support.

    #680436

    Hi,

    Sorry for the late reply, please try this instead:

    .page-id-7812 #av_section_6 .content {
        padding-top:0 !important;
    }

    The padding is coming from the content container element, not sure why it’s doing that though.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.