WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. nottriangles
    Member
    Posted 10 months 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
    Member
    Posted 9 months 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."

    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!

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

    http://wordpress.org/themes/superhero

  6. nottriangles
    Member
    Posted 9 months 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!

Reply

You must log in to post.

About this Theme

About this Topic