- This topic has 12 replies, 3 voices, and was last updated 3 years, 3 months ago by
Ying.
-
AuthorPosts
-
January 14, 2023 at 6:43 pm #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:
https://prnt.sc/_nz4LpIyvoHwThis 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,
MarkusJanuary 15, 2023 at 4:00 am #2496048David
StaffCustomer SupportHi there,
is it only the block with the newsletter sign up inside that is causing the issue ?
January 15, 2023 at 5:52 am #2496118Markus
No, all these blocks among themselves have this problem…
January 15, 2023 at 6:29 am #2496140David
StaffCustomer SupportThe 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-heightSave that.
Then add this CSS to your site:.gb-grid-wrapper>.gb-grid-column.unset-height>.gb-container { height: unset !important; }January 15, 2023 at 11:57 am #2496551Markus
Hi David,
I’ve implemented that, but unfortunately the problem is not solved…
KR
MarkusJanuary 15, 2023 at 1:39 pm #2496610Ying
StaffCustomer SupportHi Markus,
I’m not seeing the CSS on your site, how did you add it?
January 15, 2023 at 2:16 pm #2496630Markus
Via custom css.
You can see it in line 1229 at the source code of my site.
KR
MarkusJanuary 15, 2023 at 2:27 pm #2496645Ying
StaffCustomer SupportI’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?January 15, 2023 at 2:32 pm #2496647Markus
1229, not 1129, here:
January 15, 2023 at 2:34 pm #2496649Markus
Cache is cleared (again! :)).
January 15, 2023 at 4:26 pm #2496713Ying
StaffCustomer SupportNow I can see the CSS 🙂
Try this one instead:
.gb-grid-wrapper>.gb-grid-column >.unset-height { height: unset !important; }January 15, 2023 at 4:52 pm #2496720Markus
Now it seems to work. I will check it the next days if it’ll be okay.
Great support!
January 16, 2023 at 10:44 am #2497856Ying
StaffCustomer SupportYou are welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.