- This topic has 24 replies, 5 voices, and was last updated 5 years, 3 months ago by
Leo.
-
AuthorPosts
-
December 17, 2020 at 1:02 am #1583943
Rpn
Hello GeneratePress Team,
First of all, thank you for your great support.
I need designing help, My post above section is looking like this after using some CSS and PHP code I think which I got from the documentation.
But I want to make it something like this.
Would you like to tell me how can I do this ๐
Have a good day ๐
December 17, 2020 at 2:24 am #1584047Elvin
StaffCustomer SupportHi,
To clarify: You want the page’s featured image to have rounded edges and to overlap on top of the page hero section?
Let us know.
December 17, 2020 at 2:57 am #1584089Rpn
I want the same look ๐
With featured image, post title, author etc. same
December 17, 2020 at 10:00 am #1584725Tom
Lead DeveloperLead DeveloperHi there,
Can you add a featured image and then link us to a post? We may be able to help with some of the CSS.
December 19, 2020 at 3:39 am #1586847Rpn
Have a look at this screenshot here I’ve mentioned all the things ๐
And here’s the screenshot of my website ๐
For more info, I’m also adding the URL of my site and another site too.
My URL – https://exactblogging.com/elementor-black-friday-sale/
But I Want This Look – https://backlinko.com/introducing-the-digital-marketing-templates-libraryThanks,
December 19, 2020 at 8:14 am #1587236Rpn
Any updates?
December 19, 2020 at 9:31 am #1587313David
StaffCustomer SupportHi there,
this Hero example shows how to setup the Post Meta for that Header Elemetn:
https://docs.generatepress.com/article/page-hero-examples/#example-2
For the featured image can you move its location to Above Content Area in Customizer > Layout > Blog –> Featured Images >>> Posts
December 23, 2020 at 9:55 am #1592300December 23, 2020 at 11:32 am #1592425Tom
Lead DeveloperLead DeveloperWill something like this work?:
.single .page-hero + .featured-image { margin-top: -100px; }December 24, 2020 at 12:34 am #1592870Rpn
No, the above CSS doesn’t works ๐
Let me tell you again in detail and with screenshots, Hope this time you’ll make me happy ๐
First of all, have a look at this screenshot, In this screenshot, I’ve described the positioning and the size of the featured image.
Now see this screenshot, I want my image and space between all terms the same like this screenshot.
Hope you got it!
My section is looking like this but I want exactly the same as this ๐
This is the URL of my page – https://exactblogging.com/siteground-vs-greengeeks/
This is the image of the other website – https://backlinko.com/introducing-the-digital-marketing-templates-library
Hoping for the best solution this time ๐ ๐ ๐ ๐
December 24, 2020 at 3:57 am #1593015David
StaffCustomer SupportDid you add the CSS that Tom provided as that should do exactly that ?
December 24, 2020 at 4:26 am #1593034Rpn
It’s hiding the last updated and author name ๐
Have a look at this ๐December 24, 2020 at 4:34 am #1593044David
StaffCustomer SupportIn Tom’s CSS you will see this:
margin-top: -100px;This is moving the image UP by 100px. You can reduce that amount to stop that from happening.
To make sure it never overlaps the Hero content, edit your Header Element and make sure the Bottom Padding is greater that the margin-top value. eg. 110px.December 24, 2020 at 4:50 am #1593055Rpn
Okay now it’s looking good in my PC, But it’s not responsive, It’s looking very weird in my other devices.
Have a look at this in mobile devices.December 24, 2020 at 5:02 am #1593069David
StaffCustomer SupportYou simply need to increase the Bottom Padding of your Header Element as i said above.
You can set it separately for Desktop and Mobile.In the CSS you have set this: margin-top: -157px;
So you Header Element Bottom Padding needs to be at least 160px to stop it from overlapping…. -
AuthorPosts
- You must be logged in to reply to this topic.