Skip to main content

Different Page Background for Blogger Posts

 
Looking to give each of your Blogger posts a unique background image? You have come to the right place, all you need to do is check out the tutorial below, and if you have any questions feel free to ask in the comments.

First of all, click here to see this in action on a different post.

Step 1:
Upload the image that you would like to appear as the unique blog background to the particular post. Make sure you make any tweaks to the HTML ('Edit HTML') of the image in the post editor so it appears to your liking.

Step 2:
Following the image upload into the post, click 'Edit HTML'. In the code for the image find the 'div class' title (default is titled 'separator'). Change the title to something unique and make note of the title.

Step 3:
Once you have entered all of the content to your blog post, whatever it may be, click the 'Publish Post' button. Make sure you remember, or have made note of, the title of the 'div class'.

Step 4:
Now it is time to use some CSS (Cascading Style Sheets). Start off by selecting the 'Design' tab in Blogger. Now select the 'Template Designer' tab. Once the page loads select the 'Advanced' option and scroll to the bottom of the list until you reach the 'Add CSS' option.

Step 5:
Add the following CSS code to the 'Add CSS' page.

.DIV CLASS TITLE {
position:fixed;
left:0px;
top:0px;
z-index:-1
}

Change the 'DIV CLASS TITLE' text in the code to the unique 'div class' title of the image element in the post.
The 'fixed' in the code above will make the background image scroll with the page. You can also change the 'fixed' to 'relative' to take away the scroll with page effect.
Change the '0px' following both the 'left' and 'top' to position the image to your liking.
The 'z-index' number must be set as a negative (-) to create the background effect.

Step 6:
Save the changes when you are ready then continue to the post page to check it out. If it worked then congratulations. If you were not able to get it to work then comment below and I will answer your question.

Comments

Post a Comment

Popular posts from this blog

Batman: Arkham City "Pay Your Respects" Achievement/Trophy Guide

Get some help earning the "Pay Your Respect" achievement/trophy in Batman: Arkham City.  

Firefox Add-on Helps Earn Swagbucks using Swagbucks TV

Learn how to earn from Swagbucks TV without doing anything with this Firefox Addon.

Call of Duty: Black Ops Zombies IPod Touch, IPhone and IPad,

Get Call of Duty: Black Ops Zombies on your iPhone, iPod Touch, and iPad with this sweet application. Now you can get the very intense Call of Duty: Black Ops zombies on your favorite Apple handheld. Slay massive hordes of zombies away from home with the IPod Touch, IPhone, and IPad adaptations of the game.