Trigger Modal with Image?

1 reply·opened Nov 1, 2018
J
jpme226Nov 1, 2018

Is it possible to trigger a modal pop-over using an image?

S
SemiColonWebSTAFFNov 1, 2018

Hello,

It is Definitely Possible! Simply enclose the Image you want to use within the <a> Tags that has the Modal Trigger options. Example:

<a href="#" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
	<img src="image.jpg" alt="Image">
</a>

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard