Crown Street, Wollongong, 2500
Crown Street, Wollongong, 2500
Crown Street, Wollongong, 2500
Our editor is quite versatile in the sense that you may extend the feature of your site by adding any custom script or code, though custom code has the tendency to break or deactivate the editor or take additional steps to work. As a result, we have certain rules for you to follow while testing custom code.
If you're dealing with custom code, you should be aware that scripts and resources can only be loaded inside the same HTTP or HTTPS session.
The editor is always loaded through HTTPS by default. When you use an HTTP script in the editor, it will not be seen since it is loaded over a secure connection, but it will be visible on the live site because it is loaded over an unsecured connection.
To fix this, always load your resources through a secure connection.
When adding custom code to a header, make a copy of the site and test your code on the duplicate site. If it fails, simply remove the site.
You can also test the header code on a separate blank page on the same site. If the page crashes, just delete it or go into developer mode to access the code.
When adding custom code:
Page speed optimization has an impact on how some scripts are executed. PageSpeed optimization is enabled on most pages in Website Builder, which may create problems with your custom code. When troubleshooting code, you may determine whether it is a PageSpeed issue by:
If your code functions properly on that page, contact support to disable PageSpeed optimization for your site.
If you're using a script, you can also try making sure it runs asynchronously. This won't always fix the problem of scripts not executing right in the browser.
To enable async on scripts, make the following changes to your code:
The dynamic navigation function of Website Builder sometimes interferes with the way custom code is loaded. In responsive sites, you may stop animated navigation by right-clicking your navigation element in the editor, selecting
Edit, and then clicking
Turn off animated navigation.
When a site is broken by custom code, the editor usually loads a blank page (or breaks your editing features). If your site was broken by custom code, you have many options:
We cannot troubleshoot why a custom-coded element may not work on a site due to the unpredictable nature of custom code.
We do not have any developers available to debug custom code at the moment, so please follow the recommendations above when experimenting with custom code on your site.
Website Design - designed for your audience and to be found on Google Searches
SEO - unlock relevant and increased SEO traffic.
Paid Media - effective paid strategies with a clear ROI.
Love My Online Marketing has 10+ Years of working alongside businesses and helping them grow. Discuss your options for online success from website Design and Development through to Google Marketing. Book a Free 20min Discovery Call.
Love My Online Marketing is determined to make a business grow. Our only question is, will it be yours?
All Rights Reserved | Love My Online Marketing Pty Ltd. I ABN 58 627 183 037