How can I style a blockquote in a post?
When creating a post with a blockquote, the quoted text will be indented on the right and left to set it off from other text. However, if you would like to add more style to your quotes, you can use the Edit HTML tab to make changes to edit the blockquote using inline CSS. For example, after inserting a blockquote in the Rich Text Editor, you can click on the Edit HTML tab and look for text like this:
This is some quoted text.
This is some quoted text.
This will display your blockquote with a 2 pixel wide dark-grey border, 8 pixels of padding inside the border, and a lighter grey background. Example:
This is some quoted text.
Pro subscribers have access to the feature, which allows you to easily make stylesheet changes for your entire weblog. This will allow you to edit the display of your blockquotes without editing the HTML of the post each time you include a quote. For the same results as above, you would add the following in Weblogs > Edit Design > Custom CSS:
blockquote { border: 2px solid #666; padding: 10px; background-color: #ccc; }
If
your blog is using Advanced Templates, you would add the above code to
the Stylesheet template. If you would like more information on all the
possibilities of styling elements with CSS, there is a useful tutorial here.22 Amazing Examples To Customize Blockquote Style In Blogger!
Blockquotes a really a very nice way to differentiate some of the content from the rest. And it is also a nice way to impress the users by using a cool style for the quote In this post i have given the different styles of blockquotes from different sources just check the styles.
Style 1
blockquote { margin: 1em 3em; padding: .5em 1em;
border-left: 5px solid #fce27c; background-color: #f6ebc1; } blockquote p
{ margin: 0; }
Style 2
blockquote { margin: 1em 3em; color: #999; border-left: 2px solid #999; padding-left: 1em; }
Style 3
blockquote { margin: 1em 2em; border-left: 1px dashed
#999; padding-left: 1em; } blockquote p:first-letter { float: left;
margin: .2em .3em .1em 0; font-family: "Monotype Corsiva", "Apple
Chancery", fantasy; font-size: 220%; font-weight: bold; } blockquote
p:first-line { font-variant: small-caps; }
Unlike other quotes this style has an option of bold first letter. Style 4
blockquote { background-color: #666; color: #fff;
font-weight: bold; padding: 10px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; }
Style 5
blockquote { background-color: #666; color:#fff;
padding: 15px; margin: 1em 40px; -moz-border-radius-topleft: 15px;
-webkit-border-top-left-radius: 15px; -moz-border-radius-topright:
15px; -webkit-border-top-right-radius: 8px;
-moz-border-radius-bottomleft: 15px; -webkit-border-bottom-left-radius:
15px; }
Blockquote With a Fancy Border and Owl Image
blockquote { margin : 0 20px; padding: 60px 30px
40px 20px; background : #F1F8FE
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2rW-pcmSJZrpAXhLH-SzS4sNenyKXYYSL5m8Up0ji4k9bB1XD4evAGfB78Wu1YLLwpUujPvajTSqbjosdIxERFXoifIWzWCFT-MpDmu8yDs4gWAGMoUnXoalU6HkBdRMHEBTtPvmYAO0/s400/owl.png)
no-repeat 350px 5px; font: normal .9em "comic sans ms", Courier,"Times
New Roman", Times, serif; color : #000; border-left: 8px dotted
#DAB547; } blockquote p { margin: 0; padding-top:10px; }
Blockquote With a Purple Corner Label and Border At Bottom
.post blockquote { margin : 0 20px; padding: 70px
20px 20px 40px; background : #E4EAFE
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWdnPwru88BTL3pOy0dacUYmN4385BsAWVGk6AkCIqAtQJywmtArSBSQSH9-BgrsSr9jse2eDatI_1kLhR3XiOBfTl0WkikH-4euXO97N0qWC8pSVqQkKtO9cYJ3Wgjg9W-htdcLaFwS4/s400/angular-purple.gif)
no-repeat top left; font: bold 1em Helvetica, verdana, Georgia, "Times
New Roman", Times, serif; color : #000; border-bottom : 5px solid
#435388; } .post blockquote p { margin: 0; padding-top:10px; }
Jigsaw Blockquote With An Image At Right Corner
.post blockquote { margin : 0 20px; padding: 10px
20px 25px 20px; background : #9FCFFF
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPTibTZteR-RknWvgRNGgs23yb2c9gQL7h8qrzbDLRyd7uYCeN2e3oLJ6MERqsqEpxOh3brhQW66doD4jNfx3zHk8NvbNOhfhwMCjJaEIqoionlrLUoiCSg1Xtk2LyYkSbJ3pzQCr8TcM/s400/block22.gif)
no-repeat right bottom; font: bold .9em "comic sans ms", arial,
Helvetica,verdana, Georgia; color : #484848; border: 5px dashed #fff;
} .post blockquote p { margin: 0; padding-top:10px; }
Blockquotes With Classic Left Borders
.post blockquote { background: #F3F3F1
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsAAgh0PiywkrOApO4ID1MnFrtP_Q6hcdIkA5crNy-E2JaEreoGGCWrDvEEiG4MzXJ6rPV7nClvFWA2CCAwP2Vudt0xcOP0OZACEnYUX0lQP7xyNaukpvVznKwkk_35ECvjNJnZtYuKX0/s1600/comma-side-orange1.gif)
; background-position:; background-repeat:repeat-y; margin: 0 20px;
padding: 20px 20px 10px 45px; font-size: 0.9em; font: italic 1.2em
Georgia, "Times New Roman", Times, serif; } .post blockquote p {
margin: 0; padding-top: 10px; }
Blockquotes left sided green black
blockquote { background: #484B52
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho1JxKzza4mjOOo1pBZXcYarfa94ek-0lgVS-WYFD0y2WE14q_BKalttLe_BZ5or8bFquJeK4EjAnq4iWlKmMwhRxfz1fKpwzqR2puGRRSL1N6890zvMiKeFkp_kQHpXmUMWD0In3iNHY/s1600/green-black-side.gif)
; background-position:; background-repeat:repeat-y; margin: 0 20px;
padding: 20px 20px 20px 50px; color:#C7CACF; font: normal 0.9em
Helvetica, verdana, serif, Georgia, "Times New Roman"; } .post
blockquote p { margin: 0; padding-top: 10px; }
Blockquote With A Brown Corner Label
.post blockquote { margin : 0 20px; padding: 20px
60px 80px 20px; background : #FEE4E3
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjulRQzD1TIVAKNhEWU3jRCaQLBN40Q_0mMN13_b7vu_E9Gf8O0c5k0Yuj1cHSH2_MY52q9miX11iYmkAGuzI78NX933SdMMJFA2C5iO6USe_DuS5-hiR9l_-d5xuZTYQBTCAhCpifuClk/s400/angular-right.gif)
no-repeat bottom right; font: bold italic 1em Georgia, verdana,
Helvetica, "Times New Roman", Times, serif; color : #000; border: 1px
solid #DDD; } .post blockquote p { margin: 0; padding-top:10px; }
Blockquotes With Inverted Commas
.post blockquote { font: 18px normal Tahoma,
sans-serif; padding-top: 10px; margin: 5px; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8sFpj2eGxErlXS57C9xDwcX9hYpc_INopP7ziHv49AvPTIiy4DsTWV0D1Z-ZaidUvkc_dJq0jxF2TeLinffMJ0Bu1j7w31V78afFVS8TEZhkBotDnpdgxERLT4HWOU3S3ITyqphIAgwY/s400/comma-left.gif)
no-repeat top left; text-indent: 65px; } .post blockquote div {
display: block; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOm-s76d_4t1llGJU2gmOJI7k2fHgFnIdYX9CTKKpgftqw-i2pbPVnb_azC4EOdhlNw5thHX5VZLXMYz6uR5hCKSJaGEs6rzfocJcysoHauDwl9RSDLhYtBdNa3vJZxSM5j9lOWDS_gNw/s400/comma-right.gif)
no-repeat bottom right; padding-bottom:10px; } .post blockquote p {
margin: 0; padding-top:10px; }
Blockquotes commas orange
.post blockquote { font: 18px normal Tahoma,
sans-serif; padding-top: 10px; margin: 5px; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioH5c0anwDR_yNd6GZnam3_Mgg_ne8pI7gSOaeLiJeoJgI1J19NkGnS-fkITwdwUcfyRn11QJNQwBKkTlGIPe_gk3HcL4XoOiZu-43m-G4ZWhgLpdT3-H2CwyWbGQZuH0Z1G9JZRQGQCo/s400/comma1-left.gif)
no-repeat top left; text-indent: 65px; } .post blockquote div {
display: block; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5p7iD-xBQc0Pj6Dp9tvL-lisKiMPnauUz8P-d61-PoIpN8yq7xREM6vphR8eYYzuBMoo2uWFF9TjuIOFL2xIh6EokG7K3LDIaEnz3sCdDkPscDhcouGe6XhWQnJf_xqFy8onTyILn458/s400/comma1-right.gif)
no-repeat bottom right; padding-bottom:10px; } .post blockquote p {
margin: 0; padding-top:10px; }
Blockquotes commas hands
.post blockquote { font:bold italic .9em "comic sans
ms", Tahoma, sans-serif; padding-top: 25px; margin: 5px; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb1OUuUvqbsjRGStnSFnW7U7dqJv3Xt9yDowsA_uioT5m3jAGNmD95j7W3H4lCeDoM5dnRtN9NFqcFmVBh9mDLyvMkQOeisAkh1OwV5msHoi9YFrNkV0nei-iruv8LRcjTX05au-VnkB0/s400/left.gif)
no-repeat top left; text-indent: 65px; color:#6299E4; } .post
blockquote div { display: block; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvhyphenhyphenjvGokbZTY5CvmRRqjsOnZF0moAAQ6DmXuDSPlkgabsNAX6E3dABCCtLia-uCoJb_YB7-Jp0LV7Gs4n8XtXOG9fOVwESg3JNX5Y_ncpEJL-RwzNPUszWAWgmvavMfVbyP2_Eaf2Yz8/s400/right.gif)
no-repeat bottom right; padding-bottom:30px; } .post blockquote p {
margin: 0; padding-top:10px; }
Blockquotes commas green
.post blockquote { font: italic 1em "comic sans ms",
Tahoma, sans-serif; padding-top: 10px; margin: 5px; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirkgU3X2HThnVPjAig5_5gU_eosGFOtePZa7Ko1ejN0QkrqEtljGySja0B2p_IdI6hUaq1Lp-DQmRe3HghT9gHgM9W4qDNUJmu604X3tEeRWKi13Frls0vr0UX3KnUlvy3qjq4yTFUbzY/s400/comma2-left.gif)
no-repeat top left; text-indent: 65px; } .post blockquote div {
display: block; background:
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzA_GFInBf3R-Xkknzr3MzP4qxVI343lxgT2OspeddDWt7-3U2gNIui-iQEXmWs7yZRYeCQHL1jB1tF1i9mXi4QXGoHCMXDFRiC0T8JMFBDYT8N_FF_TSwIoOiNAbuFyExjz0K0DZzXBA/s400/comma2-right.gif)
no-repeat bottom right; padding-bottom:10px; } .post blockquote p {
margin: 0; padding-top:10px; }
Blockquote With Well Aligned Image At Top
.post blockquote { margin : 0 20px; padding: 70px
20px 20px 20px; background : #E7E5DC
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwC__no5F7MrUjqpfQn3LfqzM3u6wWuakKRSonD0eXxQlJ-vXk9lFFgMShhpQHI_WoMqTexNNInCSUgFgbcsL-O64p9ca_KsfMeJFhyz-jqH6TbLjFyVIx76FcH5ngsHQy_G_OgTYmxs4/s1600/block333.gif)
no-repeat top; font: normal 1em "comic sans ms",Helvetica,
Courier,"Times New Roman", Times, serif; color : #000000;
border-bottom : 7px solid #FF0000; } .post blockquote p { margin: 0;
padding-top:10px; }
Blockquote With Canopy Style Image At Top and Bottom
.post blockquote{ margin : 0 20px; padding: 50px
30px 50px 30px; background : #FFF
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2oHUd3jH_HsASe_yMLCEw7uf4ZIKCWs0fKLJoZVpm1FC6tJn05r-SSmOEpVzdwv2hhc4DPgbd0f1os8ujW2r-1kbv2RRKyA6qeTqUHazc5yVlk3Y1oVJbNA764PU9fNaH6js2FhHAn0/s1600/BLOCK1-TOP.gif)
no-repeat top; font: bold italic 1em Helvetica, verdana; color :
#000; } .post blockquote div{ background : #FFF
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX_nLD-XXFcTcjyNB9-Or9pC8hDepfJwFB65STL8xCwtN7wR5WwAPYTn6UINibwXrJl9Z7MnLemM-Ei6CmZT9I-kYIdJYk6eoo3zDPWb6ig-_gfIs8PkMaK4yKRj9x0oiWyJd07h4fVRI/s1600/BLOCK1-BOTTOM.gif)
no-repeat bottom; padding-bottom: 50px; } .post blockquote p {
margin: 0; padding-top:10px; }
Box Style Blockquote Surrounded By Borders
.post blockquote { margin : 0 20px; padding: 70px
20px 30px 20px; background : #E7E5DC
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiodPqtd20_DeCtEFWWwCHxdAtziwHqnb0rKLnlvw9KmitWzGv1Bccs6qL_rTplBv6Q2wgfR0zJCGsEFiDSIEQAsxSdZefDXRhd4bI0414PZJ7VIqjUIEY3BiDR0kt42k-HivGZ-PPKYAY/s400/block3331.gif)
no-repeat top; font: bold .9em Helvetica, "comic sans
ms",Courier,"Times New Roman", Times, serif; color : #343434;
border-left : 7px solid #FF7802; border-right : 7px solid #FF7802;
border-bottom : 7px solid #FF7802; } .post blockquote p { margin: 0;
padding-top:10px; }
The Monkey Man Blockquote!!! Once you get an idea on how to use these blockquotes then you can create artistic and some funny blockquotes like the one below,
.post blockquote{ margin : 0 35px; padding: 80px 0px
0px 0px; background : #E6F1FA
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibGtHuxZogWwdUv0YYM53_mFeIHuV6F59pkAowVySUaNLjQSOzTA5Z3EfYekFI2go08fZErZoxABPrKQmFLNkFkcLSmd8Rgd_14N6IQCvj4WAU08P3_uGSBK4uzXcAA2Tv-56ju4A1AqE/s400/head2.gif)
no-repeat top; font: normal 1em "comic sans ms", Helvetica, verdana;
color : #666; } .post blockquote div{ background : #E6F1FA
url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieaXcrevakSBvrv2ZHvGl3Y-gA9ec24T_aPx-lYFS_WOof6ORmKSA05EOIlYYeIexelSQAaJ1pO8h5OZ6aBQOCVBdVBlSmMDbrU-lh6307BuHgfG9YcjjvvhXcHyOzP9hqyAPGANhp-bM/s400/head-bottom3.gif)
no-repeat bottom; padding-bottom: 50px; } .post blockquote p {
margin: 0; padding: 20px; }
couple of ways to dress up the lowly blockquote
.post blockquote { margin:1em 20px; } .post blockquote p { margin:.75em 0; } blockquote { background:#EFEFF7; }
big chunky quotation mark blockquote
blockquote { background-position:-10px -7px; border:
1px dashed #FFC600; margin: 20px 10; padding: 0 20px 0 50px;
background:
url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrDpXyxU6OVrvHilrcJc8QAgjaJB8JFk0Y0Y4FbHZByRKbwnOJl8bxB2xYFXV7q6YPFIADQa13R-C7aQIPKD9doftmxJu_pGQHDKc4e7WVaYB5HI0mUUT0zz0T2usEKdBK2wCFVPO1HYNK/s1600/quote.png")
5% no-repeat #FFF8DD; }
Here is one more. I use it on Buttermilk Clouds. It is simple in a fancy way. I'm changing the color here so you can see a variety. The great thing about this blockquote is you don't need an image to save and upload. It is all done with smoke and mirrors!
blockquote{ background-color: transparent; border-top: 3px double #DC143C; border-bottom: 3px double #DC143C; padding: 5px; font-style: oblique; font-size: 1em; margin-left: 5%; margin-right: 5%; }
If you want a different color, find one on this fantastic color chart then put that color code in place of #DC143C in the code above.Implementation and Customization:-
Implementaion:-
Now To add One of these amazing and unique blockquotes to your blogs, Instructions To Follow:
STEP #1 Log in to Blogger,go to Design -> Edit HTML and mark the tick box "Expand Widget Templates" and Backup your template
STEP #2
Now find (CTRL+F) this code in the template: Search for .post blockquote and delete it along with all its occurrences. In most templates the codes look like this,
.post-body blockquote { line-height:1.3em; }
OR
.post blockquote{ bla bla bla}
If you couldn’t find such code then it is OK.
STEP #3
Now search for ]]> and just above ]]> , paste the code for one of your favourite blockquotes. I am giving a sample code below
blockquote{ background-color: transparent; border-top: 3px double #DC143C; border-bottom: 3px double #DC143C; padding: 5px; font-style: oblique; font-size: 1em; margin-left: 5%; margin-right: 5%; }
Customization:-
Important areas to be customized are bolded. Where,
# padding: It refers to the distance of the text from blockquote borders. Which goes in this order –> Top Right Bottom Left
# background :- This includes Blockquote background color and image used in it. The six digit value is the background color and image link is inserted in place of bolded text in this part-> url(Paste Image Link here)
# font :- It includes font style, size and type respectively. Match the colours with the code above for reference.
# color :- This refers to text colour. You can use a different font colour using our color chart
# border :- This refers to border width, style and colour respectively. # All other blockquotes can be customized in similar way.
STEP #4
After customizing finally save your template and preview it to see the interesting new change.
Guide:- For above mentioned blockquotes you need to add some extra tags inside blogger editor as explained below, Now Whenever you have written a Quote inside the compose mode of Blogger Editor simply switch to the HTML mode and add two tags i.e
and
between the blockquote tags as demonstrated below,Your Quote Will Be Here
No comments:
Post a Comment
www.lochan.in