Forums

[resolved] TwentyTen Widen Sidebar (7 posts)

  1. neweb
    Member
    Posted 1 year ago #

    I'm trying to widen the right sidebar on TwentyTen template.

    I've tried lost of setting in the style sheet but I just can't get it.
    If I widen widget-container it appears outside the set 940px width.

    I'm trying to bring it to 260px wide and have the titles right up to the edge of the 940px width so its inline with the header and the footer.

    Can anyone help??

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Don't edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  3. neweb
    Member
    Posted 1 year ago #

    Sorry, forgot to mention.
    Its a theme based on the TwentyTen template but not the actual TwentyTen theme.

    The folder has been renamed and held seperate to the master (TwentyTen) theme.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Site url?

  5. neweb
    Member
    Posted 1 year ago #

    The site is http://sample.newebirl.ie
    It's only a sample site.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    To increase the sidebar width, edit style.css and change:

    #container {
        float: left;
        margin: 0 -240px 0 0;
        width: 100%;
    }
    #primary, #secondary {
        float: right;
        overflow: hidden;
        width: 220px;
    }

    to:

    #container {
        float: left;
        margin: 0 -280px 0 0;
        width: 100%;
    }
    #primary, #secondary {
        float: right;
        overflow: hidden;
        width: 260px;
    }
  7. neweb
    Member
    Posted 1 year ago #

    Thanks esmi.
    That worked perfect.

    I just could not find the code combination :)

    I have added this to a text file and stored it on my system.

Topic Closed

This topic has been closed to new replies.

About this Topic