Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Footer Margin

  • 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

  • Hello.

    You are using the .site-footer class twice. Your main footer container has that class applied. Seems like the container with the footer tag also has that class applied. Please remove this class from this container.

  • I deleted the class, but the problem persists.

  • I can still see that both classes are being applied in the front end:

    Footer classes

  • 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.

  • 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.

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