Archived topic
Using GeneratePress Layout Elements On Category Pages
5 replies · Started by Jodie on November 5, 2022
Hi,
I want to make my category page archives to appear wider than my current container (900px) however I can't seem to do that without removing the padding so they look strange on mobile. Any ideas on how to fix this? Thanks!
Thanks for your help!
Cheers Jodie
Hi there,
do you want to make the entire archive page wider ?
For example try adding this CSS to see what i mean :)
.archive .grid-container,
.archive .grid-container .gb-inside-container{
max-width: 1200px !important;
}
Hi David,
I'd like to make the body wider, not the header or footer.
Is that possible please? Thanks!
Cheers Jodie
Hi Jodie,
I see. Can you try this CSS instead?:
.archive #page.grid-container,
.archive #page.grid-container .gb-inside-container{
max-width: 1200px !important;
}
Hi Fernando,
Thanks for your help, that fixed it.
Cheers Jodie
You're welcome Jodie!