How to Add a Widgetized Footer to the StudioPress (in)SPYR Child Theme

Over at my Dutch blog wpZaken, I am using a slightly customized version of the StudioPress (in)SPYR theme – the Blue Base style to be exact. Yesterday, I wrote a post about setting-up the (in)SPYR Subscribe widget for Google Feed burner.

One of the things that kept me back from purchasing this StudioPress Community theme is that it does not come with a widgetized footer.

Fortunately, when I decided to give it a try, I discovered that adding a widgetized footer is not difficult at all. It will be my pleasure to show you how.

The Default (in)SPYR Footer

Let us first have a look at the default footer of the (in)SPYR theme:

StudioPress (in)SPYR default footer
(click to enlarge)

The default footer comprehends three parts:

  • the name of the website
  • links to three social networks – by default Twitter, Facebook, and Google+
  • the footer credits

In default state, you will not find any widgetized footer areas on the Widgets page. But that is exactly what we are going to do: adding three widgetized footer areas.

When I was exploring the functions.php file of the (in)SPYR child theme, I discovered that the necessary code is already there, but it is commented out.

So first thing to do is open the functions.php file and search for this code:

/*** Footer Widgets
add_theme_support('genesis-footer-widgets',3 ); */

And change it to

/*** Footer Widgets */
add_theme_support('genesis-footer-widgets',3 );

Basically, it is a matter of replacing the */ from end at the second line to the end of the first line.

When you are done and reload the Widgets page, you will see that you have added three fresh footer areas to the theme. You can already drag some widgets to these footer areas, but the CSS code available for the widgetized footer is probably is not quite what you want it to be:

(in)SPYR extended, but bare footer
(click to enlarge)

There are of course unlimited possibilities when it comes to adding a background to the widgetized footer. Since I like the background of the social footer, I decided to use the same footer_bg.png file for the widgetized footer.

In case you want to follow along; open the style.css file of the (in)SPYR theme. Find  /*** Footer Widgets */. When your editor is displaying line numbers, it should be line #362.

In the first line replace

background-color: #f5f5f5;

with

background: url("images/footer_bg.png") repeat;

And since the default text color for the footer widgetized footer is a little bit too dark for my taste, I have added a font color at the end of the same CSS line just before the closing curly brace:

color: #595959;

Save the CSS file.

There is just one more step to take. Let us first increase the padding above the widget titles in the footer. Search for this line – line #365:

#footer-widgets .widget { background:none;border:none;margin:0 0 15px;padding:0; }

replace

padding: 0;

with

padding: 50px 0 20px 0;

Do not forget to save your CSS file.

The Extended (in)SPYR Footer

That is it. Your (in)SPYR footer should now look like this:

inSPYR extended footer
(click to enlarge)

In case you do not like the double line at the top and bottom of the widgetized footer, you will have to shave the footer_bg.png file, since these two lines are included in this PNG.

Fire up Photoshop or a graphics editor like InfranView (for Windows) and crop it. You can of course also decide to use a different background file.

Good luck adding the extended footer to your StudioPress (in)SPYR theme.

Google+PinterestShare


wilwebs.com runs on the Genesis Framework

Genesis Framework

Genesis empowers you to quickly and easily build incredible websites with WordPress.

Whether you're a novice or a seasoned developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

With the life-time updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.

Speak Your Mind

*