Site logo

Archived topic

How to set up this featured image for the single blog post

1 reply · Started by Paul on February 16, 2022

Viewing posts 1–2 of 2

hello, how are you

my featured image of the single post is the same with this screenshot https://prnt.sc/26ws91o

but i like this style and pls check the example link in the private message

pls guide me how to do that

thanks

Hi Paul,

One way you can achieve this is through creating a Page Hero Block Element.

Kindly see: https://share.getcloudapp.com/L1uWwlkA

Specifically, the Element type is set to Page Hero, and Disable Featured Image is toggled on. Moreover, a Dynamic Image Block is set in place and it is set to display the Featured image.

You can also add a CSS like this to make sure that the image takes the entire width possible:

img.dynamic-featured-image.wp-post-image {
    width: 100%;
}

Here is an article you may refer to with regards to adding CSS: https://docs.generatepress.com/article/adding-css/#additional-css

Don't forget to set the Display Rules of the Block Element for it to appear in your preferred pages. :)

Hope this helps! :)

This archived topic is closed to new replies.