• 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

Mouseover image to bring up title/post info with GFWA

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 › Mouseover image to bring up title/post info with GFWA

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 12 years, 9 months ago by Tony @ AlphaBlossom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 7, 2013 at 3:14 pm #65713
    Ben @ Inbound Creative
    Member

    Hey guys and gals,

    I have a client that wants the title of the post and some other information (post info etc) to appear when a user hovers over the featured image generated by the genesis featured widget amplified on the home page.

    For the life of me, I can't think of what is the right approach to achieve this. Can anyone point me in the right direction for some reading material on how to achieve this?

    A good example of it is on Studiopress' newly redesigned theme shop (my.studiopress.com/themes).

    Thanks in advance guys.


    Award winning web design in Liverpool | UK based Genesis Framework web designer and developer

    http://www.milkandbeauty.com
    October 7, 2013 at 5:53 pm #65745
    Tony @ AlphaBlossom
    Member

    Hi there,

    There are some jquery solutions, but the way it's done on Studiopress's site, and I've used this method on other sites as well, is to add your new content inside of your block's parent container and set it to "opacity: 0;". Add a :hover class with "opacity: 1;" so when you hover over the block it will show.

    
    <div class = "existing div container">
    <a href="" class="mynewcontent">
         <h3 class="new content header">Header</h3>
         <p class="new content text">
              New content text goes here
         </p>
         <div class="new content button>Click here</div>
    </a>
    <a href="">
         <img src="your existing image is here"
    </a>
    </div><!-- end existing div container -->
    

    For your css, you'd set the existing div container to "position: relative;"

    Then for the new block, you'd set it as:
    a.mynewcontent {
    postion: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    }

    a.mynewcontent:hover {
    opacity: 1;
    }

    Style your h3, p and button as you would normally.

    You'll have to tweak it but that should get you going. Let me know if you have any problems with that.

    Take care,
    Tony


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

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