Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: numerabilis commentedPlease, suply the Gifs.