Recent Topics

1 Jul 10, 2008 10:23    

My b2evolution Version: 2.x

Hi Folks,

I've been putting a site together for my wife and her colleagues but have reached an impass. The site looks great using the Pixelgreen skin, but the spacing between paragraphs just seems too low - for this site at least - meaning that stuff runs together too closely.

Now if it was my site I'd just put some extra line breaks in there. But this site is supposed to be for folks with no knowledge of html at all.

Alas my css knowledge isn't great and though I've tried and tried with the style sheet for pixelgreen I haven't made any headway into increasing the paragraph spacing.

Could someome explain to me which setting(s) I need to alter in Pixelgreen to increase the spacing between paragraphs?

Thanks in advance.

2 Jul 11, 2008 02:43

This is a bit of a creative solution. but I see no other apart from using javaSctipt.

Open /plugins/auto_p.plugin.php and change line 503 to:

$r = '<p>'.$r.'</p><br />';


and line 630 to:

return preg_replace( '~(?<!<br />)\n'.( $replace_last ? '' : '(?!\z)' ).'~i', "<br /><br />\n", $text );

Hope that helps.

Good luck

3 Jul 11, 2008 10:46

Thanks for your help. That got me on the right track.

I've found it works better changing line 503, but leaving line 630 alone.

Thanks once again.


Form is loading...