Why Your Screen Flickers Before Loading the Right Variants

If you’re noticing a flicker on your screen for a millisecond before the correct variant loads, it’s likely due to the Optibase script not being installed properly. This happens when the script isn’t placed in the correct location within your project.

How to Fix the Flickering Issue:

1. Check the Script Placement: Ensure that the Optibase script is added to the head code section of your project. This allows the script to load before the rest of the page content, preventing the flicker.

2. Avoid Adding to the Footer: If the script is placed in the footer, it may load too late, causing a visible flicker as the variants are swapped.

You can update the script placement by going to your Webflow project settings and adding the Optibase script to the head section under Custom Code.

If the issue persists after making these changes, feel free to reach out for additional assistance!

Last updated