Site logo

Archived topic

How to add container like this

17 replies · Started by Vidyut on February 4, 2023

Viewing posts 1–15 of 18

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.

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

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

Okay, thanks here is the site below or one post from the site that has featured image like i want

okay, got it. But, how to make it appear a bit up on the Hero?

Like the first image I've listed.

Thanks

It will require some CSS. Can i see your site ?

Okay, here is my site-

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.

Thanks, but it is not working on mobile.

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;
    }

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.

This archived topic is closed to new replies.