Paragraph breaks <p>

Phoca Templates - templates for Joomla! CMS
furdil
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Aug 2009, 12:55

Paragraph breaks <p>

Post by furdil »

When I look at the examples with the templates, I notice that all of them are missing the line breaks. My own website is missing them also. I see in the HTML code the <p> command, except after a paragraph I don't get the empty lines.

Where do I need to change the template to get empty lines in my text?

Regards
Gerard
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paragraph breaks <p>

Post by Jan »

Hi, sorry I don't understand? Which template do you use? and where you want to get line breaks (in article, if yes, this needs to be added in editor)?

Jan
If you find Phoca extensions useful, please support the project
furdil
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Aug 2009, 12:55

Re: Paragraph breaks <p>

Post by furdil »

Hi, I'm using the phoca nature template. I have found the cause of the problem. The first line in the template.css file, puts for all commands the margin to zero. There is someting like

* { margin: 0;}

This means that also for the <p> command there is no margin anymore, thus no empty line.

My advice is to change this first line in the template.css to indicate for which commands exactly the margin should be 0.

Kind Regards
Gerard
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paragraph breaks <p>

Post by Jan »

Hi, thank you for the information,

this is because of problems with tabs rendering which can be used in Joomla!

Try to see tabs if you have no error there.

Jan
If you find Phoca extensions useful, please support the project
Post Reply