Padding Settings

  • Hi Friends, Hi Staff,


    I want to set the padding settings of this specially created box to 0px.

    but don't let the other boxes get affected.


    thanks

  • Hello,


    That's super easy with some basic CSS. Edit your box and enter something in the field CSS Class Name, for example, boxWithoutPadding. Now, head over to "Customization > Global CSS and SCSS" and append the following code at the end of the input area:

    CSS
    .boxesSidebarLeft .box:not(.boxBorderless).boxWithoutPadding, .boxesSidebarRight .box:not(.boxBorderless).boxWithoutPadding {
        padding: 0;
    }

    Alexander Ebert
    Senior Developer WoltLab® GmbH