March 9, 2009
In the article "How to add columns to Blogger Footer" we've learned about the basic (barebone) implementation of extra columns in Blogger footer.
This time, we'll try to customize them a bit. This is optional, of course. You will learn how to:
► control the style of your new footer
► add some colors to it
► change the link color (footer links can be in different color than the main link color)
► customize links
► change the headings style....
In the first tutorial, you've placed a CSS style + some HTML. Now, all we're going to do is a simple play (tweak) in CSS (style). If you're ready, let's do this....
ADDING BORDERS
The simplest thing to do, but can produce a great effect. By default, you have a top border (1px dotted) that divides footer from the content area.
You can change the border style in this part of CSS:#footer-columns {
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
...tweaking the line in pink. Options:border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
border: 1px dotted #999999; ► add a border around the whole footer container
border-bottom: 1px dotted #999999; ► place a border at the bottom
You can also change the border style (dotted, solid, dashed...), width (1px. 2px, 3px....) and color (any hex color you like, starting with #). Read more about borders in Blogger.***
ADD A BACKGROUND
Hm. Adding a backgound in the footer container is great, but you'll have to work more on this. Why? Well, because when you add a different background that your Blog already has, you'll have to change the text color and links...We'll discuss this too.
When adding a background, you can either:
► colorize it (quite simple)
► or place the picture as a background (tiled, or repeated vertically...)
::Color as background::
To add a background color to your Footer, add this line to your #footer-columns in CSS:background:#C6E2FF;
...change the #C6E2FF to any hex color you like...The CSS should look like this, after placing the line:
#footer-columns {
background:#C6E2FF;
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
...border if optional. You can combine border and background.background:#C6E2FF;
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
::Picture as background::
This is more fancy. You can make something like I've did for this tutorial, or place any kind of background you'd like (patterns, images, lines....).My suggestion is to place the pics (patterns) that will repeat (tile). Because your Footer will stretch (in height) to fit your content (gadgets)...
Steps:
1. Identify (measure) the width of your Blog (outer-wrapper, or under different name....). You will find this in your LAYOUT ► EDIT HTML. For my example (I've used Minima default template) I've checked the width here:
#outer-wrapper {
width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
..there's the width, in orange...660px.width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
2. Next thing is to create the background pic. I use Photoshop, but any decent Graphic editor will do. You can do this in Paint. So, here's my pic:
You have to make the pic the same width as your Blog (660px in my case), cut the 1px-5px part. Your pic will repeat vertically. The smaller the part is, faster loading time you get.
Always work in RGB mode, and export pics for web (or save as .gif, or .png) to keep the quality.3. Upload the pic to a free web host, like Tinypic.com, Photobucket.com....You need to copy the Direct Link of your uploaded picture.
4. Place the picture in the CSS style in your code. Go to LAYOUT ► EDIT HTML, find your #footer-columns style, and add the line in orange:
#footer-columns {
background:url(http://i39.tinypic.com/10wijch.jpg) repeat;
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
...border is optional. You can either remove it, or combine with background.background:url(http://i39.tinypic.com/10wijch.jpg) repeat;
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
...replace http://i39.tinypic.com/10wijch.jpg with the URL address (Direct link) of your pic..
...this is just an example, you can play, combine, try different things...
Read more about backgrounds in Blogger...
***
CHANGE THE HEADINGS IN FOOTER
By default, you'll have the widget (gadget) headings just like the ones in the sidebar. If you'd like to make a custom ones, read on.
First, we have to add some style to the CSS of #footer-columns. So, locate this part in your code:#footer-columns {
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
...yours may be a slight different, if customized.border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
Place the code in pink UNDER it, so it will look like this:
#footer-columns {
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
#footer-columns h2 {
margin:5px 0 5px;
font-family:arial;
font-size:13px;
font-weight:normal;
line-height: 1.4em;
text-transform:none;
letter-spacing:.1em;
color:#000000;
}
...customize the font, colors, size, margins, letter spacing, weight...border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
#footer-columns h2 {
margin:5px 0 5px;
font-family:arial;
font-size:13px;
font-weight:normal;
line-height: 1.4em;
text-transform:none;
letter-spacing:.1em;
color:#000000;
}
You can also place an icon in the heading, add a background, borders...We'll talk about this more in other tutorial.
***
CHANGE THE LINK COLOR IN FOOTER
Why? If you customize your Blogger footer (add a background color), your Links may not be visible. Links in Blogger carry the same style in the whole template elements. In my example, I have the default Links in blue, but I want them to bee more brown-ish.
So, UNDER this part of code:#footer-columns {
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
..you will place this one:border-top:1px dotted #999999;
clear:both;
margin:0 auto;
}
#footer-columns a {
color:#8B4513;
text-decoration:none;
}
#footer-columns a:visited {
color:#CD6839;
text-decoration:none;
}
#footer-columns a:hover {
color:#8B4513;
text-decoration:underline;
}
...in pink, you can adjust the colors of active link (a), visited link (a:visited) and hovering effect (a:hover)color:#8B4513;
text-decoration:none;
}
#footer-columns a:visited {
color:#CD6839;
text-decoration:none;
}
#footer-columns a:hover {
color:#8B4513;
text-decoration:underline;
}
...in orange, you can change the text-decoration (underline, none, italic...)
...you can play with styles and link effects...this is just to get start with...
***
CHANGE THE TEXT COLOR IN FOOTER
This will change the text color in your footer (not the Links, but everything else). Add the line in orange to this part of code:
#footer-columns {
border-top:1px dotted #999999;
clear:both;
margin:0 auto;
color:#000000;
}
...adjust the color to whatever suits you...border-top:1px dotted #999999;
clear:both;
margin:0 auto;
color:#000000;
}
Ok, that's quite enough for now. We'll discuss Links customization and icon placement in next tutorial....
Scream if you need help!
















27 comments:
Thank you for sharing such ideas.
Will you write a tutorial about adding social bookmarks only in the full post page.Just like in the smashingmagazine.com and other wordpress sites.please
Pocket,
Thanks for Part II. I much appreciate your talent in what I'm trying to do with my blog. And, please, keep up the good work ... for all of us out here in blogland.
Asker,
I'll try.
Stu Lowndes, I appreciate you support...x2 dark chocolates for you. And a cup of tea. For grown ups.
:]
didn't work out for me.. the footer-columns h2.. guess i'll figure it later..
Radith,
..your footer code is a bit different...try with this:
#footer-column-container h2 {
...style it however you want, and close with }
Thank You! Your tutorials are awesome!
Question though, my footer is much wider than my content. How do I get it the same width?
www.suzukiphotography.blogspot.com
Thank you!
Hey Samantha...
Hm. Weird. Well, the footer is not wider, it's just not centered....Try adding this somewhere in footer CSS code (same place where you've copied the one from tut):
#footer-wrapper {
margin:0 auto;
}
If this doesn't help, we'll try something else...I won't give up om you. Promise.
:|
looks good on my end now. Is it centered on your browser now? Will it look right on everyone's computer?
www.suzukiphotography.blogspot.com
Thanks again, these tutorials are AWESOME!
Nope. I'm on Mozilla Firefox 3. Try to do what I've suggested...
bummer. I added it here. Is this the right place?
/* Footer
----------------------------------------------- */
#footer {
width: 800px;
clear: both;
text-align: center;
color: $textColor;
}
#footer-wrapper {
margin:0 auto;
}
any better?
Thanks so much!
I recently came accross your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
Sarah
http://www.lyricsdigs.com
Samantha,
...unfortunately, it doesn't work. It's hard for me to say what is the exact problem.
If you could download your template, and mail it to me, I could do more...
:|
Tq . It worked ^_^
Hi there!
Wow you write really good instructions. Thank you so much. I found you while looking for code to add a footer, and NONE of the other sites worked with their instructions.
Using yoru instructions I have been able to add the footer as well as to customize it. Thanks so much for taking the time to do this!
lydia
I love the way you explain everything. I needed a footer for my photo blog. Other instructions I've found over the years though good, always took some frustrating hours to avoid the errors in parsing. So I searched until I found your blog again and wanted to say "Thank you" for all the work you put into not forgetting how frustrating it is for newbies and forgetful folks like me!
This is my blog if you want to see. Not done customizing (margins and padding especially, ugggh) so I'll be back...Thanks again.
http://vansphotolens.blogspot.com
this is one of the awesome and excellent post. which is very explanatory and breif to me. and this is one of the unique post i have not find on any of the other site... u rock man!!!
keep it up and keep doing unique and super work like this .
thanks
Nice work and very helpful. Another footer question, if you don't mind: I want to move my links widget to the footer, but I want them to arrange horizontally, wrapping to the next line as needed, rather than the vertical list as currently constituted. What do I need to change in the html or css to do that?
hi,
thank u soo much for all the tutorials...I have heavily edited everythng in my template. But i have few queries.
1. Can i add a pic next to labels and list of my footer section that i have made three column reading ur tutorials.
2. Can i get flowers next to my archive instead of those arrows, if not can i change color of those arrows to match my template.
3. By any way can the distance between my title and list be reduced in side bars and footers?
ANY1 WHO WANT TO DOWNLOAD FREE SOFTWARES, HACKIN TOOLZ, MOVIES, GAMES n more JST VISIT:
www.getthatfile.com
thanks for the input.
hey do you mind teaching me how to customize my post footer to become like this :
http://i221.photobucket.com/albums/dd8/astershim/Untitled-1-3.jpg
Timestamps and comment link all under the divider every single post.
Thanks in advance :D
thanks for share ..!
i want to learn how add footer after post..?
can you help me..?
Oh man! This is the best reference for 3 columns footer out there! NICE!
Thank you for sharing. Lotz of usefull stuff you've got here. Nice templates too. If you have some time, please visit my blog and suggest to me any necessary improvements. TQ!
thanks dude i appericate your work....
Hey! I've used your site for sooo much, I have just 1 question tho!
Doyou know how to customize the bottom border to an image? anything other than , dotted, dashed, solid ect....
I've seen a few blogspot blogs with nifty bottoms for their footers and I've tried to replace an image on a template but it didn't show up. So I'm completely clueless :(
Please get back to me if you know what Im talking about :)
dearpiperblog@gmail.com
Say it...