Borders around entries

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Borders around entries

Post by holysjit »

Does anyone know how to get borders around entries?

Please give me the CSS code!

Thanks
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Borders around entries

Post by yellowled »

holysjit wrote:Does anyone know how to get borders around entries? Please give me the CSS code!
Usually,

Code: Select all

.serendipity_Entry_Date {
   border: 1px #000;
}
or something similar should do the trick. However, this may or may not depend on your actual theme, so you should probably give us a) an URL to your blog and b) a more detailed description what you want to do.

YL
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

This is my website.
http://img295.imageshack.us/img295/5251/naamlooslf7.png

I want a square around the entries.

I tried to change the template.
By _Entry_Date I created a border, but now all borders are away.


PS. I changed the Carl template a bit.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

We can only help you if you give us the URL to your site, not a screenshot. This is because we need to see the HTML to tell you the CSS you need.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi

if you want a border around all the entries you should add it to #content
or if it's around each individual entry you need to add

.serendipity_entry_body {
border: your border code;
}

to the style.css file

HTH

Dave
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

d_cee wrote:if you want a border around all the entries you should add it to #content or if it's around each individual entry you need to add
... and remove the border-top for .serendipity_date.

YL
Post Reply