Page 1 of 1

Serendipity v2.3 Template and NL2BR plug-in

Posted: Wed Sep 21, 2005 5:12 pm
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.

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

Posted: Wed Sep 21, 2005 6:59 pm
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