Can I limit my preloading screen to appear only during specific actions?

Hi @ddai

You can use code below:

{% if template == 'index' or  template contains 'collection' or template contains 'blog' or template contains 'page' or template contains 'article' or template contains 'cart' %}
    
	    

	      
![darker.png?v=1676571597|2000x2000](upload://qcAi7fbw2jMZ9Am2wneGIkLKEXI.jpeg)

	    

	

	

	

	
{%  endif  %}