Page 1 of 1

Line breaks with default theme

Posted: Tue Dec 20, 2005 1:35 am
by BrainDamage
Hi !

I just installed s9y !

Well, when I use the default theme, my entries don't have any line breaks between paragraphs... But when I switch to any other theme I get the line breaks ! :shock:

What do I have to change in my CSS file so I get it repaired ?

here's a link : http://braindamage.nextrock.com/

Thanks !

Re: Line breaks with default theme

Posted: Tue Dec 20, 2005 2:19 pm
by garvinhicking
This is a "feature" of the default theme. Because of WYSWIYG editors being often used in the default theme, the paragraphs with spacings made problems when a background color was selected, or when people press "Enter" instead of "Shift-Enter" to produce linebreaks.

You can change it easily by editing your style.css file and insert a CSS line like

Code: Select all

p {
 margin: 5px;
}
Regards,
Garvin

Posted: Wed Dec 21, 2005 3:42 am
by BrainDamage
I added the line to style.css but still have the same problem...

Any other advise ? :roll:

Posted: Wed Dec 21, 2005 3:59 am
by garvinhicking
I just looked at your blog, but you did not add the code I suggested.

You need to insert this at the bottom of style.css:

Code: Select all

.serendipity_entry p {
    margin: 25px;
    padding-bottom: 0px;
}
Regards,
Garvin

Posted: Wed Dec 21, 2005 2:24 pm
by BrainDamage
Works now !!!!

Thank you a lot !!!!!!!!! :lol: