- This topic has 24 replies, 3 voices, and was last updated 7 months, 1 week ago by
David.
-
AuthorPosts
-
October 18, 2022 at 6:35 am #2377420
Marty
Great, I have that. I still have a few things remaining: 1) Duplicate featured image, 2) header/hero is not merged with the body area, and 3) how to left-align the
Header
Text Area items? (H1, Author field, Date)I assume I’ll need to individually disable the featured image element in posts/pages or in the Layout options?
Thanks!
October 18, 2022 at 6:47 am #2377436David
StaffCustomer SupportYou can use a Layout Element with the same display rules as your header element, to disable the Featured Image, Title etc.
https://docs.generatepress.com/article/layout-element-overview/
Can you share a link to a post where i can see the header element ?
October 18, 2022 at 7:33 am #2377494Marty
Ah ok, thanks I’ll check that out. I’ve included an example link (I created a test page and set the display rule to this page for now)
October 18, 2022 at 7:47 am #2377512David
StaffCustomer Support1. The layout element should resolve the duplicates.
2. header/hero is not merged with the body area – this i don’t understand ? Can you explain.
3. Align left, in the Header Element you can set the Horizontal Alignment to left.
Then add this CSS to limit the width of its content, and align it:.page-hero .inside-page-hero { max-width: 840px; margin: auto; }
October 19, 2022 at 4:27 am #2378530Marty
Thank you – I think I’m good now. What I was referring to is a gap between the page hero and the top of the body container which I can change in
Customizing â–¸ Layout Container â–¸ Separating Space
. I misunderstood theMerge
feature and now I’m clear.Sincerely, thanks so much for your help! I’ve had several people purchase GeneratePress because I frequently recommend it to others for its awesome support and all the great features. 🙂
*(Note: Some documentation/examples like here: https://docs.generatepress.com/article/page-hero-examples/ are dead links so it’s harder to figure out the settings/etc.)
October 19, 2022 at 5:54 am #2378616David
StaffCustomer SupportGlad to be of help and thanks for the kind words and feedback. Much appreciated.
Ill take a look at those deadlinks, see if we can fix that 🙂
October 20, 2022 at 2:30 am #2379734Marty
My apology, yikes, I overlooked doing similar in a post w/sidebar rather than only a page w/ no sidebar.
Is it possible to left align the page hero contents with the body container, similar to my posts with no page hero? I have not been able to find a way. (Example link submitted)
Thank you so much again.
October 20, 2022 at 4:15 am #2379822David
StaffCustomer SupportYou can use some CSS like this:
@media(min-width: 1024px) { .right-sidebar .page-hero .inside-page-hero { max-width: 1160px !important; } }
It will overwrite the max-width when there is aright-sidebar on the page.
October 20, 2022 at 5:30 am #2379890Marty
Awesome, thanks again! That helped. I was then able to limit the H1 text length (have it wrap) within the same width as the body text as desired:
/* The page hero width allows the H1 text to extend past the body container width. To have it wrap similar to a post w/o a page hero, set the text max. width to the same as the body text width */ .page-hero .inside-page-hero h1{ max-width: 788px; }
October 20, 2022 at 6:10 am #2379920David
StaffCustomer SupportAwesome – glad to hear you got it working 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.