-
Valerrr
Hello,
I set a margin of 5rem for the main footer container,
but this margin has the background color of the container instead of the color of
the page. How can I fix this?Thank you
Image: https://imgur.com/a/wwAcERq
-
George
Hello.
You are using the
.site-footerclass twice. Your main footer container has that class applied. Seems like the container with thefootertag also has that class applied. Please remove this class from this container. -
Valerrr
I deleted the class, but the problem persists.
-
George
I can still see that both classes are being applied in the front end:

-
Valerrr
That container has the class – .gb-element-729abcf5.
2 images: https://imgur.com/a/GIu1WGL
Or maybe I just don’t understand what else I need to do.
-
George
The outer container has a global style of
.site-footer. This global style has a background color of#3a432c. If you want to add top margin to the whole footer, add it to this container.
- You must be logged in to reply to this topic.