Modal From 'Read More' Button in Classic Callout

Hi, is there a way to trigger a content modal from the classic callout button? Note, this is the only trigger we want for the modal (i.e. we don’t need the modal toggle at all, we just need the modal content area to open when pressing the classic callout button).

Thank you

Hello @duncmoran,

Thanks for writing in! If you have inserted a content area modal element, make sure that you have added a Toggle Hash. You can find this option in Content Area > Customize tab.

In my example, you can use the Toggle Hash as your button link URL: #my-modal

Hope this helps.

Thanks! How do I insert the content area modal but remove the prebuilt toggle though?

SOLVED:

For future searchers. I added an ID to the modal in its customize section, then added the following code to css

a#replace-this-text-with-modal-id-anchor-toggle {
display: none;
}


Note only replace up to id, everything after that remains in css.

Hey @duncmoran,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.