Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Add a foother with three columns

Old Dec 4, 2012, 02:22 PM
31 posts · Nov 2012
I'm trying to get a footer with the columns. To do that I follow next website:

But I don't find any similar text in the archive functions.php
'name' => 'footer',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>',

So I don't know where to add the text... I found a similar text in the archive widgets_init.php
Do I have to include it there??

Thanks in advance
Old Dec 4, 2012, 03:34 PM
31 posts · Nov 2012
Well I've introduced next code to functions.php

if ( function_exists('register_sidebar') ) {
'name' => 'Footer',
'before_widget' => '<div id="%1$s">',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>',
)); }

Then to the subtemplate footer.php I've added:
<div id="widgetfooter">
<?php if ( !function_exists('dynamic_sidebar') dynamic_sidebar('Footer') ) ?>

And works. But now I need to introduce the format. So I work the editor and fine style.css

I added

#widgetfooter {
clear: both;
margin: 0 10px;}

/*Widget Footer*/
.widgetfooter {
float: left;
width: 30%;
margin: 0 5px 0 5px;
padding: 0 0 0 10px;
border-radius: 8px;}
.widgetfooter ul {padding-left: 15px;}

But doesn't work. For example check the postion of the 2 widgets:

Old Dec 4, 2012, 05:28 PM
juggledad's Avatar
23,728 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
edit the virtual temp-late 'footer.php' and use the 'dynamic_sidebar' limited php
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
3/4 columns mod required. mimi Customization, Design, Programming... 3 Oct 25, 2011 03:51 PM
atahualpa 3 columns aresblade Sidebars & Widgets 2 Jun 8, 2010 04:47 PM
setting up columns rnickel44 Forum How-To 0 Aug 28, 2009 11:15 AM
2 Columns Instead of 3? virtualomega Header configuration & styling 1 Jul 29, 2009 07:24 PM

All times are GMT -6. The time now is 09:59 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.