WordPress.org

Support

Support » How-To and Troubleshooting » Remove sidebar for all pages and extent the content width

Remove sidebar for all pages and extent the content width

  • I am trying to create a website using webfolio theme not a blog. I dont need side bar’s and I have removed it. Now I am trying to extent pages content width to occupy the side bar space too.

    May I know how can I do this?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Do you want the sidebar to appear on any pages at all?

    Also, if you post a link to your site, it would make understanding how to help easier for us.

    Actually I want to remove the side bar for all the pages and extent the width of the content.

    Here is the temp link,

    Here you can see there is more space in right corner where I have removed the side bar.

    In your style.css file of your theme change this:

    #colLeft{
    	width:615px;
    	float:left;
    	padding-left:3px;
    	padding-top:15px;
    
    }

    to this:

    #colLeft{
    	float:left;
    	padding-left:3px;
    	padding-top:15px;
    	padding-right: 3px;
    }

    Great! Really works fine!

    Another information needed. Would it possible to increase total width (include menu bar,page width title width) for the site?

    Also if I view page info of this site from firefox it shows the generator is wordpress. Would it possible to change or hide?

    Would it possible to remove the current Home page and add new one of this site? If not how can I edit it with my own content?

    Add this code to your theme functions.php

    remove_action('wp_head', 'wp_generator');

    Not knowing the exact theme, I’m not sure how to change the content of the front page of the theme.

    Ok thanks.

    What about,

    Another information needed. Would it possible to increase total width (include menu bar,page width title width) for the site?

    How wide do you want it?

    I need wide with 10cm extra on both the sides

    So you want the margins on the left and right wider than they are?

    Yes. That’t it I need.

    find in the css file something like

    #wrapper {


    }

    and increase the width value.

    Also find the actuall image of the navigation, and you will need some painting program, and just make it longer. The image name is bk_topmenu.png

    This should work

    oh, also the footer – find in css file

    #innerFooter {

    }

    and alsos increase width value

    Hmm when I try increase the value of wrapper the header of the page only extents and not the full page 🙁

    [please don’t bump]

    I’ll point out the values you need to change in your style.css file

    [please read the forum guidelines for posting code – there is a 10 lines limit for posting direct in the forum – for any code over 10 lines, please use the http://pastebin.com/ ]

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Remove sidebar for all pages and extent the content width’ is closed to new replies.
Skip to toolbar