I understand what you're trying to do. I don't know how to remove the p tag.
But I have another suggestion if you have just one paragraph in the intro(s). If you have, you can move the read more link code in the template into the intro div. And after that you can use css to set the <p> of the intro <div> to inline instead of block. That way the other inline element the a tag of the 'read more' will flow behind it instead of under it.
Something like this: .intro p {display: inline;}
Also if you don't want the p's maybe you can change the intro field from a XML Text field to a Text Field (which I assume doesn't generate the p tag).
Probably your intro is an XML textfield, and then EZpublish automatically uses a bunch of different templates (ezxmltext & ezxmltags) from the standard design folder.
If you turn on
[TemplateSettings] Debug=enabled
- you'll see which ones are used. Then you also have the possibility to remove paragraphs from these templates.
You can also override these templates, just by placing them in the right folder in the yourdesign/override/ folder. Regards Bjørn
You must be logged in to post messages in this topic!