This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » The use of paragraph breaks in code

The use of paragraph breaks in code

The use of paragraph breaks in code

Tuesday 01 April 2003 6:35:43 am - 4 replies

Could somebody please explain how we can change the paragraph spacing used through out ezpublish. For example it seems to be used after article titles, after the article body and again after "Read more...". I would like to reduce these gaps but I am unable to find where thier location as they are not found in the templates.

In eZ publish 2.2.x I had a similar problem but was able to locate them in one of the classes.


Thursday 03 April 2003 1:04:57 pm

Have you looked at the templates in design/standard/templates/content/datatype/view/ezxmltags?
They should give you the possibility to adjust the spacing between various elements, also changing the stylesheets might help.

Friday 16 May 2003 2:05:00 pm

I am struggeling with a similar problem. I have tried everything but it seems the parser keeps throwing paragraph breaks in. Although removing the <p> from paragraph.tpl does remove the spaces between title and intro it also removes the paragraph breaks within the content itself.

Can you please tell me where I should be looking?

Friday 16 May 2003 2:26:25 pm

Look at the stylesheet you are using. If using the standard core.css you will see lines like:


padding-top: 0.5ex;
padding-bottom: 0.5ex;
margin: 0px;

Adjusting or overriding these may help. From what i remember the html the ezxmltags insert will use the css from core.css

Also look at the html source being produced. This will help to show exactly what html code and css tags (or lack of) are being applied, then look through the css file.

Hope this helps


Modified on Friday 16 May 2003 2:28:02 pm by Paul Forsyth

Friday 16 May 2003 3:25:26 pm

Thank Paul

That had been pissing me off for awhile. It was the missing paragraph info within the css I'm using.



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from