Site logo

[Resolved] Design bug containers

Home Forums Support [Resolved] Design bug containers

Home Forums Support Design bug containers

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2495851
    Markus

    Dear GeneratePress-Team,

    I’ve got a strange bug on my homepage. I have some side containers there. If I open my site they are really long drawn-out. If I scroll down and up again they are how they should be.

    Look at my screenshot: Design Bug
    https://prnt.sc/_nz4LpIyvoHw

    This is my site: https://www.radtouren-checker.de/

    Another question: Is there a possiblity to define a max. height for these containers/blocks?

    Kind Regards,
    Markus

    #2496048
    David
    Staff
    Customer Support

    Hi there,

    is it only the block with the newsletter sign up inside that is causing the issue ?

    #2496118
    Markus

    No, all these blocks among themselves have this problem…

    #2496140
    David
    Staff
    Customer Support

    The thing is, there is some code on your site that that is setting most of your HTML containers to have a height: auto – Ad Scripts generally do this, which can cause this kind of issue,

    Try this. Select the Column container block those items are in, and in Advanced > Additional CSS Class(es) add: unset-height

    Save that.
    Then add this CSS to your site:

    .gb-grid-wrapper>.gb-grid-column.unset-height>.gb-container {
        height: unset !important;
    }
    #2496551
    Markus

    Hi David,

    I’ve implemented that, but unfortunately the problem is not solved…

    KR
    Markus

    #2496610
    Ying
    Staff
    Customer Support

    Hi Markus,

    I’m not seeing the CSS on your site, how did you add it?

    #2496630
    Markus

    Via custom css.

    You can see it in line 1229 at the source code of my site.

    KR
    Markus

    #2496645
    Ying
    Staff
    Customer Support

    I’m not seeing it:
    https://www.screencast.com/t/ME8sexZ3
    Can you add the code to the top of the additional CSS field to avoid errors from your previous CSS and make sure cache is cleared?

    #2496647
    Markus

    1229, not 1129, here:

    Screen

    #2496649
    Markus

    Cache is cleared (again! :)).

    #2496713
    Ying
    Staff
    Customer Support

    Now I can see the CSS 🙂

    Try this one instead:

    .gb-grid-wrapper>.gb-grid-column >.unset-height {
        height: unset !important;
    }
    #2496720
    Markus

    Now it seems to work. I will check it the next days if it’ll be okay.

    Great support!

    #2497856
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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