[Support request] I want to add border radius of 8px only to the post and page containers.

Home Forums Support I want to add border radius of 8px only to the post and page containers.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1498780
    Shami

    I want to add border radius of 8px only to the post and page containers.

    I’ve added this css:

    .separate-containers .inside-article, .sidebar .widget {
    border-radius: 8px;
    }

    But it’s not working on the containers below the post.

    How do I do it?

    #1498786
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know πŸ™‚

    #1499141
    Shami

    I’ve linked it here.

    #1499164
    Elvin
    Staff
    Customer Support

    Hi,

    You seem to already have the CSS code for the nav links as shown here: (from sccss file, perhaps a plugin?)

    .post-navigation .nav-links div {
        display: flex;
        flex-direction: column;
        flex: 1 0 calc(50% - 2px);
        margin: 2px;
        padding: 30px;
        box-sizing: border-box;
        position: relative;
        background-color: #ffffff;
        border: 1px solid #f3f3f3;
        transition: background 0.2s;
        border-radius: 2px;
    }

    You can simply change the border-radius values here to 8px.

    If that doesn’t work, try this one.

    .post-navigation .nav-links > .previous, .post-navigation .nav-links > .next {
        border-radius: 8px;
    }

    As for the comment box, try this CSS:

    .separate-containers .comments-area{
    border-radius: 8px;
    }

    A wise man once said:
    "Have you cleared your cache?"

    #1499171
    Shami

    Thanks Elvin.

    All the above css worked.

    #1499176
    Elvin
    Staff
    Customer Support

    No problem. πŸ™‚

    A wise man once said:
    "Have you cleared your cache?"

    #1499179
    Shami

    A wise man once said:
    “Have you cleared your cache?”

    🀣🀣🀣

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.