How to disable lazy loading for custom cart icon?
-
I want to make my cart more unique and change to my design. How to disable lazy loading for custom cart icon? Every time after uploading site my custom icon are reloading. How to make it like a other woodmart icon?
Hello,
Do you want to disable the lazyload only for the custom cart icon or completely from the site?
Best Regards.
Only for the custom icon. Earlier i disable it for custom category icon with JS, what i need to do? Maybe you make it default for icon?
Hello,
Sorry but it’s not possible to disable the lazy loading for specific elements.
It requires customizations and this is beyond our limitations and support policy.
Best Regards
This is joke? A few month ago we disable lazy loading for category icon and today you say no for shopping card? Custom icon is not usable with lazy loading, connect to other support agent please
https://xtemos.com/forums/topic/how-to-disable-lazy-loading-on-the-category-icons/
Hello,
Try to use the following code for the whole header part. It can’t be applied for this specific element, unfortunately.
add_action(
'woodmart_after_body_open',
function() {
woodmart_lazy_loading_deinit( true );
},
1
);
add_action(
'woodmart_after_header',
function() {
woodmart_lazy_loading_init();
},
11
);
Kind Regards
Nothing changed, bug in code?
Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?
Thank you in advance