Bootstrap: Add class for center-aligned blockquotes

Created on 29 Mar 2016  路  4Comments  路  Source: twbs/bootstrap

If you see majority of websites, The quotes / testimonials are center aligned. So its good to make a center-aligned blockquote.

<blockquote class="blockquote blockquote-center">
  <p class="m-b-0">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
  <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>

Optional: Add an Image Avatar at top in the Docs using existing classes?

PS: Is that search button on the documentation actually works? I did a search for "blockquote" but returned no result found :(

~Surjith

css feature v4

Most helpful comment

Something like this:
testimonials

It adds text-align: center, removes the grey bar and make &emdash; before the cite.

All 4 comments

What styling did you have in mind for .blockquote-center?

The search box in the v4-alpha docs only searches the page names, not their contents.

Something like this:
testimonials

It adds text-align: center, removes the grey bar and make &emdash; before the cite.

This was made possible with #22949.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knownasilya picture knownasilya  路  3Comments

leomao10 picture leomao10  路  3Comments

athimannil picture athimannil  路  3Comments

iklementiev picture iklementiev  路  3Comments

eddywashere picture eddywashere  路  3Comments