Site logo

Archived topic

I like to make containers rounded edges

20 replies · Started by Sabbir on July 30, 2022

Viewing posts 1–15 of 21

I like to make all containers with rounded edges. How can I do this?
can anyone help?

Hi there,

try this CSS:

.single-post .inside-article, .generate-columns .inside-article, .widget, .wp-show-posts-inner {
    border-radius: 20px;
    overflow: hidden;
}

You're Author box is a Block Element, edit that and select the Container Block and add the Border Radius in the settings.

Cool!!

Working, Thanks

You're welcome

I don't want a round in the homepage hero container, also. I want to hide the background image for mobile in home hero section...

Can you resupply the Link to your site? ( Private Information is automatically removed when a topic is resolved ).

Hi,

I waiting for the solution.

Did you resolve this ? As i cannot see those screenshots on the home page ?

I've changed the background with the same color image that's why the round not showing, but it's didn't been solved.

It's not round edge on page: removed

And this is where it gets painful, if you want to include specific pages you need to get its ID ( edit the page and check the Browser URL to find the ID ).

Each page is given a unique CSS Class, eg. page-id-xx where xx is the ID.
That privacy page has an ID of 59 and its class is therefore: page-id-59

And adding that to your CSS would look like this:

.page-id-59 .inside-article, 
.single-post .inside-article, 
.generate-columns .inside-article, 
.widget, 
.wp-show-posts-inner {
    border-radius: 20px;
    overflow: hidden;
}

For each specific page you want to add, repeat the above steps and .page-id-xx .inside-article, to your CSS.

This archived topic is closed to new replies.