[resolved] Body and header padding error (possibly jquery) (7 posts)

  1. nottriangles
    Posted 2 years ago #

    Hi there, I'm having an issue with the body of my pages jumping into the header when a page is refreshed. It happens chronically on every page in Safari and Chrome. It has happened in Firefox, but doesn't seem to occur when I'm logged into the back end.
    Check out animateaway.org and go to any page, hit refresh and see the padding or margin between the body and header disappear. One time it did the opposite and provided too much space.
    My buddy who knows much about code said the problem is thus:

    "You're not importing jquery properly. There's a js file 'superhero.js' that changes the padding based on the 'masthead-wrap' height...the issue is that the script that resizes the header isn't working right because there's an issue loading a script that doesn't exist."

    We've hit a brick wall. I hope one of you fine upstanding supporters will be able to figure this one out for us. Thanks in advance!

  2. Hi there, one of our theme developers is looking at this. I'll keep you posted.

  3. nottriangles
    Posted 2 years ago #

    Thank you!

  4. Hi, this problem should now be fixed. You can download a new copy of Superhero in the sidebar here, where it says "Download Superhero for your self-hosted WordPress site."


    The changed file is:

    js > superhero.js

    The fix is also being submitted to the WordPress.org theme directory but there may be a time lag.

    Just let us know if you still have any issues with it. Thanks!

  5. Just wanted to let you know that the revised version of Superhero (v. 1.1.1) is now also available for download here:


  6. nottriangles
    Posted 2 years ago #

    Cool! That did it.
    Superhero is great. Thanks for the support.

  7. Excellent, glad the issue is fixed for you and that you like the theme. Enjoy!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic