WordPress.org

Ready to get started?Download WordPress

Forums

URGENT HELP NEEDED! Sidebar/Content Stretch (5 posts)

  1. samanthamason
    Member
    Posted 2 years ago #

    Hi guys,

    I've searched all over this forum and tried a few of the tips already provided, however I still can't get what I'm looking for.

    Basically, I'm working on http://www.safetytestingspecialists.co.uk and I've removed the sidebar of the content pages (or at least I think I have). However the content is not stretching over the width of the page and I'm left with a huge gap on the right hand side of each page.

    Can anyone help with this asap? We're looking to start advertising this site early next week! Many thanks in advance.

    Sam

  2. vtxyzzy
    Member
    Posted 2 years ago #

    Adding the line below to the end of style.css will widen the content div. However, the classes might not be unique, so you need to look carefully for unwanted side effects.

    .box_twothirds, .box_2_3 { width: 90%; }

  3. samanthamason
    Member
    Posted 2 years ago #

    Thanks, I tried this but unfortunately nothing has changed. What do you mean by classes not being unique?

  4. samanthamason
    Member
    Posted 2 years ago #

    Oh I see what you mean now. I changed the box_2_3_ to box_1 and that worked ok. Thanks so much.

  5. vtxyzzy
    Member
    Posted 2 years ago #

    The .box_xxx names are CSS classes that are applied to various elements in the theme. Those class names may be used in several places and so all of those elements would be affected by the change in width.

    Make sure you look at all parts of the site to see if any elements were affected other than the one you wanted.

Topic Closed

This topic has been closed to new replies.

About this Topic