Archived topic
Padding iframes GoogleMaps, YT-Video etc
3 replies · Started by Nico on February 7, 2022
Hello dear GP team!
We switched our theme to Generate Press a few days ago and saw today that the embedded iFrames such as GoogleMaps, YouTube videos etc. have no padding in the footer (see Private Area for page and screenshots).
Do I have to or can I configure something here in the Generate Press settings?
Thank you for your feedback
Many greetings
Nick
Hi there,
the issue arises from the Borlabs cookie consent plugin as its wrapping iFrames in its own borlabs-cookie-responsive-iframe-wrapper container which in turn 'breaks' the the themes and core blocks CSS.
Try adding this CSS to give those containers some bottom margin.
.borlabs-cookie-responsive-iframe-wrapper {
margin-bottom: 1.5em;
}
What can I say, it works 👍😍
btw:
We follow your advice and will test WP Rocket for caching. Are very excited about the result
Thank you David.
Glad to be of help