[Support request] Modify css

Home Forums Support [Support request] Modify css

Home Forums Support Modify css

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1192436
    Steven Dylan Spitz

    I’m using the following CSS to put a border around column blocks in WordPress:

    .container-border {
    border: 1px solid #ccc;
    box-sizing: border-box;
    }

    It works, but I notice the image and text is too close to the border.

    Is there any way to put some separation between the border and the content inside?

    See several examples on the link.

    #1192610
    David
    Staff
    Customer Support

    Hi there,

    you can add some padding to your CSS like so:

    .container-border {
        border: 1px solid #ccc;
        box-sizing: border-box;
        padding: 20px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.