PDA

View Full Version : How can I change the photo border?


Bazoo
10-07-2008, 11:04 PM
Hello all!

I've been trying desperately to change that white border around the photos (simple template used).

I checked the dark.CSS file and found this, which I thaught was the part I needed to modify:


#photo {
background:#eee;
padding:5px;
border:1px solid #515151;
}

but what ever change I brought to it, it didn't show on my webpage...

Please, I need some advice!

Thanks!

dhdesign
10-07-2008, 11:42 PM
Hi Bazoo -

You are indeed in the proper part of the stylesheet that controls that border.

For the dark.css stylesheet, the lighter color in the border is actually controlled by background:#eee;, so that's where you need to make your change in color.

If you would like to make it narrower, then reduce the number of px in padding:5px;.

If you would like to remove that completely, then you need to take out the background:#eee; and padding:5px; lines, leaving just the border:1px solid #515151; property.

You can make similar changes to #photo in the light.css file, if you are also using the light style.

Bazoo
10-08-2008, 05:14 AM
Thanks for your help!

It works great!