WordPress.org

Support

Support » Themes and Templates » Superhero » [Resolved] Body and header padding error (possibly jquery)

[Resolved] Body and header padding error (possibly jquery)

  • 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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

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

    Thank you!

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    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.”

    http://theme.wordpress.com/themes/superhero/

    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!

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

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

    Superhero

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

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Body and header padding error (possibly jquery)’ is closed to new replies.
Skip to toolbar