• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

jQuery affecting background image hover

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › jQuery affecting background image hover

This topic is: not resolved

Tagged: jquery

  • This topic has 6 replies, 2 voices, and was last updated 13 years, 3 months ago by RobCubbon.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 7, 2013 at 12:23 pm #24815
    RobCubbon
    Member

    Hi, my jQuery knowledge is non-existent.

    However, if you use image sprites on the new Genesis Sample Child Theme, if there is a new part of the background image to show when something is hovered over the transition isn't instantaneous.

    Rather you can "see" one image being replaced with the other. Actually it's the same on these forums if you hover over the Submit button. It looks cool here but not on the site I'm making!

    How do you turn this off?


    Rob Cubbon

    March 7, 2013 at 3:33 pm #24870
    David Chu
    Participant

    The theme still uses Superfish, and one can turn that off.  I have another suggestion before you go that far.

    Brian, et al, are working on using CSS3 stuff to phase out Superfish.  So one thing they have in the latest Sample theme is the CSS3 "transition".  It's utterly hip, but I've already found one spot where it wasn't cool, a lightbox plugin I was using, so I did a CSS override for it.

    I would suggest going into your style.css, and do a find on "transition".  If you see this line, try commenting out the "transition" lines.  See if that might help.

    a,
    a:visited,
    button,
    input[type="button"],
    input[type="submit"],
    .btn {
    -moz-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    }

    Obviously you could be more specific than that with CSS overrides, of course.

    Best, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    March 8, 2013 at 5:20 am #24967
    RobCubbon
    Member

    Dave, thank you so much. Thank you for the solution and the explanation. Much appreciated. 🙂


    Rob Cubbon

    March 8, 2013 at 7:57 am #24979
    David Chu
    Participant

    Rob,

    Glad to help!   And here's Brian's recipe for disabling Superfish in case you ever need it.  (I never have yet).

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    March 8, 2013 at 8:59 am #24991
    RobCubbon
    Member

    Thank you again, Dave. I've had a look at your site and I really enjoyed your rendition of Summertime. 🙂


    Rob Cubbon

    March 8, 2013 at 9:38 am #24999
    David Chu
    Participant

    Rob,

    I appreciate that!  Your site has loads of good stuff on it - we should keep in touch.  🙂

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    March 9, 2013 at 12:53 pm #25204
    RobCubbon
    Member

    Thank you, Dave, good that we've hooked up on Twitter! 🙂


    Rob Cubbon

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble