- This topic has 28 replies, 4 voices, and was last updated 7 years, 4 months ago by Tom.
-
AuthorPosts
-
January 8, 2016 at 11:29 am #164344Mark
What the generate press page header video shows is possible with the header in the theme is nothing like what I am getting when I try all that stuff on my own pages.
When I set the page header image above content, you can’t reduce the size as shown as the image height doesn’t crop but proportionately reduces the image so that it is of a narrower width than the content area. Is there any way to stop this happening?
January 8, 2016 at 11:30 am #164345MarkLink hasn’t shown up, it is: http://marandall.com/about/
January 8, 2016 at 11:43 am #164349TomLead DeveloperLead DeveloperIf you only set the height, it will resize proportionally.
If you set the width and height, it should hard crop and keep the width you set.
Let me know π
January 8, 2016 at 11:48 am #164350MarkBut what if I want the image to be thinner but keep it’s width? Is there no way to do that through the customizer (the header video on the GeneratePress site shows this being done on the pages window, but I assume this is from an earlier version and the option is no longer there)?
January 8, 2016 at 12:40 pm #164356TomLead DeveloperLead DeveloperThen you would just enter the width of the image into the width field.
The width will only change if there’s no value set.
Is doing that not working?
January 8, 2016 at 12:49 pm #164359MarkIt’s not working. I’ve enabled hard crop and set image to 1200 with 0 image height, and the image header displays at full size. That’s good, but I want it to be narrower. So I keep the image width at 1200, but alter the height to 300, and the image shrinks both in height and width, like this:
January 8, 2016 at 12:49 pm #164360Marklink didn’t get thorugh again: http://marandall.com/about/
January 8, 2016 at 12:55 pm #164361TomLead DeveloperLead DeveloperDid you upload the image through the “Page Header” metabox or the WP Featured Image metabox?
The resizing only works if the image is added in the Page Header area.
January 8, 2016 at 12:58 pm #164363MarkThrough the “Page Header” metabox. π
January 8, 2016 at 1:01 pm #164364TomLead DeveloperLead DeveloperJust tested it – definitely working on this side.
http://screencast.com/t/O4zrWrBV4
http://screencast.com/t/zDDkfCVZ
You may have a plugin installed which is conflicting.
Can you try #1 on this page?: https://generatepress.com/knowledgebase/debugging/
January 8, 2016 at 1:04 pm #164366MarkOkay, I’ll go through my plugins… π You can tell I’m fairly new to this, can’t you? π
January 8, 2016 at 1:05 pm #164367TomLead DeveloperLead DeveloperWeird problems like this are hard to figure out, especially with a combination of plugins etc..
We’ll figure it out π
January 8, 2016 at 2:12 pm #164395MarkOkay, deactivated all my plugins and the header image resize is now working as it should. I’ll let you know which plugin is the problem when I find out.
Another issue, though, with the page header image. When I set page header to ‘inside content area’ I want the image to fill that content area to the edges, but it doesn’t – there’s white space around it. How can I get the image to fill the content area?
Here’s how it looks presently: http://marandall.com/about/
January 8, 2016 at 3:30 pm #164408TomLead DeveloperLead DeveloperYou could try some CSS like this:
.separate-containers .inside-article .page-header-image { margin: -50px -50px 50px -50px; }
This would be a good option in the Page Header add-on. Noted π
January 8, 2016 at 4:18 pm #164410MarkNewby coming out of me again, but can you please guide me to where I can paste in this code? Thanks…
-
AuthorPosts
- You must be logged in to reply to this topic.