Simple Guide to Styling Blockquotes Within Your Posts for Those with Limited Technical Skills

by Jason Francis Hunter on March 9, 2008

Styling Blockquotes

Part six of: “Stylizing Your Content”.

For this, there is only one file you will be working with:

  1. style.css

You can find this in your WordPress admin under Presentation > Theme Editor - listed on the right hand side.

Open up your style.css file and look for the following:

blockquote {
padding-left: 10px;
border-left: 5px solid #ddd;
color: #666;
}

The red part is what you’re looking for, the middle is what we will change to suit our style (if you can’t find it, then create it).

Styling Blockquotes

Here’s a bunch you can either use as is, or tweak to fit your template:

Style #1

blockquote {
padding-left: 10px;
border-left: 5px solid #ddd;
color: #666;

}

Example:

“Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur mattis, orci vitae adipiscing venenatis, erat metus faucibus est, sed convallis nulla leo ac metus.”

Style #2

blockquote {
font-family: ‘Times New Roman’, Times, Serif;
padding: 10px;
color: #666;
font-style: italic;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;

}

Example:

“Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur mattis, orci vitae adipiscing venenatis, erat metus faucibus est, sed convallis nulla leo ac metus.”

Style #3

blockquote {
font-weight: bold;
font-style: italic;
color: red;

}

Example:

“Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur mattis, orci vitae adipiscing venenatis, erat metus faucibus est, sed convallis nulla leo ac metus.”

Style #4

blockquote {
border: 3px dotted #ddd;
padding: 10px;
font-style: italic;
color: #666;

}

Example:

“Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur mattis, orci vitae adipiscing venenatis, erat metus faucibus est, sed convallis nulla leo ac metus.”

Now, whenever you wrap something in a <blockquote> tag, it will display accordingly.

See you soon for part seven of “Stylizing Your Content”.

Christian from Smiley Cat Web Design has put together a great pullquote showcase. Go check it out.

Image credit: ximenatapia.

Bookmark/Share this post:
  • StumbleUpon
  • del.icio.us
  • Digg
  • Mixx


{ 8 comments… read them below or add one }

1 lawton chiles 03.09.08 at 6:31 pm

Jay, rock on buddy. I recently styled some block quotes with the help of a friend. I need more padding on mine though.

Next, can you show us how to do that call out for post series on the top of the posts

“Style Content Part 5″ it’s in green. I guess it’s just a background css style.

Thanks again,

lawton

lawton chiles’s last blog post..Links for 2008-03-08 [del.icio.us]

2 Jay Francis Hunter 03.09.08 at 7:37 pm

Sure thing Lawton. It’s coming in part 9. Which should be up late this coming week.

By the way, I’m diggin’ the new welcome video you added.

3 Carolyn B. 03.10.08 at 1:57 am

Thanks! I really appreciate tips like this. I don’t really know much about css myself but can follow instructions well. :o)

Carolyn B.’s last blog post..How Do YOU Use Entrecard?

4 Jay Francis Hunter 03.10.08 at 3:22 am

Hey, it’s Bloggety-blog-blog, I remember dropping a card on you last night. ;o)

Thanks for stopping by Carolyn.

5 Flimjo 03.10.08 at 8:17 am

Jay, this is very helpful stuff. For html-illiterate people like me, this really helps us out in becoming successful bloggers.

Flimjo’s last blog post..Buffett-isms: The Wisdom of Warren Buffett

6 Jay Francis Hunter 03.10.08 at 9:17 am

Very happy you’ve found it useful. :o)

7 Christian Watson 04.22.08 at 5:21 am

I pulled together a pullquote showcase a while back which you may find useful for more examples.

You have to view source to see the code, but it’s pretty easy to decipher.

8 Jay Francis Hunter 04.22.08 at 6:11 am

Added them. Thanks. :)

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recommended Resources

Advertise on Scribbles & Words