This is a
tutorial on how to add different background color or image in each blogg
post. When you have multiple authors on a blogger blog and want to make
a specific post stand-out, then you can change your posts background
color or place a background image behind them, each time when it is
needed. Here I will show you in step by step method how to add different
background color or image in each blogger post. Remember that this
won't take effect if you have the read more function enabled on your
blog.
How to Change the Color of the Post Background
When you create a post, switch to HTML, near the Compose tab and add the following code just at the beginning and at the end of your post content.
<div style="background-color: #DCC368; padding: 5px 8px 5px 8px;">Write your text here....
</div>
- add the red line at the BEGINNING of your blog post.
- add the div tag in blue at the END of your blog post.
- replace the part in green with your own color (search for color's hex value)
- "Write your text here...." is where the you write your post content.
It's done by wrapping your Post content into a "div" element. You can apply this setting anytime to your already published posts as well or you can change/remove it later.
How to Add a Background Image in a Blogger Post
Add the following code just at the beginning and end of your post content.
<div style="background-image: url(IMAGE-URL-HERE); background-repeat: no-repeat; ">Write your text here....</div>
in green, you need to paste the URL address of your image.
- the red line has to be added at the beginning of your post.
- the blue part has to be added where your post ends.
- "Write your text here...." is where your write your post.
Now click Publish and view your blog. You have done now.
No comments:
Post a Comment