Archived topic
Single post page - Featured image - Text wrap
5 replies · Started by Harris on October 2, 2017
Hello,
Is there some way I can have the featured image in a 50% (or 40% or 30%) of the page width and aligned left (or right) and have the post text wrap to the rest width of the page?
Thanks
Harris
Hi there,
Can you link me to a post you have currently? Just want to see the layout first.
Thanks!
Hello,
I was just currious on how to do it. Don't have a certain post I want to apply it to.
Either give me an example on a GP typical (as from default) post page, or otherwise I will come back when I will need to use it :)
Thanks!
Ok so you need to make sure:
- Customizer > Layout > Page Header > Single Post Header Location is set to below post title
- Featured image is small enough for the text to wrap
Then add this CSS:
.page-header-image-single {
float: left;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks Leo!
No problem!