Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #221114

    I’m using the Team Member module and would like to make the entire image clickable, not just the little icon on hover. What’s the best way to do that?

    #221324

    Hi,

    Can you post the link to the Page in question please?

    Regards,
    Josue

    #221457
    This reply has been marked as private.
    #221462

    Hi,

    Try adding this at the end of js/avia.js:

    jQuery(function() {
    jQuery(".avia-team-member").each(function() {
       var theHref = jQuery(this).find("a.avia-team-icon").attr("href");
       jQuery(this).on("click", function(){
          document.location.href = theHref;
       });
    });
    });

    Then add this to the Quick CSS too:

    .avia-team-member:hover{
    cursor: pointer;
    }

    Regards,
    Josue

    #221546

    Perfect thank you! Excellent support my friend.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Extending Click Area on Images’ is closed to new replies.