SEO Search

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 14 April 2012

How to Add Different Background Color or Image in Each Blogger Post

Posted on 15:12 by Unknown
When you have multiple authors on a 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 is needed. Therefore, this tutorial will show you how to style each post differently by adding some codes in your Blogger posts. (this won't take effect if you have the read more function enabled on your blog)


 Demo

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;">
Your text goes here...
</div>

  • add the red line at the BEGINNING of your post.
  • add the div tag in blue at the END of your post.
  • replace the part in green with your own color (search for color's hex value)
  • "Your text here...." is where the Post content goes

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.

Here's the example of the placed code in the Post Edit box:
blogger posts color, backgrounds, blogger tricks

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; ">
Your text goes here...
</div>

  • in green, you need to paste the URL address of your hosted picture (use Photobucket, Tinypic etc.)
  • the red line has to be added at the beginning of your post.
  • the blue part has to be added where your post ends.
  • "Your text here...." is where your Post content should be

Now click Publish and you are done.

Email ThisBlogThis!Share to XShare to Facebook
Posted in Blog Design, blogger posts, how to, posts | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to change Blogger "Post A Comment" Message
    In this tutorial i will show you how to replace the 'Post A Comment' text that appears above the comment form with an image. Also, I...
  • CSS Basics. How to Apply Rounded Corners On Images #1
    This tutorial will explain how to change the outside border of any image using some simple CSS rules to make it round, but this is so easy t...
  • Google Translate Widget with Flags For Blogger
    The Google Translate Widget for Blogger allows the visitors to translate your site or blog in their own language. This widget also auto-dete...
  • How To Remove Blogger Attribution Gadget
    The Attribution gadget is the gadget in the footer that says "Powered By Blogger". If you have tried to remove this then you may o...
  • Replace Older, Newer And Home Blogger links with an image or text
    Newer Post, Home and Older Post are links that appear on the bottom of the posts. When a visitor click on one of these links, they will take...
  • Expandable Recent Comments Widget for Blogger/Blogspot
    This Expandable Recent Comments is a very accessible widget that can be collapsed or expanded through user interaction, so that now, we don...
  • How to Add a Widget Below First Post in Blogger
    This tutorial will show you how to make a gadget/widget to appear just below the first Blogger post. First, you must understand that the usu...
  • CSS Basics. How to Apply Rounded Corners On Images #2
    In the previous post I have mentioned that we will learn to round images using CSS, without needing to edit them one by one using a program...
  • Before/After Photo Effect with jQuery
    If you have a design or makeup blog, or if you are using before and after image comparison , this script will surely be very useful for you....
  • How to Write SEO Optimized Blog Posts
    I'm not a SEO Expert, nor what we will read further is a top secret, but this is something about basic positioning that everyone should ...

Categories

  • adsense
  • adsense optimization
  • adsense tips
  • Auto Video Template
  • avatars
  • blockquotes
  • Blog Design
  • blogger
  • blogger posts
  • color code generator
  • Comments
  • comments tricks
  • css
  • emoticons
  • Emoticons/Smileys
  • Facebook
  • feedburner
  • forum
  • Hacks
  • how to
  • how to make a blog
  • Image Effects
  • internet
  • jQuery
  • labels
  • menus
  • Navigation
  • navigation menu
  • popular posts
  • posts
  • read more
  • recent comments
  • recent posts
  • related posts
  • RSS
  • SEO
  • sitemaps
  • slideshows
  • social media
  • social media plugins
  • static pages
  • Templates
  • threaded comments
  • titles
  • tools
  • translating
  • webbligi
  • Widgets

Blog Archive

  • ►  2013 (57)
    • ►  November (4)
    • ►  October (16)
    • ►  September (13)
    • ►  June (3)
    • ►  May (4)
    • ►  April (5)
    • ►  March (12)
  • ▼  2012 (73)
    • ►  July (1)
    • ►  June (3)
    • ►  May (9)
    • ▼  April (23)
      • Google Translate Widget with Flags For Blogger
      • Simple Recent Posts Widget for Blogger/Blogspot
      • A Beautiful jQuery Drop-Down Menu For Blogger Blog...
      • How to Add Emoticons/Smileys in Blogger Comments
      • How To Add or Change Favicon on Blogger Blogspot
      • How to number comments in Blogger/BlogSpot
      • How to Add A Comment Count Bubble To Blogger Post ...
      • How to Add Different Backgrounds In Blogger Pages
      • How to Add Different Background Color or Image in ...
      • How to Create Static Pages in Blogger
      • Tips To Avoid Your Google Adsense Account From Get...
      • Ways To Increase Page Impressions and Traffic on Y...
      • How to Replace Older Posts and Newer Posts Links w...
      • How To Disable or Turn Off Lightbox View For Blogg...
      • Blogger Auto Video Template by webbilgi
      • Add a Popular Posts Gallery just above your Blogge...
      • Add Google Adsense to Blogger Header (Above the Ti...
      • How to add an image next to Blogger Post Title
      • How to remove Blogger Picture/Image Shadow and Border
      • Replace Older, Newer And Home Blogger links with a...
      • Add Static Facebook Pop Out Like Box with Smooth J...
      • Amazing Examples To Customize Blockquote Style In ...
      • A Simple Related Posts Widget For Blogger
    • ►  March (30)
    • ►  February (7)
Powered by Blogger.

About Me

Unknown
View my complete profile