WordPress.org

Ready to get started?Download WordPress

Forums

application
Remove white space of sidebar (3 posts)

  1. sati628
    Member
    Posted 12 months ago #

    Hello,

    My site is cheaplinerental.co.uk

    I would like to remove the white area where the sidebar should be on each page apart from home like so example

    I would like teh main content to span across the whole width under the nav bar.

    Thanks

  2. Laura Hartwig
    Member
    Posted 12 months ago #

    Hi,
    I'm not familiar with this theme, but you seem to have a left column and right column. If you don't see a way to select one column only, you can always change this with CSS.

    If this is not a custom theme, you will need to use a Custom CSS Plugin to make these changes so they don't get overwritten during any updates. If it's a custom theme, you can find this in your style.css file and make the appropriate changes.

    Here is the CSS you will need:

    #content #left-col {
        border: 1px solid #DDDDDD;
        border-radius: 5px 5px 5px 5px;
        float: left;
        margin-right: 0;
        padding: 0 5px 20px 25px;
        width: 922px;
        z-index: 1;
    }
    #content #right-col {
        float: left;
        padding: 0 0 0 3px;
        width: 0;
        z-index: 1;
    }
    .post-entry {
        float: left;
        padding-bottom: 10px;
        padding-top: 10px;
        width: 900px;
    }

    This should get you most of the way to what you want. Hope it helps!

  3. sati628
    Member
    Posted 11 months ago #

    Hello Laura,

    That worked beautifully!
    Thank you very much!

Reply

You must log in to post.

About this Theme

About this Topic