Forums / Templates, Stylesheets, Page Layout / Rounding off the top corners of my layout boxes

Rounding off the top corners of my layout boxes

Started by mighty_midget on 13 Jan 2012, 6:35 PM · Views: 1,897

Results 21 to 23 of 23
15 Jan 2012, 3:57 PM
#21
melissamiller8 avatar

melissamiller8

New Zenner

Join Date:
Jan 2011
Location:
Iowa
Posts:
87
Plugin Contributions:
0

Rounding off the top corners of my layout boxes

Can somebody look and see where I went wrong here, the bottom area?

http://creativesimplicitywebdesign.com/shop/

16 Jan 2012, 12:51 AM
#22
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Rounding off the top corners of my layout boxes

melissamiller8:

Can somebody look and see where I went wrong here, the bottom area?

http://creativesimplicitywebdesign.com/shop/

The center box heading uses the same image as the sidebox headings. Since the side box heading isn't as wide, it's repeating. This is the relevant code in the stylesheet:

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
margin: 0em;
background-color: #999999;
background-image: url(../images/tile_back.gif);
padding: 0.5em 0.2em;
}

You can create a new image for it that is the correct width, upload it to the images folder for your template, then remove .centerBoxHeading from the code above and re-add it like this:

.centerBoxHeading {
margin: 0em;
background-color: #999999;
background-image: url(../images/you_new_image.gif);
padding: 0.5em 0.2em;
}

The best way to learn is to try stuff. But, back it up first.

19 Jan 2012, 3:36 PM
#23
melissamiller8 avatar

melissamiller8

New Zenner

Join Date:
Jan 2011
Location:
Iowa
Posts:
87
Plugin Contributions:
0

Re: Rounding off the top corners of my layout boxes

Thanks folks!