• And also I believe whomever did the initial work on the site modified something in twenty sixteen itself because if i allow it to update, it corrupts my look.

    There is a child theme attached to the main theme, and _most_ of the editing was done there. Think it is with just a couple of minor points that subclassing the main theme did not work well.

    Anyway, I cannot get a menu I want to use at the bottom of the page to manifest. Ignore that floating WTIX-FM at the lower left corner, that’s not where I want the menu, it needs to be at the very bottom of the page.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • where exactly do you want the new footer sidebar?

    – in the same grey bar as WTIX-FM?
    — below that?
    — to the right of that?
    – in the scrolling section, at the bottom?

    the theme already shows a menu in the footer, a copy of the top menu, although only on narrow screens; otherwise it is hidden via CSS.

    do you want the same menu or an independant one?

    ps:
    the general code for generating a new widget area, for a footer sidebar, would be, to be added into functions.php of the child theme:

    /**
     * Register footer widget area.
     */
    function twentysixteenchild_widgets_init() {
    	register_sidebar( array(
    		'name'          => 'Footer Sidebar',
    		'id'            => 'sidebar-footer',
    		'description'   => 'Add widgets here to appear in the footer at the bootom of the site.',
    		'before_widget' => '<section id="%1$s" class="widget %2$s">',
    		'after_widget'  => '</section>',
    		'before_title'  => '<h2 class="widget-title">',
    		'after_title'   => '</h2>',
    	) );
    }
    
    add_action( 'widgets_init', 'twentysixteenchild_widgets_init', 12 );

    and, where you want to show the new sidebar, for example in footer.php of the child theme, add:

    <?php // footer sidebar section// 
    if( is_active_sidebar( 'sidebar-footer' ) ) { ?>
    	<div class="footer-sidebar">
    	<?php dynamic_sidebar( 'sidebar-footer' ); ?>
    	</div><!--/.footer-sidebar-->
    <?php } ?>
    

    needs additional CSS for layout and formatting.

    Thread Starter Colin Glenn

    (@colinglenn)

    Thank you for the reply and solution, and thinking it over, a tad too much work for me to deal with, that is, the template is already broken and there’s overrides which don’t make sense as is.

    I think I’m needing a totally different layout anyway.

    P.S. Probably because the template is broken, if I use the backend to remove the background image for the site, I develop a couple of unlocatable black (#1A1A1A) bars about 20 pixels high top and bottom of the browser window. Unless that’s a bug in the template, …

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need a Footer’ is closed to new replies.