Archived topic
Increase width of category archive page
5 replies · Started by mkjj on January 20, 2023
While I prefer a relative narrow width for pages and single posts, I would like to increase the width of the category archive pages. I create a layout element, set the display rule and the width to 1400px instead of 900px. Works just fine with a minor issue: The category description keeps the padding of 40px, so that the block is indented. Here is the live page. I can fix this easily. But I would like to know whether this is the intended behaviour. Or am I missing anything?
Thank you.
Hi there,
question - do you want no padding - like the post articles ? As their content currently touches the viewport edge on smaller screens. I would make sure that the Content Container is left as default and then increase the content width to accommodate the extra padding.
Hi David,
that was my first thought. But the .grid-container (set in the customizer to 900px) overrides the #content container (layout element). Would you reccommend to set the higher value in the customizer and the lower value (for pages) as a layout element?
You should set the highest value width in the Customizer.
And then create Layout Elements where a smaller width is required.
Thank you, David. Will do it this way.
Mike
You're welcome