Site logo

Archived topic

Using block button to call up a modal

1 reply · Started by Ian on October 2, 2021

Viewing posts 1–2 of 2

Hi there,

it doesn't look like they provide an option to do that, the whole modal and button are wrapped in the one element.

Simplest option may be just use some CSS:

/* Center align button */
.ff_form_modal {
    text-align: center;
}
/* Static button style */
.ff_form_modal button.ff_modal_btn  {
    background-color: transparent;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 3px;
    transition: 0.3s;
}
/* Hover button style */
.ff_form_modal button.ff_modal_btn:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.1) perspective(1000px);
}
This archived topic is closed to new replies.