WordPress.org

Forums

remove side bar (6 posts)

  1. cscan
    Member
    Posted 4 years ago #

    I am using the Small Business SEO 1.0.3 theme. I am not using the side bar and would like to remove it but is there a way to center my pages so there isn't a wide empty column on the right? My site is jackswelding.net.
    I know a little about code but not alot. I can add and remove if I know exactly what needs added or removed and where. Please help me if you can.

  2. alchymyth
    Forum Moderator
    Posted 4 years ago #

    make a backup copy of all theme files before editing

    a:
    search through all templates for 'get_sidebar()' and remove this.

    b:
    edit style.css of your theme;
    find:

    div#content {
    margin:0 310px 0 0;
    }

    to expand the pages,
    change to:

    div#content {
    margin:0 0px 0 0;
    }

    c:
    to center the pages,
    change to:

    div#content {
    margin:0 auto; width:600px;
    }

    change the width to your needs.

  3. cscan
    Member
    Posted 4 years ago #

    Thank you very much the result was PERFECT!!

  4. alchymyth
    Forum Moderator
    Posted 4 years ago #

  5. edwardBe
    Member
    Posted 4 years ago #

    Hi,

    I'm having the same problem, and was able to remove the sidebar, but my style.css doesn't have the div#content{} element, so I can't find a way to spread the rest of the content.

    The size of the content seems to be determined dynamically by functions within the .php files, but I can't find where to edit them.

    Thanks,

    Edward

  6. mickys
    Member
    Posted 4 years ago #

    Thank you alchymyth !
    Worked perfect

Topic Closed

This topic has been closed to new replies.

About this Topic