WordPress.org

Support

Support » Themes and Templates » removing sidebar and expand main content

removing sidebar and expand main content

  • Hi i managed to remove the sidebar in the jarrah theme
    but can somebody tell me how to expand the main content, that it has a layout for the full page ?
    THANKS

Viewing 8 replies - 1 through 8 (of 8 total)
  • Michael
    Forum Moderator

    @alchymyth

    for formatting and css questions, please post a link to your site,

    or use a free tool such as firebug to investigate the site structure to find the right css selectors to edit.

    Michael
    Forum Moderator

    @alchymyth

    at the moment, i see a sidebar – are you going to remove the sidebar site wide?

    assuming that the div with the css id #rightcol (the ‘sidebar’) is removed, try to change the width of #maincol to 100%;
    in style.css:

    #maincol {
    	display: block;
    	width: 572px;
    	float: left;
    }

    and edit the background image:
    images/metabg2.png

    did what you told but its still placing the text to the left,removed the sidebar but main content is still not expanding .

    Michael
    Forum Moderator

    @alchymyth

    i see the content over the full width – clear your browser cache either by pressing the ‘reload’ button a few times, or with ‘CTRL F5’ in windows pcs

    snaushads
    Member

    @snaushads

    This video demonstrates How to do it

    Asif
    Member

    @deadgroup

    Hi i managed to remove the sidebar in the Mantra theme but can somebody tell me how to expand the main content, that it has a layout for the full page?

    http://www.aklapothik.com/archives/1982

    radhika
    Member

    @arti-singh

    @asif

    You have to need to edit the content width in your style.css file:

    #content {
     width: 100%;
    }
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘removing sidebar and expand main content’ is closed to new replies.