How to show different background color or image for separate posts or paragraphs

To highlight a paragraph in a post, or to add a color to the complete post, like the one displayed, add these code lines to the post/paragraph.

<div style="background:#FFE1FF; padding:5px 8px 5px 8px;">
YOUR TEXT HERE
</div>

In place of #FFE1FF, put the hex HTML color code of any color as you like.




And to add a background image to the entire post or to any specific paragraph, use this code
<div style="background:url(URL/Direct link OF the Image) no-repeat;">
YOUR TEXT HERE
</div>
Blogger Help

0 comments:

Post a Comment