• Resolved vectorz

    (@vectorz)


    Hi guys,

    my whole site (Theme: Olsen light) is centered, but categories and blog posts are aligned to the left.
    Does anyone know how to fix this?

    Thanks in advance!
    vectorz

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello there.

    This is now the theme is built. Most likely you haven’t added widgets in the blog sidebar and that’s why you are getting a gap on the right side of the site. Try adding some widgets to get a more even layout. Check out the demo here to see how it will look when the widgets are added.

    Thread Starter vectorz

    (@vectorz)

    Well, I dont want to put widgets there.
    If it helps, this is how it looks at the moment: Screenshot

    Hi there, can you provide a URL so we can have a closer look?

    Thread Starter vectorz

    (@vectorz)

    Of course I can, here you go: anja-hemzal.com

    • This reply was modified 8 years, 5 months ago by vectorz.

    You will need to add some custom CSS to achieve this.
    Install and activate this plugin then go to “Add Custom CSS” on your dashboard and paste this

    .category-blog #site-content .col-md-8 {
        float: none;
        margin: auto;
    }

    in the box.

    This will center your blog section.
    Let me know if this is what you wanted

    Thread Starter vectorz

    (@vectorz)

    Many thanks, this solved my problem ??

    Thread Starter vectorz

    (@vectorz)

    Hi, as i already mentioned this problem is solved. The category is centered. But the actual posts are still aligned to the left. I think the code is quite similar, but could you please help me out?

    Hi there,
    if you want to center your content paste

    .entry-content{
     text-align:center;   
    }

    in your custom CSS box

    Let me know if this works

    Thread Starter vectorz

    (@vectorz)

    Hi, unfortunately, this didn′t work. Now it looks like this: Screenshot

    Hi there,
    You can paste this

    
    .single #site-content .col-md-8 {
        float: none;
        margin: auto;
    }
    

    in your custom CSS box

    Let me know if this works

    Thread Starter vectorz

    (@vectorz)

    That worked, thank you very much ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Whole site centered, but blogposts aligned left’ is closed to new replies.