Serendipity v2.3 Template and NL2BR plug-in

Creating and modifying plugins.
Post Reply
vikram_khatri
Regular
Posts: 14
Joined: Fri Sep 16, 2005 9:23 am

Serendipity v2.3 Template and NL2BR plug-in

Post by vikram_khatri »

Hi,

I am using Serendipity v2.3 template :oops: with WYSIWYG editor. It seems that the new lines do not get converted to <br/>. I guess that it could be related to style sheet and was wondering if you could point me how to fix this.

Please look at the blog http://bluestar.zinox.com for the first entry to see what I mean by it. But if I use the other template "Kubrick 1.2.6 port" :D then it works well but I would like to use Serendipity v2.3 template.

Thanks.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Serendipity v2.3 Template and NL2BR plug-in

Post by garvinhicking »

The default template contains this style setting:
.serendipity_entry p {
margin: 0px;
padding-bottom: 0px;
}
This tells that paragraphs have no margin. You need to change that if you want the paragraphs to have margins. It was changed to have no margins because when using the WYSIWYG editor, the first paragraph made problems when you embed images first in the entry.

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/
Post Reply