Why isn't the custom code widget showing up on my Webflow site, even though it worked on my other sites?

Published on
September 22, 2023

If the custom code widget is not showing up on your Webflow site, even though it worked on your other sites, there could be several reasons for this issue. Here are some potential causes and their solutions:

  1. Incorrect placement of the code: Ensure that you have placed the custom code widget in the appropriate location within your Webflow site. If you have added the code to a specific page, make sure the widget is added to that page. If you have added the code to the project settings, confirm that the widget is added globally to all pages.

  2. Conflicting HTML or CSS: The custom code you are using might conflict with the existing HTML or CSS on your Webflow site, causing the widget not to display. Check for any errors in your code or conflicts with other elements on the page. You can use the browser's developer tools to debug and identify any issues with the code.

  3. Browser caching: Clear your browser cache to ensure that you are viewing the most up-to-date version of your site. Sometimes, browsers can cache old versions of your site that may not include the custom code changes you have made.

  4. Code syntax errors: Double-check your custom code for any syntax errors or missing characters that could be causing the issue. Even a minor mistake like a missing semicolon or closing tag can prevent the code from functioning correctly.

  5. Visibility settings or code conflicts: Webflow has a built-in feature called "Visibility Settings" that allows you to control the visibility of elements based on certain conditions. Make sure that there are no conflicting visibility settings that are preventing the custom code widget from appearing on your site. Additionally, check if there are any conflicting JavaScript or CSS code that might be interfering with the widget.

  6. Publishing issues: If you have made changes to your custom code widget but haven't published your site, make sure to publish your site for the changes to take effect. Sometimes, the custom code may not be visible in the Webflow Editor or Designer but will appear correctly when the site is published.

In summary, if the custom code widget is not showing up on your Webflow site, you should check the placement of the code, resolve any conflicts with HTML or CSS, clear browser cache, ensure code syntax accuracy, check visibility settings or code conflicts, and publish your site after making changes. By following these steps, you should be able to resolve the issue and make the custom code widget visible on your Webflow site.

Additional Questions:

  1. How do I troubleshoot custom code issues in Webflow?
  2. Why is my custom JavaScript code not working in Webflow?
  3. Can I add custom code to specific pages in Webflow?