The MU forums have moved to WordPress.org

Sidebar with rounded top & bottom? (2 posts)

  1. helenw
    Member
    Posted 14 years ago #

    I am working on a theme and would like to put a rounded top and bottom on the sidebar. I can't figure out how to modify the css and sidebar to get the pieces to show up. I have created the images which include a background color and a top and bottom.

    Can anyone help?

    Thanks,
    Helen

  2. matt123
    Member
    Posted 14 years ago #

    Helen,

    There are a number of ways to go about doing this. I would suggest searching for css and rounded corners on the web. That will give you a lot of information.

    Do you want one large box for all content in the sidebar or multiple smaller rounded boxes?

    For a quick overview I slice my rounded boxes up into three pieces, top, middle, bottom. when doing the middle piece you only need 2 pixels or so if the background is constant. You can use css to repeat the image. That way it will adjust in size depending on the content within the tags. The command is repeat-y.

    Hope that helped.
    Matt

About this Topic