Can I add an SVG code within the Navbar element on my Webflow site? I tried using the Embed widget within the Brand element, but nothing shows up. Is there something I am missing? Also, does the Free account support SVGs in Webflow?

TL;DR
  • Ensure your SVG code is complete and optimized for web usage, and embed it properly within the Navbar's Brand element using an Embed Widget.
  • Confirm your account type supports SVG and troubleshoot any CSS conflicts or cross-browser compatibility issues if the SVG does not display.

You want to add an SVG code within the Navbar element on your Webflow site, but it seems like it's not displaying as expected. Let's go through the steps to ensure it is set up correctly, and also address the account type concerns.

1. Ensure SVG Code is Correct

  • Check SVG Code: Ensure your SVG code is valid and complete. Any errors or omissions could prevent it from rendering properly.
  • Optimize SVG: Consider optimizing the SVG for web usage to avoid potential rendering issues.

2. Use the Embed Element Properly

  • Add Embed Element: Drag an Embed Widget into the Brand element of your Navbar.
  • Paste SVG Code: Insert your SVG code within the Embed Widget. Ensure there are no additional tags or scripts that Webflow might strip out.
  • Save and Publish: After adding the SVG, save your changes and publish your site to see if it displays properly.

3. Account Type and SVG Support

  • Free Account Limitations: Webflow does support SVG usage on Free accounts. However, some features and element customization might be limited compared to paid plans.
  • Check Resource Limits: Ensure you are within any usage restrictions that might apply to your account type.

4. Troubleshoot SVG Display

  • Check CSS Conflicts: There could be CSS in your project that affects the display of the SVG. Inspect the SVG element using your browser's developer tools to diagnose any visibility or styling issues.
  • Cross-Browser Test: Sometimes rendering issues are browser-specific, so test across different browsers.

Summary

To display an SVG in your Navbar correctly, make sure your SVG code is valid and placed within an Embed element inside the Brand component. The Free account should support this unless you hit usage limits. If issues persist, check for CSS conflicts or test in different browsers.

Rate this answer

Other Webflow Questions