WordPress.org

Ready to get started?Download WordPress

Forums

removing sidebar and expand main content (9 posts)

  1. hellmouth
    Member
    Posted 2 years ago #

    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

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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.

  3. hellmouth
    Member
    Posted 2 years ago #

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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

  5. hellmouth
    Member
    Posted 2 years ago #

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

  6. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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

  7. snaushads
    Member
    Posted 2 years ago #

    This video demonstrates How to do it

  8. Asif
    Member
    Posted 1 year ago #

    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

  9. radhika
    Member
    Posted 1 year ago #

    @Asif

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

    #content {
     width: 100%;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic