Support » Theme: MesoColumn » Footer Help

  • Resolved mrgllcmedia

    (@mrgllcmedia)


    On the left side of the footer I would like the list the footer menu horizontal vs vertical. I would also like to add a widgets area in the left side of the footer.
    Thank you in advance!! Tim

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author Richie KS

    (@rkcorp)

    add this to custom css for the vertical hor nav

    .footer-right ul {width:100%;float:left;}
    .footer-right ul li {clear:both;float:right;}

    add this to functions.php to add new widget footer left

    function meso_register_footer_left_widget() {
     	register_sidebar( array(
            'name' => __('Footer Left Widget Area', 'mesocolumn'),
            'id' => 'footer-left-widget',
            'description' => __( 'The footer left widget area', 'mesocolumn' ),
            'before_widget' => '<aside id="%1$s" class="widget %2$s">',
            'after_widget' => '</aside>',
            'before_title' => '<h3 class="widget-title">',
            'after_title' => '</h3>',
        ) );
    }
    add_action( 'widgets_init', 'meso_register_footer_left_widget',20 );
    
    function meso_add_footer_left_widget() {
    if ( is_active_sidebar( 'footer-left-widget' ) ) : ?>
    <div class="fleft-widget">
    <?php dynamic_sidebar( 'footer-left-widget' ); ?>
    </div>
    <?php endif; ?>
    <?php }
    add_action('bp_footer_left','meso_add_footer_left_widget',20);
    
    function meso_add_footer_left_widget_style() { ?>
    .fleft-widget aside {margin:0;width:100%;float:left;}
    .fleft-widget ul li { list-style:none; }
    .fleft-widget h3 { font-size:1.3em;margin:1em 0 0.25em; }
    <?php }
    add_action('wpmeso_custom_css','meso_add_footer_left_widget_style',70);

    there should be new widget area in wp-admin->appeareance->widgets

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.