swap block item image upon hover

Answered

2 Comments

  • Jessie Schutz
    Zendesk team member

    Hi Alex!

    I'm going to check with our Community Moderators to see if someone can help you out with this. Stand by!

    0
  • Trapta
    Community Moderator

    Hi @Alex,

    You can do this by simply adding onmouseover and onmouseout  attributes in img tag so that, your code will look like this -

    <!--Images for categories Home Page --> 

    {{#is id 115002400667}}
    <img class="" src="{{asset 'GettingStarted01.png'}}" onmouseover="this.src='{{asset 'GettingStarted01_hovericon.png'}}' " onmouseout="this.src='{{asset 'GettingStarted01.png'}}' " />
    {{/is}}

    <!--End images for categories -->

    Replace images with yours.

    Let us know if you face any issue.

    Thanks

    Team Diziana

    0

Please sign in to leave a comment.

Powered by Zendesk