- This topic has 15 replies, 2 voices, and was last updated 3 years, 9 months ago by Leo.
-
AuthorPosts
-
July 11, 2020 at 12:34 am #1359783Downtown Spanish
Hi,
The page hero’s featured image will only show up in the ‘Post’ option when asked where to display it, it doesn’t show up when I chose a page and select that specific page name under Display Rules and Location.
Does anyone know why?
July 11, 2020 at 9:50 am #1360204LeoStaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know π
July 11, 2020 at 10:34 am #1360253Downtown Spanishhttps://downtownspanish.com/test/
There should be a Featured Image showing as a page hero in the test page but nothing shows up
July 11, 2020 at 2:59 pm #1360412LeoStaffCustomer SupportI don’t see the code for a page hero on that page at all.
What is the display rule of that page hero?
What content did you add in there?
July 11, 2020 at 3:08 pm #1360423Downtown SpanishI added an Element Type “Header” in Location Page “Test”
I only added a Featured image:
https://i.ibb.co/wLb53J9/Screen-Shot-2020-07-11-at-5-06-40-PM.png
https://ibb.co/n0VxZ3Hhttps://i.ibb.co/zngW9Tr/Screen-Shot-2020-07-11-at-5-07-00-PM.png
https://ibb.co/TvGDjxkJuly 11, 2020 at 3:11 pm #1360427LeoStaffCustomer SupportDo you not want to add any content in the page hero on top of the featured image?
If so there is a better way to do it.
Let me know π
July 11, 2020 at 3:13 pm #1360429Downtown SpanishDear Leo,
I just want to recreate the same Page Hero from the Blog page but with a different picture.
Exactly like this one but with a different image:
https://downtownspanish.com/blog/July 11, 2020 at 3:15 pm #1360432LeoStaffCustomer SupportThat case you need to add some content in the page hero content box.
See step 1 here:
https://docs.generatepress.com/article/how-to-create-a-page-hero/#step-1-add-the-contentJuly 11, 2020 at 3:26 pm #1360437Downtown SpanishYes Leo, it worked but the problem with doing that is that the image does not keep it’s size on the Tablet or Mobile versions.
I want it to look like this: (Which is a page hero with location in Blog )
https://i.ibb.co/xqp89gH/Screen-Shot-2020-07-11-at-5-23-39-PM.pngInstead of this: (Which is a page hero with location in a specific page)
https://i.ibb.co/QHxqRCf/Screen-Shot-2020-07-11-at-5-24-20-PM.pngJuly 11, 2020 at 3:48 pm #1360446LeoStaffCustomer SupportI still don’t see a page hero on this page:
https://downtownspanish.com/test/Can you confirm?
I need to compare the two Blog and Test page to see the difference.
July 11, 2020 at 3:51 pm #1360449Downtown SpanishThe page hero is there now.
You can compare them.
July 11, 2020 at 3:58 pm #1360450LeoStaffCustomer SupportThe two page heros have very different padding settings:
https://docs.generatepress.com/article/header-element-overview/#paddingJuly 11, 2020 at 4:02 pm #1360451Downtown SpanishYes because only with that padding they match in size when seen in the desktop view.
Otherwise the page hero on the Test page would look huge.
How can I have the page hero look like the one in the Blog since giving it the same padding does not make it behave the same way? Why does it not behave the same way when both are using a page hero and same padding?
July 11, 2020 at 4:09 pm #1360456LeoStaffCustomer SupportIf you are using the exact same paddings then they should be exactly the same.
Make sure the padding values are using the same unit. One is px and the other is % from what I can see.
July 11, 2020 at 4:11 pm #1360457Downtown SpanishAhh!
That was it! I finally got it working! Yes you were right. It was the PX, I had them in %…
Thank you so much Leo, you really are a GeneratePress master.
Thank you again bud!
π
-
AuthorPosts
- You must be logged in to reply to this topic.