• 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’);
    }
    }

Viewing 10 replies - 1 through 10 (of 10 total)
  • please wrap code in backticks.
    A link to your site?

    Thread Starter crosswire

    (@crosswire)

    see link
    http://careercommunity.lamp4.utoronto.ca/

    the news scrolls right above the footer is what i was talking about

    Look, it’s not that I don’t trust you, but what you say is pretty weird.
    You have this widget area inside the #main-wrapper which is a “.container”. That’s why it has the same width of the “featuredpages container”, it has the same width of all .container elements 😉
    Don’t know why it was different for you before…
    Anyway changing the hook from __after_main_container to __after_main_wrapper with priority 0, should fix the issue.

    Thread Starter crosswire

    (@crosswire)

    yes it was strange. will give it a go thanks and sorry for the confusion.

    Oh no problem at all! 😉
    I see you set this as resolved, no need to do that till you actually solve it 😉

    Thread Starter crosswire

    (@crosswire)

    yes it worked. 🙂

    good 🙂

    Thread Starter crosswire

    (@crosswire)

    I didnt want to create a new question,thought I might just fix it here: i had another issue with the theme update. I use a plugin business directory and have been in touch with them. We figured that it wasn’t a plugin issue and that it was the theme.

    See link

    the image placeholder is showing the title and css code. not sure why. it never was like that before.

    Thread Starter crosswire

    (@crosswire)

    under view profile tab

    Honestly, cannot see it ..
    is something like ..Edit')"> .. ?
    If yes is something you can see just as admin, and it’s an issue that should be fixed in the next theme release.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Extra widget area right before the footer’ is closed to new replies.