How can I remove the white flash and blinking thumbnail when clicking thumbnails on Webflow?

Published on
September 22, 2023

To remove the white flash and blinking thumbnail when clicking thumbnails on Webflow, you can use a combination of Webflow's interactions and custom code. Here's a step-by-step guide:

  1. Create a new interaction: Go to the Interactions panel in Webflow and create a new interaction for the thumbnail element you want to modify.

  2. Set the initial appearance: In the initial appearance of the interaction, make sure the thumbnail is set to its desired default state, without any white flash or blinking.

  3. Add a trigger: Add a trigger to the interaction. This trigger can be a click or hover event, depending on your preferred user experience.

  4. Modify the thumbnail appearance: In the interactions panel, add a new step to the interaction sequence. In this step, you will modify the thumbnail appearance to eliminate the white flash and blinking. You can do this by changing the opacity, background color, or any other visual attribute to match the background or the adjacent elements.

  5. Add interaction delay: To ensure the change happens smoothly and eliminates the flash, add a small delay to the interaction step. This delay can be as short as a few milliseconds, depending on the desired effect.

  6. Publish and test: Once you've set up the interaction, publish your website and test it to see if the white flash and blinking have been removed. Make adjustments as necessary.

If you find that the above steps are not enough to eliminate the white flash and blinking, you can add some custom code in the project settings to override Webflow's default behavior. Here's how you can achieve this:

  1. Go to the Project Settings in Webflow and click on the Custom Code tab.

  2. Insert the following code snippet inside the <head> section of the Custom Code:

<style>  .w--current {    opacity: 1 !important;  }</style>
  1. Save the changes and publish the website to see the updated behavior.

This code snippet targets the class .w--current, which is applied to the currently active thumbnail when clicked. By overriding the opacity to 1, it ensures that the thumbnail remains visible without any flashing or blinking effects.

Note: Custom code modifications should be used with caution, as they might interfere with other aspects of your website. Always test thoroughly and make backups before implementing any code changes.

By following these steps, you should be able to remove the white flash and blinking thumbnail effect when clicking thumbnails on Webflow.

Additional questions:

  1. How can I customize the appearance of clicked thumbnails in Webflow?
  2. Is it possible to add animations to thumbnails in Webflow?
  3. How can I improve the user experience of my Webflow thumbnail gallery?