Canard Theme – Removing Sidebars & Centering Content

  • Unknown's avatar

    I have very little HTML/Code knowledge, however have been able to utilize the CSS Editor. That being said ….

    My ultimate goal with the Canard theme with http://www.winesavantmag.com is to be able to remove the sidebar(s) from “Pages” but not posts and if that can be accomplished, would like to center all the content on the page and not leaving a gap where the sidebar formerly was.

    I reviewed another forum thread:

    https://en.forums.wordpress.com/topic/remove-sidebar-and-black-space-above-blog

    and tried the code string and it worked on everything but the home page (including posts) and even then it left the gap on the right side skewing the content to the left. The code string that I used was:

    @media screen and (min-width: 768px) {

    .single .widget-area {
    display: none;
    }
    .single #main {
    width: 960px;
    }

    .page .widget-area {
    display: none;
    }
    .page #main {
    width: 960px;
    }

    .single #main, .page #main{
    border:none;
    }
    .single .entry-content, .page .entry-content{
    width: 960px;
    margin-left: -10px;
    }

    }

    Any assistance would be greatly appreciated

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘Canard Theme – Removing Sidebars & Centering Content’ is closed to new replies.