- This topic has 17 replies, 3 voices, and was last updated 8 years, 6 months ago by Tom.
-
AuthorPosts
-
September 23, 2015 at 8:04 pm #139228David
I am having a strange situation. My page header images aren’t appearing fullwidth. They were playing nicely before the most recent update.
These items are checked:
Add padding
Use image (from image tab) as a background image?
Center your content vertically?Check out here:
http://designismylife.com/tastemakersafrica/how-to-do-africas-biggest-week-in-tech-like-a-las-gidi-insider/Tested on: Opera, Chrome and Safari.
September 23, 2015 at 8:27 pm #139232DavidOne more note to add. This is occurring with Blog Posts. Thanks.
September 23, 2015 at 10:32 pm #139251TomLead DeveloperLead DeveloperCan you confirm that the “Container type” option is set to “Fluid”?
September 24, 2015 at 10:00 am #139411David“Container type” option is definitely set to βFluidβ.
September 24, 2015 at 11:32 am #139447TomLead DeveloperLead DeveloperWeird, the HTML says different.
Any chance you can send me temporary admin login details to support@generatepress.com so I can take a look at what’s going on?
September 24, 2015 at 1:46 pm #139506David BeyCredentials sent
September 24, 2015 at 10:50 pm #139563TomLead DeveloperLead DeveloperAh, I just noticed it’s a static image and not a background image.
Options:
1. Add some empty content to the page header:
<span><!-- empty span --></span>
Then set it to full screen.
2. Force the static image full width with CSS:
.postid-2266 .page-header-image-single.grid-container { max-width: 100%; } .postid-2266 .page-header-image-single.grid-container img { width: 100%; }
Let me know π
September 25, 2015 at 5:29 pm #139799DavidI have several pos to do this with. I will need another solution. It’s not just that one page where this is occurring.
Is it possible to have a hook to insert the Page Header Image Posts with the Featured Image? The scenario is that the featured image and the page header image both need to be present and both a different image.
Thanks!
September 25, 2015 at 10:52 pm #139825TomLead DeveloperLead DeveloperI’m not too sure I understand? You want a background image and a regular image to appear in the content header? You can add images to the “Content” tab using HTML.
Did my above code not work? It should force that image to be full screen.
If you have multiple pages you need to do this to, you can remove the .postid-xx parts.
Let me know π
September 26, 2015 at 8:45 am #139886DavidThanks Tom!
I added this <span><!– empty span –></span> and it is working. This will have to be done to every post. Right now there are 45. Is there another way to handle this.
The second point now that this is working.
The Featured Image needs to appear in the
with the post content.I hope that clarifies. Sorry for the mix up.
September 26, 2015 at 8:51 am #139887DavidREPOSTING
Thanks Tom!
I added this <span><!β empty span β></span> and it is working. This will have to be done to every post. Right now there are 45. Is there another way to handle this.
The second point now that this is working.
The Featured Image needs to appear in the content right above the Post Title.
I hope that clarifies. Sorry for the mix up.
September 26, 2015 at 9:08 am #139888DavidHere is sample of what I would like to achieve.
http://designismylife.com/mobileland/pageHeaderwContent.jpg
Thanks again.
September 26, 2015 at 12:07 pm #139911TomLead DeveloperLead DeveloperBeen thinking if there’s another way to accomplish it, and I don’t think so.
The way the code works is it looks for any added content – if no content is added, it will just print the image in the Image tab.
If it detects content, it will display the content and show the image as the background image (if set).
Kind of a tough one I’m afraid – I can’t think of any other options.
Let me know if you have any questions π
September 26, 2015 at 3:18 pm #139944DavidGot it. Thanks again for taking the time to review this.
Cheers!
September 26, 2015 at 7:14 pm #139960DavidI have a crazy idea. What if we put this
<span><!-- empty span --></span>
as placeholder in the Content box? -
AuthorPosts
- You must be logged in to reply to this topic.