- Knowledge Base
- Responsive Website Builder
- Troubleshooting custom code
- Duda Support > Responsive Website Builder > Advanced
You can extend the functionality of Duda by adding custom code to your site. This allows you complete flexibility in creating any site you want, but it isn't something that should be done on any production website without at least doing some more research on coding.
If you've added custom code to your site that's impacting its performance and/or preventing you from editing it, see below for various troubleshooting options.
Restore to a backup
If you created a backup of your site, then this is the best method of restoring your site to a point before the custom code was added.
Even if you haven't created a backup, the editor creates one for you when you publish or enter developer mode. See this article for more information.
Access a different part of the page
If you're unable to access that in your editor by loading it initially, you might be able to work around it by loading a new page.
To fix this issue, try accessing your editor on a new page. You can do this by entering a different URL in your editor link. This is a link accessing the "about us" of a site, for example; https://my.duda.co/home/site/XXXXXXX/about
Once there, you can simply delete and re-add the page OR you can access developer mode to fix the issue on the site's code.
Try loading the non-secured version of the editor
Try logging into http://my.duda.co?nossl which will allow you to load scripts that were not embedded via a secure connection.
Access developer mode to fix the issue manually
How do I get my custom code to work?
Custom code is very unpredictable. There are many, many factors on why your custom code may not be working, so it isn't possible to say exactly which part of your custom code isn't working with our site builder.
If you need help getting the custom code working on your site, it might be worth hiring a programmer to help you get your code working on your site.