WordPress.org

Ready to get started?Download WordPress

Forums

WP Simple Galleries
[resolved] Rollover on images (2 posts)

  1. samepant
    Member
    Posted 1 year ago #

    If I want to add rollover functionality to the images in the gallery, what would be the best way to do that?

    thanks,

    sam

    http://wordpress.org/extend/plugins/wp-simple-galleries/

  2. Matthew McConnell
    Member
    Plugin Author

    Posted 1 year ago #

    Best way would be to use some custom css

    The css code below will do a opacity hover over effect.

    #wpsimplegallery li img {
        opacity: 0.5;
        -webkit-transition: opacity 1s ease;
        -moz-transition: opacity 1s ease;
        -ms-transition: opacity 1s ease;
        -o-transition: opacity 1s ease;
        transition: opacity 1s ease;
    }
    #wpsimplegallery li img:hover {
        opacity: 1;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.