• 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

CSS 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 › Design Tips and Tricks › CSS Image Hover

This topic is: not resolved

Tagged: css hover image

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 6 months ago by marketme.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 11, 2015 at 7:54 am #155845
    marketme
    Member

    Hello all!

    I am attempting to add in an image hover effect to the Altitude theme. I haven't had much success in any of the online tutorials or code suggestions. I have gotten the closest with the image and the text overlay all at once (not on hover) as seen here:

    http://owlbracelets.com/test/

    The first image should be the bracelet and the hover should be the text - the same of which can be seen here:
    http://tympanus.net/Tutorials/OriginalHoverEffects/

    Is there something in my theme that is preventing this effect from working? Any suggestions as to how I may be able to get this to work?

    http://owlbracelets.com/test/
    June 11, 2015 at 8:44 am #155854
    SavvyJackie
    Member

    Hi there,
    You are so close. 🙂
    Looks like you are missing your view-first class in your div.

    You have

    <div class="view view-class">  <-- try changing view-class to view-first
         <img src="http://owlbracelets.com/wp-content/uploads/2015/06/testg.jpg">  <p></p>
    <div class="mask">
    <h2>Title</h2>
    <p>Your Text</p>
    <p>         <a href="#" class="info">Read More</a>
         </p></div>
    </div>

    Also in your custom css,

    
    .view a.info: hover {  <- remove space after info: to info:hover
       -webkit-box-shadow: 0 0 5px #000;
       -moz-box-shadow: 0 0 5px #000;
       box-shadow: 0 0 5px #000;
    }
    

    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    June 11, 2015 at 8:53 am #155857
    marketme
    Member

    Oh man! I have been looking at so many samples for hours that I missed something so simple! It worked, thank you so much SavvyJackie for your quick response 🙂

    Dana

    June 11, 2015 at 9:00 am #155858
    SavvyJackie
    Member

    My pleasure.


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    June 11, 2015 at 9:01 am #155859
    SavvyJackie
    Member

    check the url for bgimg.jpg in your css. It is generating a 404 error.


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    June 11, 2015 at 9:06 am #155860
    marketme
    Member

    Oh thank you, I removed it. Came with the code but I don't seem to need it 🙂

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2025 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