
-
AuthorPosts
-
April 3, 2025 at 5:20 pm #1480723
I’ve recently run into a new problem – the second color section beneath the header cuts off the text container. The other thing that’s happening is the second color section seems to have some padding that pushes everything to the center.
What’s happening here?
April 4, 2025 at 6:05 am #1480751Hey tsays,
Thank you for the inquiry.
The issue is caused by this css code, which limits the height of all second Color Sections on the site.
#av_section_2 { height: 75vh!important; min-height: 600px!important; display: flex!important; flex-direction: column!important; justify-content: center!important; position: relative!important; overflow: hidden!important; }
Please remove the css or adjust it so that it only applies to specific elements on the page.
— https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
IsmaelApril 5, 2025 at 2:53 am #1480802Thank you. That did fix the problem, but another has appeared. On the mobile, the second section has some padding at the top and bottom. At the moment, it’s only at the bottom, because I have hidden the top section on mobile. I believe that CSS that we removed was there to address this issue.
April 5, 2025 at 1:57 pm #1480820Hi,
You have this custom css:@media only screen and (max-width: 767px) { #av_section_2 { height: auto !important; min-height: auto !important; padding-top: 30px !important; padding-bottom: 30px !important; overflow: visible !important; } }
in your siteground cache, perhaps it is in your Quick CSS, or your child theme stylesheet.
Change the padding-top & padding-bottom to zero, then clear your site cache, siteground cache, and your browser cache and check again.Best regards,
MikeApril 7, 2025 at 9:54 pm #1480957Thank you, that solved the issue.
April 7, 2025 at 10:29 pm #1480959Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Second Color Section’ is closed to new replies.