• afmeck

    (@afmeckel)


    Hi,

    While customizing my blog posts layout, I noticed that there’s 20px of padding on either side of the main container/body. That’s a bit more than I’d like, especially in tablet view.

    Maybe I missed it but I can’t find a way to control that in the Customizer. I also couldn’t find a previous discussion about this in the forum.

    Is there an option in the Customizer or, if not, could someone be so kind as to offer a snippet of code to control the padding?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Abhishek

    (@abhikr781)

    Hello,

    ?Please try to add the below CSS code from the Appearance > Customize > Custom CSS, and check.

    body .oceanwp-row .col {
        margin: 0 0 5px !important;
        padding: 0 2.5px !important;
    }

    PS- Change the value according to need.

    Thread Starter afmeck

    (@afmeckel)

    Hi Abhishek,

    Thanks for the snippet. I haven’t gotten it work yet but I think I can live with the default padding for now, anyway.

    Sorry to bother you with that.

    Abhishek

    (@abhikr781)

    Not an issue, You are welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Posts Padding’ is closed to new replies.