Archived topic
Remove container padding for pages and custom post type
5 replies · Started by Ricardo on June 9, 2020
Hi,
I'm using generate blocks and I wonder if you could help me to get the first container with no padding and margin between the header, like in this page:
https://oportofado.com/pt/concertos-de-fado/ideal-fado-porto/
I tried to remove top padding from the container and all subcontainers but didn't do the trick:
https://wordpressmu-89823-1306048.cloudwaysapps.com/lugares/fado-na-baixa/
So I'm wondering what could be the best way to do it.
Is it to add a negative margin?
Thanks in advance,
Ricardo
Hi there,
Does it help if you create a full width container layout element and assign it to pages and your CPT?
https://docs.generatepress.com/article/layout-element-overview/#content-1
Hi,
I've already did it and it didn't work
But I think a got a fix. I set layout/container/content separator to 0.
Thanks anyway!
Glad you found a fix :)
hi,
Is it possible to remove container separators selectively? I want to remove the top separator of the first container and the sidebar, so that there is no space between the first container and the header, and the sidebar and the header.
Can you open a new topic for your question?
Thanks :)