WordPress.org

Ready to get started?Download WordPress

Forums

Remove Sidebar on specific pages (3 posts)

  1. Daytime Dreamer
    Member
    Posted 3 years ago #

    Hi there all

    I am going nuts cause I've googled all night and tried all sorts of things but nothing worked

    First of all this is my blog : http://www.sumo.gr

    I am using the Twenty Ten theme

    What I want to do is remove the sidebar on specific pages like the "about us" page and some more

    If I select "one column - no sidebar" in the page option everything shifts to the right. Even if I widen the page to 900px in the style.css file nothing happens

    Note that I have changed the default sidebar column from right to left via some code I found googling

    Can anyone please help?

  2. Syamil MJ
    Member
    Posted 3 years ago #

    What you possibly need is a custom page template
    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    For example:
    1. Create a file named full-width.php
    2. Copy the codes from here into the file http://pastebin.com/WM1e6J21
    3. Add in your style.css file, just below #container:
    #container-full{width:100%; margin:0;}
    4. Edit the page you want to have full width, then pick "Full Width" under Page Attributes > Templates.

  3. Daytime Dreamer
    Member
    Posted 3 years ago #

    Thanks schmill! I'll try it and report back :)

Topic Closed

This topic has been closed to new replies.

About this Topic