Closed (works as designed)
Project:
Celju
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2008 at 20:33 UTC
Updated:
28 Dec 2018 at 17:37 UTC
Jump to comment: Most recent
Hi,
currently you can use only one paragraph inside blockquotes, because if you use for example 2 paragraphs, then you will have 4 quotes. So you can create paragraphs only with <br> tags.
I suggest a better CSS snippet:
blockquote {
background: transparent url(images/open-quote.gif) left top no-repeat;
}
blockquote div {
padding: 0 15px;
background: transparent url(images/close-quote.gif) right bottom no-repeat;
}And this is even shorter, and cleaner! If you use this snippet, make sure you create a div container inside each blockquotes. (this is even a requirement because the theme is XHTML Strict, so you cannot just type text right away inside blockquotes.)
Now this is possible to create multiple paragraphs inside a blockquote:
<blockquote>
<div><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed at erat. Nam vulputate pretium nibh. In sed purus.</p>
<p>Quisque ullamcorper lectus. Nulla a leo. Mauris sed est. Aliquam tempor, dui vel molestie bibendum, lacus massa ornare mi, sed adipiscing mi purus sed mauris.</p></div>
</blockquote>
Comments
Comment #1
sk33lz commentedMost WYSIWYG editors apply the
tag by default when you start typing inside of a blockquote. If you want to style your blockquotes differently, be my guest, but I'm not going against the standard for 1 particular request.
Please use breaks, or possibly add additional CSS that will take care of your specific use case to the theme.
Comment #2
numerabilis commentedPlease, suply the Gifs.