Support » Themes and Templates » How to show 3 column footer in morning after theme (shows as 1 at the moment!)

  • Resolved olololox

    (@olololox)


    Hello,
    So I have attempted to add a 3 column footer to my page. I have used the following code in my style sheet

    /* Chunky Footer */

    #chunkyfooter {
    clear: both;
    margin: 0 10px;
    background: #eee;
    overflow: hidden;
    padding-top: 10px;
    }

    #chunkyfooter div {
    width: 320px;
    float: left;
    padding: 0 10px;
    }

    #chunkyfooter h2 {
    margin-top: 0;
    }

    #chunkyfooter ul {
    padding-left: 14px;
    }

    and the following in my sidebar.php file:

    register_sidebar(array(
    ‘name’ => ‘footer’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2>’,
    ‘after_title’ => ‘</h2>’,
    ));
    }

    At the moment, I have three widgets in the footer, and instead of showing them in 3 columns, it stacks them one below the other to the left of the page in the footer.

    Any help would be appreciated.

    Cheers!

  • The topic ‘How to show 3 column footer in morning after theme (shows as 1 at the moment!)’ is closed to new replies.