Community > Discussions
24 views
3 replies

Porto shortcode: Dialog with CSS animation

Hi,
I am testing the use of the shortcode: Dialog with CSS animation

I have created two instances of the shortcode on one page, both with different content, but the same content is being displayed for both.

I can't figure out why this is happening.

The issue can be seen here: http://www.viewedin360.com/Contact.aspx

The 2 instances are:

View Image & Text            View Image Only

Any ideas why 'View Image Only' is still displaying the same content as 'View Image & Text'?

Kind regards,
Matt

mattfarmer mattfarmer
Published 04/08/2020 08:52
Add Comment
Ishita Gupta

I can see you are using the same id and href on both the dialog and buttons (View Image & Text / View Image Only)

Please try using different ids and hrefs on different instances of the shortcode and see if it works.

replied 04/08/2020 10:32
mattfarmer

Hi,
Thank you for the quick reply.

I'm not the best at html and coding...therefore how do I change the ids and hrefs?

Do i do it in the html module - Edit Content - Source and just give the href and id a new name?

Is it as simple as that?

Thank you,
Matt

replied 04/08/2020 19:15
mattfarmer

No problem.

I tried it and it worked!!!!

Thank you,
Matt

replied 04/08/2020 19:16

Last Activity 04/08/2020 19:16