Ads By Google

How To Create A Beautiful Background For Your WordPress Post

Now this is purely for pleasure only, but maybe on some occasions it could be useful. Having a beautiful background for certain post will bring out the mood for in your reader if you are targeting certain issues or maybe writing something romantic. For example if you are writing a love poem in your blog and you want to create a romantic feeling, having a backdrop like this will add to the atmosphere and the overall feeling of your poem. Individual post backgrounds will also serve to break the monotony of your whole blog and give tour frequent readers a refreshing change.

To create a background for any of your individual post, we have to first find an image that you like. Re size the width of your image to suit your content area. The height can be left alone. Once you have done that, upload the image to your Theme’s images folder.

Like always, we now have to add a new div class in our stylesheet to make the image appear the way we want to. For this example, my CSS codes looks like this:

.postback { background:#493105 url(images/sunset.jpg) no-repeat bottom center; padding:10px; margin: 0; font-family: Verdana; color: #fff; }

I have named ny div, .postback. The background color is decided by the top most color of your image. This means if you have a long post and your image is not too tall enough to cover your whole post, the background color will blend into the image. So make sure the color of the background is similar to the color of where your image height ends. “Bottom center” aligns the image to the bottom of your post. If you want the iamge to be on the top, then change it ti “top center”. The rest of the codes is pretty standard.

When writing your post, enclose the whole post within the new class like this:

<div class="postback"> Your whole post </div>

If you have named your div something else, change the word accordingly. Publish and see your final cool result. Try it, if anything just for the heck and fun of it. Cool. Beautiful background for your WordPress post.

PS: Cannot be viewed via your feed reader.

Share This Post
Ads By Google
 

Free Updates

Subscribe to receive Free WordPress Theme Tips, Reviews and Discount Codes

Related WordPress Theme Tips

CSS Codes To Highlight WordPress Post Background Color.Highlighting certain part of your post will attract your reader’s focus on something important that you might want to relate in your post. This following piece of codes will let...

How To Use An Image For Your WordPress Theme BackgroundFestive season is around the corner and I thought it would be a good idea to usher in the mood a little bit early this year. For those who are...

Changing Background Color For Your WordPress ThemeThere are two backgrounds in a WordPress Theme. One is the overall background. If you have a fixed width theme, the color surrounding the contents is the overall background. The...

How To Highlight Certain Words in Your WordPress BlogA really simple tip for those who is entirely blind to html. There will be times when you want to highlight certain words with a bright background to emphasize the...

10 Bold Fonts To Create Beautiful Blog Theme HeadersThe easiest and most common way to make your blog theme unique even though the theme is being used by hundreds or even thousands of others is to make a...

Those who found this page were searching for:

  1. create centered background wordpress
  2. getting a background image into a div in wordpress
  3. creating a wordpress background size
  4. create beautiful post in wordpress
  5. background image wordpress post
  6. how to make a cool bakground for wordpress
  7. free post background image
  8. change image according to blog post in single post
  9. add your poem to a background
  10. wordpress background making