Block featured products load on mobile

Francesco_Sorbo
New Member
8 0 0

Hi all,

Doing a page speed test with page speed insight i noticed that on mobile i have a low score.
Checking code i saw that on Homepage, the section of featured products is loaded even if not showed (as setted in theme settings).
So i am looking a way to avoid that featured products are loaded on mobile, not just hided.
I have tried with some javascript in order to obtain the window width, but i understood that i can not get a liquid variable with javascript.
Any suggestions?

0 Likes