- This topic has 7 replies, 2 voices, and was last updated 5 years, 2 months ago by Tom.
April 26, 2016 at 11:43 am #189586Tom
I’m trying to achieve the look of blog article headers the way you are doing in this video tutorial…
I’m not having much luck, though. Even though I’ve set Page Header Position to Inside Content Area, there is a margin around the image within the content box. Is there a way to make the image appear flush to the edges as shown in the video tutorial?
Another problem I’m having is that when I enable “Hard Crop” on the header image and set a height of 300 (but leave the width at 0), the entire image is being scaled proportionately to 400 pixels tall and isn’t being cropped at all. What I’d like is what you’ve done in the video tutorial, to crop the image at 400 pixels tall but let the width take up the full content space. It appears there’s an option “Image Crop Position” in the video that I don’t see in my install. I just got the GP Premium package yesterday, so, I’m assuming I have the latest versions of everything. Has this changed since that video was made? If so, any way to get the images flush to the edges like that with other settings?
Thanks!April 26, 2016 at 10:26 pm #189673TomLead DeveloperLead Developer
1. This might help: https://generatepress.com/forums/topic/page-and-post-headers/#post-125452
2. Adding 0 as a height or width will enable proportional resizing. You need to set a width to enable a hard crop.
Image Crop Position was removed as the script wasn’t using core WordPress functions, which I’m not a fan of. It may make a come back with some recent WP developments 🙂April 27, 2016 at 11:05 am #189852Tom
Thanks a lot! Got that script installed and now all the images are flush to the container edges.April 27, 2016 at 8:52 pm #189930TomLead DeveloperLead DeveloperMay 15, 2016 at 2:12 pm #194461Tom
Is there any way to make Page Headers also flush to the edges of the content box like featured images? I’d like to do that on this page of a blog I’m working on: http://blog.kultureshock.net/about/
TomMay 15, 2016 at 4:42 pm #194509TomLead DeveloperLead DeveloperMay 16, 2016 at 9:05 am #194636Tom
Thank you, Tom, that worked!May 16, 2016 at 10:28 am #194664
- You must be logged in to reply to this topic.