Site logo

Archived topic

About Page Header & Post Layout Spacing

5 replies · Started by Danny on May 2, 2018

Viewing posts 1–6 of 6

Hi,

How could I add featured image to page header for single post like this: http://prntscr.com/jd2jla, also custom its height & width plus remove spacing between these part page header and content area & sidebar, comment area

Thanks

Hi there,

Not quite sure if I understand some of your questions.

Can you link me to the site in question?

You can edit the original topic and use the private URL field.

Let me know :)

Hi,

I will send another screenshot

1. For the Featured image inside the header, it means similar to this > http://prntscr.com/jdbim2 I tried used the custom field about thumb of featured image in your document but the size is small and can't control

2. I want to remove these space: http://prntscr.com/jdbjh0

Thanks :D

Hi there,

1. You can use this template tag in your Page Header content:

{{custom_field._thumbnail_id}}

More info on template tags here: https://docs.generatepress.com/article/page-header-template-tags/

2. You can set the container to "One Container" in Customize > Layout > Container, or reduce the Separating Space option.

Hi,

1. I did tried {{custom_field._thumbnail_id}} before but the image turn out small, is there anything can do to control the size of the image?

2. Thanks, it works!

It should just use your full featured image size. Can you link me to the page with it added?

This archived topic is closed to new replies.