Extra widget area right before the footer
-
After doing the updates of the theme etc, my extra widget defaulted to what it was. Right now, the width of footer goes across the screen
The extra widget is right above it, however its taken the width of the featuredpages container which is centered on the page.Before the theme update, the extra widget was the same width of the footer below and was right above it. How can i get it back to that state.
I had all the codes mentioned from here added to the functions and style sheets. Much appreciate it.// Adds a widget area.
if (function_exists(‘register_sidebar’)) {
register_sidebar(array(
‘name’ => ‘Extra Header Widget Area’,
‘id’ => ‘extra-widget-area’,
‘description’ => ‘Extra widget area after the header’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”
));
}/* Place the widget area after the header – only on home page*/
add_action (‘__after_main_container’, ‘add_my_widget_area’, 0);
function add_my_widget_area() {
if ( (function_exists(‘dynamic_sidebar’)) && (tc__f(‘__is_home’)) ) {
dynamic_sidebar(‘Extra Header Widget Area’);
}
}
The topic ‘Extra widget area right before the footer’ is closed to new replies.
