Would like to vary # of columns on pages vs posts

  • Unknown's avatar

    Hi there,
    I’m using free WP hosting, with a theme that allows three columns (Blaskan). I would really like to have three columns (so, primary and secondary sidebars) on “post” pages, but only two columns (just the secondary sidebar, not the primary) on “page” pages. Is this a change I can make in the CSS? Does anybody know what the code might look like? Even hints to send me in the right direction are much appreciated. Thanks!

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar

    The site/blog is wordpress hosted, but it’s currently private.

  • Unknown's avatar

    To hide the left column for pages only in the Blaskan theme, add this to your Appearance → Custom Design → CSS editor:

    .page #primary {
    	display: none;
    }
    
    .page #content {
    	width: 790px;
    }

    To hide the right column:

    .page #secondary {
    	display: none;
    }
    
    .page #content {
    	width: 790px;
    }
  • Unknown's avatar

    Yes, thank you so much. I actually just figured it out on my own last night! :)

  • The topic ‘Would like to vary # of columns on pages vs posts’ is closed to new replies.