Archived topic
Category Pages - set up a different page with
5 replies · Started by Kevin on March 1, 2021
Hello-
Is there a way I can have my category pages a different page width then my site pages/posts?
Hi there,
Add a Layout Element - and set the Container Content width to the size you require.
Then set the Display Rules to Post Category Archive > All Categories ( Or the terms you want it applied to ).
https://docs.generatepress.com/article/layout-element-overview/
That (mostly) worked, thanks!
The H2 and Description seem to be at a different width then the page. Do I set up another element for that?
Hi Kevin,
Try this CSS:
.archive.category .page-header {
padding: 0;
}
Let me know :)
That worked, thanks Ying!
No problem :)