One of my clients has a page they’ve been building on X where they’ve implemented modals via JavaScript (and the page is built mostly with shortcodes). The problem is that it isn’t completely ‘responsive’ and I’d like to move them away from building in that manner and towards Cornerstone elements or probably Pro would suit them even better.
See: https://www.apologeticscanada.com/conference-2018/
The specific problem we’re currently trying to solve is that the modals aren’t closable on Safari mobile. I’m sure there is some JavaScript error or bug in their implementation… but as I said above, I’d like them to be doing this stuff in Pro if possible. (For one, the plugin they are using to add the JavaScript to the page is buggy!)
First, would this kind of page/effect be possible with Pro modals?
Second, I notice the documentation page says, “The purpose of the element is to output a button which will display content in a modal on click.”
Is it more flexible than that? I don’t just want to tie it to a button. Can the modal be tied to any element, such as the images on that page above?
