- This topic has 17 replies, 3 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
February 4, 2023 at 11:00 pm #2521787
Vidyut
Hi, I want to make this type of green or other colored container in archive pages, and single post page. Please help me, I’m new here and not much technical.
Thanks.

February 5, 2023 at 4:45 am #2521965David
StaffCustomer SupportHi there,
you can create a Block Element – Page Hero.
See the doc here and check out some of the videos that will show you how:https://docs.generatepress.com/article/block-element-page-hero/
Let us know how you get on
February 5, 2023 at 6:15 am #2522015Vidyut
Thanks a lot, I understood. I also want to know how to make posts appear like this image. And when you hover it comes in.

Thanks again
February 5, 2023 at 9:10 am #2522293David
StaffCustomer SupportThe basic post design can be created using a Block Element – Content Template:
https://docs.generatepress.com/article/block-element-content-template/
There you can design the indiviudal post card.
And set the Display Rules Location toblogandAll ArchivesThis will replace the default themes archive cards.
February 5, 2023 at 11:37 pm #2522817Vidyut
Thanks I got it. Last question I have, how to make my posts featured images full container width. Like this image below

It is also floating, so how I can make it.
Here is what I’m having currently,

Thanks
February 6, 2023 at 1:00 am #2522873Fernando Customer Support
Hi Vidyut,
For reference, can you provide the link to the site in question?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
February 6, 2023 at 4:45 am #2523068Vidyut
Okay, thanks here is the site below or one post from the site that has featured image like i want
February 6, 2023 at 7:40 am #2523212David
StaffCustomer SupportGo to Customizer > Layout > Blog –> Featured Images, and select the
Poststab:https://docs.generatepress.com/article/adjusting-the-featured-images/
And uncheck the
Display padding around imagesFebruary 6, 2023 at 9:29 am #2523461Vidyut
okay, got it. But, how to make it appear a bit up on the Hero?
Like the first image I’ve listed.
Thanks
February 6, 2023 at 10:43 am #2523524David
StaffCustomer SupportIt will require some CSS. Can i see your site ?
February 6, 2023 at 8:49 pm #2523972Vidyut
Okay, here is my site-
February 6, 2023 at 9:10 pm #2523981Fernando Customer Support
Try adding this through Appearance > Customize > Additional CSS:
@media (min-width: 769px) { .single-post .content-area .site-main { margin-top: -40px; } }Replace the -40px value with your preference.
February 6, 2023 at 9:22 pm #2523993Vidyut
Thanks, but it is not working on mobile.
February 6, 2023 at 9:28 pm #2523996Fernando Customer Support
I see. Just remove the @media query if you want it for mobile as well.
For instance, try this instead:
.single-post .content-area .site-main { margin-top: -40px; }February 6, 2023 at 9:36 pm #2524002Vidyut
Thanks, it works. Last thing I’ve is, how can I make the archive featured image full width to container and also text to adjust. And also the shadow with animation effect.
Here is the archive link i want [first link]
And second link is my current site’s archive post containers.
-
AuthorPosts
- You must be logged in to reply to this topic.