WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnail with Featured Image Hover (3 posts)

  1. Chuckle Butty
    Member
    Posted 1 year ago #

    Hi everyone,

    So, I'm fairly new to WordPress and firstly I have to say; Why didn't I find it sooner! Really enjoying learning new things, and it's forcing me to learn PHP, which I've been putting off for too long...

    Anyway, I was wondering if anyone can help me out by giving some insight into how to make a posts thumbnail display the posts featured image on mouse hover, but have it work like a tooltip...? Much like on the Envato sites e.g. graphicriver.net.

    Any help would be very much appreciated. I've tried making it work around a simple:
    .div_img {display:hidden}; .div:hover .div_img {display:block;}
    sort of thing, but I don't know how to anchor that to the cursor.

    I'm sure there's probably a plugin or a simple PHP/JS snipet that will help...

    Many many thanks,

    Adam

  2. SNSD Photo
    Member
    Posted 1 year ago #

    1. you must have the tooltip script before. Find the proper tooltip script due not all of them support tooltip within image inside.

    2. based on your tooltip script, many ways to achive these function.

    3. if it's static post thumbnail, like featured image on frontpage (not images inside gallery) then it would be easier.

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

    1. you must have the tooltip script before. Find the proper tooltip script due not all of them support tooltip within image inside.

    You can create tooltips purely through CSS

Topic Closed

This topic has been closed to new replies.

About this Topic