Skip to content

Adding a Contact Modal Button

Adding a Contact Modal Button

The contact modal can be called from any page and is a global component. To invoke the modal you need a basic tag, usually a button, with the following attributes:

data-target="#contactModal"
data-toggle="modal"
type="button"

e.g.

Contact Button
<button
class="btn btn-primary"
data-target="#contactModal"
data-toggle="modal"
type="button">
Contact Us
</button>