WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Fourteen
Centering the blog (11 posts)

  1. Breskelia
    Member
    Posted 6 months ago #

    I have just changed from Thesis to Twenty Fourteen, and the whole blog has changed to be left orientated. (It was centered before) I use a Mac Pro.
    I have two blogs: http://www.matartikler.com and http://www.arnedorumsgaard.com and would like to have them centered on my screen, and of course the same when YOU open them.
    Any help to get?

    Question from Norway!

  2. esmi
    Forum Moderator
    Posted 6 months ago #

    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.

  3. sarankumar
    Member
    Posted 6 months ago #

    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.)

  4. esmi
    Forum Moderator
    Posted 6 months ago #

    No! Do not edit the Twenty Fourteen theme.

    @sarankumar: Please stop encouraging people to do this.

  5. sarankumar
    Member
    Posted 6 months ago #

    ok.I will try.

  6. Breskelia
    Member
    Posted 6 months ago #

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

  7. Breskelia
    Member
    Posted 6 months ago #

    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!

  8. Breskelia
    Member
    Posted 6 months ago #

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

    http://www.matartikler.com

  9. Zulfikar Nore
    Member
    Posted 6 months ago #

    .site {
        margin: 0 auto;
    }

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

  10. jjspress
    Member
    Posted 6 months ago #

    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.

    http://www.mobtreal.com

  11. mhk1058
    Member
    Posted 6 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic