Skip to content
Removing borders from the WordPress Twenty Sixteen theme

Removing borders from the WordPress Twenty Sixteen theme

June 26, 2019

Note

This post may be partially machine- or AI-translated. If there is any discrepancy, the Korean version takes precedence.

Note

This post might be outdated and some links might not be available.

I am using the Twenty Sixteen WordPress theme.

Twenty Sixteen theme preview

On desktop, the black border makes the page feel cramped.


Remove the border

This applies when you are using the Twenty Sixteen theme.


Open the WordPress admin page, then go to Appearance -> Customize.

Wordpress admin dashboard

Select Additional CSS from the left menu.

Theme customize page

Enter the following in the Additional CSS editor:

body:before, body:after {
    display: none !important;
}

.site {
    margin: 0;
}
Additional css page

You can see in the live preview on the right that the border is gone.


Click Publish to apply the modified theme.

Publishing additional css
Last updated on