Community Documentation

Block quotes

Last updated August 25, 2009. Created by zeta ζ on May 31, 2007.
Edited by bekasu. Log in to edit this page.

If you would like to display multi-paragraph quotes with quotation marks as characters, rather than using images, you could use this;-

blockquote p::before {
  content: open-quote;
}

blockquote p::after {
  content: close-quote;
  visibility: hidden;
}

blockquote p:last-child::after {
  visibility: visible;
}

Of course, you can add indenting etc. as required.

Markup is simply;–

<blockquote>
  <p>paragraph one</p>
  <p>paragraph two</p>
  <p>paragraph three</p>
  <p>paragraph four</p>
</blockquote>

NB Only tested on Firefox.

Happy quoting.

About this page

Audience
Themers

Theming Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here