Site logo

Archived topic

Reducing content width of single post

4 replies · Started by Muhammad on August 28, 2022

Viewing posts 1–5 of 5

Hi,

I want the width of the content after the post headline to be reduced. The title should remain the same width that it already is. Can you help me with this CSS. Thanks.

Hi there,

there are two steps to this:

1. Create a Block Element - Page Hero for your Display Rule > Location: Posts > All Posts :

https://docs.generatepress.com/article/block-element-page-hero/

This should be used to display your Post title and Feature Image ( if you want the image to be the current width )

2. Create a Layout > Element to set the Content Width for your Posts > All Posts:

https://docs.generatepress.com/article/layout-element-overview/

Thanks. It works by using the template. But i need to decrease the up and down padding of the box behind the headline.

Hello. I have figured it out from the Spacing options. Thanks for your help.

Glad to hear that

This archived topic is closed to new replies.