Scripts in footer does destroy the design

When I use a script to display an popup, they destroy the design. I use the script with text ans html and also a plugin to set scripts on footer/header and other on each site.

this script: destroy the design. You can see it on: https://mendosana.ch/home_test/ <== destroyed site and original site ==> https://mendosana.ch/

What is the problem?

Hi @mendosana,

Thanks for reaching out.
Now, it will be very difficult to recognize the issue without investigating through the admin dashboard. Can you please provide login credentials of your broken site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

okay, i added this. But the scriptcode was not displayed :slight_smile: how can i give you the script code?

Hi @mendosana,

I have checked your test HOME page and found the issue is in the first section where 2 Content Area Modal has been added. I went ahead and checked the content and reset it again and found that the frontend start working. If the said script is not added to the page, then the script might be the reason behind your issue.
Please remember that we don’t provide any support or investigations to custom or external code.

Thanks

I’m a little confused. A tiny little script breaks the design in your theme? That is very interesting. That seems like a programming error to me though. A test on another site showed that it works without problems.

Hi @mendosana,

This is not about the script it is about the code it returns, if that is having any broken HTML will break any theme. Please remember that every theme has its own structures, if any theme does not break due to the said script that does not mean the script is perfect. I would suggest you add the script into the secure note and let us know for further investigation.

Thanks

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