• Resolved selfmade64856

    (@selfmade64856)


    Hi,
    I edited some of the sidebar php in this theme https://ifreelance.sitesires.com/
    Basically by default the theme shows a few of the built in widgets such as categories, archives, meta, etc….
    I edited the sidebar’s php to include widgets that are activated through through appearance/widgets by adding this code

    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>

    However now when I activate a widget it throws the footer off to the bottom left. Everything else looks fine but the footer.

    Any suggestions would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • No way to tell if it’s the HTML unless you post the link to your site.

    Thread Starter selfmade64856

    (@selfmade64856)

    the link is the link in the first post….maybe I should have specified ??
    https://ifreelance.sitesires.com/

    A couple of things…

    You’re using WP Opt-in, yes? There’s a closing </div> immediately after that widget output in the source markup. Can’t tell if it’s the plugin generating it or if there’s a mis-nested div in your sidebar but that’s more than likely messing up your footer.

    Also noticed that below WP Opt-in, you’re missing an opening <ul> tag. And in the footer itself, you’ve got a missing </p>.

    Doh! I shouldn’t have replied before having coffee. I thought the link you gave was to the theme’s site. ??

    Thread Starter selfmade64856

    (@selfmade64856)

    Thanks everyone for your suggestions. Through a similar problem I was having, the fix is actually the same for this one. I wasn’t sure if they were different issues or not, but they are! I basically didn’t have my tags opening and closing properly so it was fudging up my footer. Time to go read some PHP literature ??

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Widget Activation breaking themes footer’ is closed to new replies.