Home » CSS » Centering WordPress Twenty Fourteen’s webpages

Centering WordPress Twenty Fourteen’s webpages

This is a useful trick when using the Twenty Fourteen theme to develop websites. In your WordPress website’s  ‘child theme’ style sheet add the following CSS

.site  {
    margin 0px  auto;
}
This sets the top and bottom postions of the WordPress website you are developing to zero pixels and the left margins to automatic, which means they will be symetrically centred.
To setup a WordPress child’s style sheet click here

Support