I am trying to edit my image/cta module so that it hovers and displays a CTA. However, I can't seem to get the code right - the hover/cta itself is appearing below the image. I've looked at various resources but my case is so unique, I'm not sure what code to edit. If anyone has any suggestions, I would be very grateful! Thank you 🙂
{% if module.target == true %} {% set target = "_blank" %} {% else %} {% set target = "_parent" %} {% endif %}
{% unless (module.link is string_containing "//") or (module.link is string_startingwith "/") or (module.link is string_startingwith "mailto") or (module.link is string_startingwith "#") or !module.link %} {% set link = "//" ~ module.link %} {% else %} {% set link = module.link || "" %} {% endunless %}
I'm trying something more simple now. Since I want a CTA, I just decided to do the Image Button - which is working great. I'm just curious if it's possible to make it hover and show up the text "Download"? I'm just not sure if it's possible.