Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #339735

    Okay, I have an odd question.

    I want to have a picture that when it is hovered over the picture changes.

    Here is what I mean:

    I saw a website where it had photos of the team. Each picture the person was posing in a serious way, when you would hover over it a new picture of them making some sort of face would appear. So what they obviously did is when they sat down to take the picture they took two pictures, one serious and one silly.

    Is there a way to do this with the Enfold theme functions?

    Thank you.

    #340251

    Hey Micheal0424!

    Please use HTML as following

    <img onmouseover="this.src='path-to-mouse-over-image';" onmouseout="this.src='path-to-normal-image';" src="path-to-normal-image" alt="what-ever-you-like" />

    Regards,
    Yigit

    #340298

    Worked perfectly in the Code Block element, thank you!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hover over picture and it changes?’ is closed to new replies.