Linking Modal to Column Issue

Hi there,

I have setup a modal to have the hash #modal123.

I have setup a column to be <a> and have a link of #modal123.

When clicking the column the modal opens fine, and it will close when I click off it.

However, when clicking the same column again it doesn’t activate the modal - it just does nothing.

I assume this is because the #modal123 is still in the URL and therefore it doesn’t know what to do.

Is there a way around this so that I can re-use the modal link more than once?

Thanks, Tom.

For anyone interested I have found a way around this by making the Modal have a Minimum Width and Height of 100% within my Column.

image

No now the Modal is the full size of the Column with no need for the Column to be linked and therefore this issue doesn’t need to be resolved as it works fine with this solution.

Thanks, Tom.

Hello Tom,

Thanks for writing in! There could be some JS error in the console or a plugin conflict. Have you checked out the most common issues already? To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

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