Support » Themes and Templates » Centering the blog

Centering the blog

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi


    Forum Moderator

    Do not edit the Twenty Fourteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

    open your style.css file .Remove this code from line 631 to line 635.

    .aligncenter {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;

    Remove this code.

    (I can’t quarantee it give solution.But try it.)



    Forum Moderator

    No! Do not edit the Twenty Fourteen theme.

    @sarankumar: Please stop encouraging people to do this.

    ok.I will try.

    I am note sure about where to find the wp-content/plugins folder? Is it in the style.css.file?

    I managed to install simple custom css, and hopefully I will be able to do something with it. Is it anything I can copy and paste in to get the blog centered?

    Sorry about these “tea spoon”-questions!

    I deleted simple custom css, and installed easy custom css instead. What do I put in to center the blog?


    .site {
        margin: 0 auto;

    That is the CSS code you need to center the site.

    I’ve been having some of the same problems and have solved it mostly. If you go to my blog you will see that the search box is off the side. When I try to add a header, there’s a white space to the right of the jpeg, despite the right sizes. I’ve been tweaking things in My custom CSS. Is there a code I can drop to fix this? It feels like I’ve centered it but the gap on both sides remains.


    Best solution is to use “Fourteen Extended” plug-in… one check box and bang, it’s in the middle. Gives you a whole bunch of other stuff to play around with too.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Centering the blog’ is closed to new replies.