• Hi, I’m asking after I’ve looked everywhere and just can’t find how to do it.

    I edited single.php and changed this line:

    <?php get_sidebar(); ?>

    to this

    <?php // get_sidebar(); ?>

    And i have one column single post page. But my single posts positions: Left. How do i center my single post page position, like this: link

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    You couldnt have search to hard this kind of post is all over the forums on the internet.

    Removing the sidebar isnt enough, you would need to change the CSS to achieve this too. Normally aligning text to center and increasing div width to 100%.

    Looking at your link it looks as you have managed to centre the post. Well done.

    Thread Starter nzmtrk

    (@nzmtrk)

    I could not solve the problem. Somebody get some help!

    My website: binaen.com

    Dude, get Firefox, install firebug addon and look into changing CSS. That way you will be able to find the CSS that needs to be changed.

    responsive.css line 154

    Change:

    @media (min-width: 680px)
    .main-container-sidebar, .main-container-sidebar-cc2 {
    padding-right: 300px;
    }

    to:

    @media (min-width: 680px)
    .main-container-sidebar, .main-container-sidebar-cc2 {
    padding-right: 0;
    }

    make it specific for single posts and correct the last bit of padding:

    add this via a custom CSS plugin:

    @media (min-width: 680px) {
    .single-post .main-container-sidebar, .single-post .main-container-sidebar-cc2,
    .site-content-sidebar, .site-content-sidebar-cc2 {
    padding-right: 0;
    }

    for any further questions regarding your theme, please contact the developer for support; https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How Do I Change Single Post Positions?’ is closed to new replies.