Blockquote is used to display certain text different from other to catch the eyes of the readers. It is used to show special message or idea by author. On Tech blogs they use blockquote to show soecial Tricks & Tips. Here at BM we use to share codes with you. In this tutorial i will show you to customize blockquote in blogger using some simple Html & CSS. This blockquote can be customized to match your blog layout. So lets get started.
Have a Look at each one of them. Details of adding the blockquote to your blogs and websites are given in the implementation and customization section.
Blockquote With a Fancy Border and Owl Image
Code:
blockquote {
margin : 0 20px;
padding: 60px 30px 40px 20px;
background : #F1F8FE url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZzw64T5Ah8rScxQwPVg55X90pgivEk5KasUElvqtn7M3KCFwVs95U4irDEADf5z6xKBFAuokGR9ZAuYP4NI4_vihRRr6c9y-CDKr1Ou54g-hIq7oxLGr8oaiCAwOsOZm43idsIVJ3Bzs/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/AVvXsEioBPwREY06jzUS2QjTwLHh9KlH8OqiXCvIxz3MUpP2un-ZXYMdfG6-0Nx0vgDvk_9wYzMKILXbaBrSiIs47myvqgcdwsHnNtycQv37le6fB-YZZybtOqeavOudl0Na1ctd3Ab33Bla-6I/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
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 10px 20px 25px 20px;
background : #9FCFFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhB4C2rh0JzW9VUCKmE9d35dMqt4aSj48QmT73hQjlegZtVaUbn2pAQs8vt4hO4Zmk4tHY27bn-kmEQ3mx1LGFoGYvmC-oY11Bx1s_Jnf8IJAjmuD6-FXcqvo_EkIctxxNKm-KEITHFm4/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/AVvXsEgBlTZqF3rhCIk__q4Kqck4c4eD3YeKBQ4qVe_jzeaq0N8ntVIZYbW3YdFJCyozXPb5ytwwWQjEknfVAYv4c0pXfLB9JqDmOVQ5uT5ILWdFY7NMe0TllTVIvbQIA6fq9MZi2P182L6CjeM/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; }
Dark Background with Border at Left
blockquote {
background: #484B52 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoMCXIJaxWWrITQ9TUK_oC7I25_5I2dGMqBwWuzGkb5oj0GxjlbvXJoEwB5CGqcRqpPUGrHloCQo0KKeKfyo803LwRAHgXdM3ouYq9u6SCb_BN5N_h_BgnYTpZzxLp1S6RBKNNUhIg2nY/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
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 20px 60px 80px 20px;
background : #FEE4E3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgLzop15MBfha5JHSB0PhfcKGvy72bggHK4QmwA6EnM4AyWvZ6lofEFaaAiM5wK3MTHWvg3scsxzrTWNSPvEwk8CYCTTchPL5nw_z7CFhiHf9az3Y4rV9dIQ0-VSTS2GurpieZ95nUq5k/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
Blockquote Code:
.post blockquote {
font: 18px normal Tahoma, sans-serif;
padding-top: 10px;
margin: 5px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZfuQPiFUKg6gdsqWIkwNamoN5-glXs8SmFKOGhetEUz6MGF1Ysdgwkp6AvyMQKpoIws4MlHp-FWK86WIFdH1GGh834MDBw6t7LvvWZJf1iZc995PTrzRwCD5xRmwye5i88x7qAWQavKY/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/AVvXsEjmHYZJcbO5RQLs1TH130jetOfoOVEurZNjA-9pLGpIUMgvIlepgAk639e9DerqitxfaOOOZGdqtxaaWMYNqNEsgbc043a-_9s8pkxcSoFh2SFFUJYRtEY6Ff88E8J8F6IqWte_My3I-Tk/s400/comma-right.gif) no-repeat bottom right;
padding-bottom:10px;
}.post blockquote p {
margin: 0;
padding-top:10px;
}
Blue Text Color and Images at Cornorers
Blockquote Code:
.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/AVvXsEjNkgoqqZ2wRWfi2YlOesSE04-1Ch2IfjawnjWPYO41DlxU-leW5nfwAKgl8J9EOdKTTjsxqh01duWLGwTPVUm4VMeuEYpNX-EulZ5X97vomegS8UNU90FHQH3RYHtuqyB9ExqZq1_GDnw/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/AVvXsEg7j-yIhVkTlqM3uRXPpQFAZ4we9VxrXT3x5jPkWlsWW6mTAC_vKU5Aul1NzBhuuE-Na_FYfjwbWeE_VOM6mCeqR15WxdUjZs8IGe7UnMj7LH9UrHRlyWejxFVfcEctGzJnqCMK_l8jM7k/s400/right.gif) no-repeat bottom right;
padding-bottom:30px;
}.post blockquote p {
margin: 0;
padding-top:10px;
}
Inverted comma Style
Blockquote Code:.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/AVvXsEgdRCWAxleK-OllSrfUvJ9fvietblEzjWnn7TFFGGESrH45ZTxX6bxWbc27Ve9piWLJuk8r9WSg4OdyGyojox4uaGAR8KTLxV0M6md5pnGDG3AXLz3JUAyIWDaWqszeQwtgTXW5Ity4at4/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/AVvXsEjjT4KubprXTqqg5rGJJoiSKAmH59YjX7oMS1yPpvRkxW_F6J4VhiZD3Dn886DqKrBxDIKor0Ts3lb5dVr80B48NIjLoyLux4bHyaFpUGaKG6_K2Y2wmsS1VbfLRpIqlh6HD20LS21kQuQ/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
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 70px 20px 20px 20px;
background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp1U4cXAdNbjPTzcLNAqQWSku5OoYqB6t8a5Q-C_yDaEFbYywERbglHuLcbNtJdDYQvhIbYNXodWMXqiomJbIXm-vwmjPL2MLsSirlDyioHZSibfMV76YESlRdpWGWM2pyC0angdgHrH8/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
Blockquote Code:
.post blockquote{
margin : 0 20px;
padding: 50px 30px 50px 30px;
background : #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJZJcS-ujRFOFJRMr3ypOfxzO59Tfz199uDBy1E-4kci6xq4gBKqJYD72VFYva-u4bNfeyo9u-k1M5xgjgKqEfY_JHN29Q5Rzp0OODsjstefY-udZyhRJZ-svZmecXuSx7Ysq32cBf3VM/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/AVvXsEiZwABpVQ_a5cFRXhYCCz33mWUsUoN_NfIgZNszyv9rTqd6tRscVhl2oM_BiP9-LqU4WnF5eKAl6Qd0ggH0p_Hond8zIx1Ud5tTRT7P_1xOKrK9WZkwcWYZKrX-b0VlvpZGykQzXDMkUPU/s1600/BLOCK1-BOTTOM.gif) no-repeat bottom;
padding-bottom: 50px;
}.post blockquote p {
margin: 0;
padding-top:10px;
}
Box Style Blockquote Surrounded By Borders
Blockquote Code:
.post blockquote {
margin : 0 20px;
padding: 70px 20px 30px 20px;
background : #E7E5DC url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWAOs5RBaHySG1QpuLqESr3LFJveVDlcfgmeK8s2dO0Un1u67pw-3qLJaKa3ZwNYYrgiBHyOg69XN66n9uf0a8J9_yuEZfbWF-Qdq4aGFwBsc8lAIZDrdHbT7vfIHc6UqSaivA2zaBMgM/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;
}
Implementaion:-
Now To add One of these amazing and unique blockquotes to your blogs, do the following,
- Go to Blogger > Layout > Edit HTML
- Backup your 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.
- Now search for ]]></b:skin> and just above ]]></b:skin> , paste the code for one of your favourite blockquotes. I am giving a sample code below
.post blockquote {
margin : 0 20px;
padding: 60px 30px 40px 20px;
background : #F1F8FE url(Paste Image Link here) no-repeat 350px 5px;
font: normal .9em "comic sans ms", Courier,"Times New Roman", Times, serif;
color : #000;
border: 8px dotted #DAB547;}
.post blockquote p {
margin: 0;
padding-top:10px;
}
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.
- After customizing finally save your template and preview it to see the interesting new change.
- I have created all images with text “Copyrighted Coding” or “Scanned Copy” etc. If you want to write something else than use my images as reference size to create your own custom images.
Note:- This amazing post was originally written by MBT
Post a Comment Blogger Facebook
Please Do not Spam. Give us Positive feedback to make this blog more better.