• 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

Enterprise Pro – odd hover effect using sprite and css

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 › Design Tips and Tricks › Enterprise Pro – odd hover effect using sprite and css

This topic is: not resolved

Tagged: css, Enterprise Pro, hover, sprite

  • This topic has 4 replies, 3 voices, and was last updated 11 years, 11 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 1, 2014 at 10:59 am #88012
    jhguynn
    Member

    I often use sprite images and css to get a nice hover effect on mouse over. This can be viewed here, on a site using a non-genesis theme: http://www.lifepolicydetective.co.uk. Hover your mouse over the images for "Specific Case Studies" and "FAQ's".

    I'm in the process of converting this site over to Enterprise Pro. I get a weird result I get with the same sprite images and the same css. The video below illustrates the choppy movement of the image - the first example is Enterprise Pro, the 2nd example is from the above link, i.e. another non-genesis theme.

    Compaison of 2 sites - sprite hover effect

    Here is the css I'm using (I give the .faq class as an example):

    .faq {
            display: block;
    	width: 250px;
    	height: 250px;
    	background: url(http://www.lifepolicydetective.co.uk/wp-content/uploads/2014/01/faq-sprite.png) bottom;
    	text-indent: -99999px;
    }
    .faq:hover {
    	background-position: 0 0;
    }

    How can I get this to work smoothly in the Genesis environment? It's as if the theme responds sluggishly to the css prompts. Thanks for the help.

    February 2, 2014 at 6:35 am #88152
    jhguynn
    Member

    Bump. Any help on this? Thanks.

    February 18, 2014 at 3:02 am #90920
    pbbutler
    Member

    I have a similar problem with the latest version of optimal. Its caused by a transition effect placed on all a tags (all links, which my hover buttons happen to be)
    I could not work out how to override this so I had to remove it as per the code below

    /* a, */
    button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    }

    Hope this helps

    February 19, 2014 at 3:00 am #91100
    jhguynn
    Member

    pbbutler:

    That's really helpful - thanks. What you identified - i.e. "It's caused by a transition effect placed on all a tags " - I had no idea.

    I wonder if anyone else here knows how to override it?

    And why is this effect even there? It makes all buttons, etc., behave sluggishly.

    February 20, 2014 at 2:04 pm #91469
    Brad Dalton
    Participant

    Hi Jeff

    To be honest, i don't really have the solution for this but just looking at the CSS, why do you use the full URL rather than the path to your images folder in your child theme?

    You might also consider asking this question on CSS Tricks or the CSS section of Stackoverflow if you can't get it resolved here.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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