Change background color of main content area: How to change background color of a blogger template's main content area?
By blog
The default design and color of the blogspot templates look dull for most of the blogs. So, bloggers spent much of the time to find a nice template. Most of the cases, they don't like the color of the template. All the blogspot templates are not so nice to see. That's the main reason for searching blogspot template. But is this a good idea to search always the blogspot templates and then again change the template? I do not think so. The template which you are using may be great. Just you need a little effort. You just need to learn the way to change the color of your blogspot template. This is really a very easy and interesting task. But the great benefit is that it really pays you much. The tag background:$bgcolor is responsible for all types of background color where $bgcolor is the name of the color.This page contains information related to changing main content area's background color. Here, main content area means both the posts area, the sidebars area and the footers area also.
To change the posts area and the sidebars color, we must have to access template code. You can go to the template code from Dashboard, then select the blog's layout and then Edit HTML option. For details, click here [How to find and edit blogspot template code?]
Main posts section and the sidebars section code of Minima template is located under #outer-wrapper block. The outer-wrapper code of Minima templae looks like the following code segment:
#outer-wrapper{
width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
Look, there is no line with background: tag. As there is no tag with background: tag, the color of post area and sidebar remains nothing. So, to make color to the posts area space and the sidebars, we have to add some code with background: tag. For example, we want to change the color of the content area i.e. the posts area and the sidebars area to the right-hand side color. The color value of the right-hand side rectangle is #E3E4FA. So, to change the sidebars and posts area with that color we have to append the following line of code to the #outer-wrapper block of code
background: #E3E4FA
So, after adding the above line of code, the #outer-wrapper section of a Minima template looks like the following:
#outer-wrapper{
background: #E3E4FA
width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}Live view
In this page, I discuss the process of changing color of the posts area and sidebars. A blog is already implemented by using the tutorials of this page. It just shows you the effect of this page tutorials. I don't care to beautification of that blog. I just mention it as an example to make you understand how the above code will work. You can color any color by using the color value. In the useful articles section, you will find the link to all types of color value. Now, if you wish to see the effect of the above code, follow the following link:
Click here to see the effect of this page tutorial
By following the above tutorials, you can easily change the main contents areas background color.
© This tutorial is written by Blog.
Comments
thx man!
I am content with all my background edits except for when I do a blog search on my blog, the background is white when I need it to be at least black or the image I have of black static for the rest of my blog. I also would like a background under the text of my page bar. Right now it is clear and clashes with my background where you can't see it well. Same problem occurs with my first problem.
I was wondering where the html for these are located and I wanted to change color to 000000?
Oh wait sorry I figured it out by displaying the page, with the search part above in white open, then I went to the View tab and opened the source code. Then I located the color white and copied that code. I opened my html of my blog then control f"d to and pasted the html from the source to locate it in the blog code. It was the only one and exact, so I changed the color from ffffff to 000000 and previewed. Oh I got lucky! It worked.
If I knew sumptin I might be dangerous!
I still have the clear bar problem and wonder how to locate that html to change it. I will play with it, maybe look for code that says no background?
blog's Recent Pages
- Hover Peek-a-boo Blogger Navbar: How to Hide Blogger Navbar and Make It Visible When You Place the Mouse Cursor on It?
The Blogger Navbar appears by default at the top of every Blogger-powered blog. - 2 years ago
- Remove or Hide the Blogger Navbar: How to Remove or Hide Blogger Navbar?
The Blogger Navbar appears by default at the top of every Blogger-powered blog. - 2 years ago
- Change the Color of Blogger Navbar: How to Change the Color of Blogger Navbar?
The Blogger Navbar appears by default at the top of every Blogger-powered blog. - 2 years ago
- Blogger Navbar: What Is Blogger Navbar And It's Advantages and Disadvantages
Blogger Navbar appears at the top of every blogger by default. - 2 years ago
- Adding "Top of Page" Icon Link: How to Add "Top of Page" Icon Link on Your Blog or Website
Many of the websites or blogs posts have a small text or image floating at the bottom-right or bottom-left or bottom-center. - 2 years ago
- Adding "Top of Page" Text Link: How to Add "Top of Page" Text Link on Your Blog or Website
Many of the websites or blogs posts have a small text or image floating at the bottom-right or bottom-left or bottom-center. - 2 years ago
- Adding Signature to Blogger Posts: How to Add a Signature under Your Blogger Posts?
You can easily add your own custom signature to your blogger posts. - 2 years ago
- Blogger Falling Rectangles : How to Add Falling Rectangles to Blogger?
You can add falling objects like small rectangles, circles, stars etc. - 2 years ago
rancidTaste's Recent Pages
- Drawing a line: How to draw a line using HTML 5?
HTML5 canvas API provides basics tools and great supports to draw and style different types of sub paths including lines, arcs, Quadratic curves, and Bezier curves, as well as a means for creating paths by connecting sub paths. - 15 hours ago
- SEO Pages
SEO, Search Engine Optimization and Keywords - these common three terms are the brainstorming terms for any content publisher, seo company, seo service provider, seo researcher, seo firm, seo consultant, seo professional or other seo lover. - 3 months ago
- WordPress.org vs. WordPress.com: An explained comparison between WordPress.org an WordPress.com
WordPress is a common name but do you know that there are two things: WordPress. - 3 months ago
- Creating database from cpanel: How to create a database from cpanel hosting?
A step by step full tutorial to create a database from cpanel hosting account for any dynamic website. - 3 months ago
- Natural Join in Database: Retrieving records from more than one table with Natural Joins
Natural Join is one of the sql joining. - 3 months ago
- Explanation of SQL Join: Obtaining data from multiple tables using Join
Explanation of SQL Join: Obtaining data from multiple tables using Join. - 3 months ago
- How to solve "CreateFile error 32 when trying set file time" Error During Oracle Installation
Solution of the Oracle installation problem on Windows 7 / Windows XP during Oracle installation start-up. - 3 months ago
- A Brief Explanation of SQL Statements and Classification
Any type of database is based on several statements. - 3 months ago



Bunny 2 years ago
Thank you for this. It helped me so much :)