This topic has 11 replies, 3 voices, and was last updated 1 months ago ago by Jack Richardson
Hi
ive got this issue :
when i lazyload any image using eather “Xstore Ajaxify” or “lazy load Background image that can be seen when adding an image in the background of a container” everything works just fine
BUT when i clear cache using autoptimize or any caching plugin, the image just disappears when i view my site (but if i dont clear my cache it works just fine)
On Autoptimize, ive tried everything on it, i unchecked every box and after each time i go and turn off then on the lazyload on a specific image and i check the image on the website it works just fine but after i reclear the cache and try to view my site the image isnt their, ive even uncheched every box on autoptimize then cleared cache and the lazyloaded image still disapears
ive excluded “, wp-content/themes/xstore/js/libs” but didnt work
and even after deleting every caching plugin i still have the same issue but it gets delayed (after adding the lazy load it needs 30 seconds to disappear when refreshing the page)
i need a solution because i need the lazy loading feature since it increases the website speed
thanks for taking the time to help me
i spent the whole day trying to fix this and i think the problem is with the xstore core plugin (since when you remove it you can still have the “XSTORE AJAXIFY” so i can use the lazy load option) when i removed it the images didnt disappear
i need to finish this project the only thing that i have left in the lazyload problem i wanna launch facebook ad campaigns to try this out
thanks for your time
Dear @QaQako,
We hope this message finds you well.
We would like to inform you that, as we have not been provided with access to either the wp-admin or FTP, we are unable to directly check the settings of your cache plugin.
In this case, we kindly suggest that you try adding the following code snippet to your child theme’s functions.php
file:
add_filter('etheme_ajaxify_script', '__return_true');
This will ensure that the script for the XStore Ajaxify feature is forcefully loaded on each page. It appears that your cache plugin may be preventing the inline script from loading as expected.
Should you require further assistance, please do not hesitate to reach out.
Best regards,
Jack Richardson
The 8Theme Team
hi welcome back thanks
it works now, Quick Question im not using a child theme will there be any problem after modifying the functions.php file of the parent theme
Hello, QaQako,
We would like to recommend that any code modifications be made through the child theme. This is because custom changes made directly to the parent theme will be lost after applying official updates. Please note that updates are mandatory and cannot be skipped.
Thank you for your understanding.
Fortunately, you can indeed install a child theme at this stage. Installing a child theme will not affect the current data. However, any customizations directly made to the parent theme files would need to be manually transferred to the child theme.
To install a child theme, you can follow these steps:
– Download the child theme archive from this page – https://www.8theme.com/downloads/
– Go to Appearance > Themes > install the child theme, but do not activate yet.
– Please note that the child theme does not inherit the theme options of the parent theme, if you enable the child theme, you need to import options from the parent theme.
Go to Theme Options (when the parent theme is activated) > Import/Export > download the export file. After that Activate the child theme (Appearance > Themes) > go to Theme Options > Import/Export > import your options and reload the page without saving! Save options only after reloading. Check your site after that, and use the child theme.
Best regards,
8Theme Team
i still have an issue concerning “lazy load Background image” the images keeps disappearing and thanks
Hello @QaQako
Could you provide us the screenshot of the section where such issue exist as we are unable to see it while testing the home page on your web-site?
Kind regards,
Jack Richardson
The 8theme’s team
ill remove the lazyloading background for image so it will appear
im using it on 2 places :
header
home page -> first section
Hello @QaQako
Could you please, try to test with default theme to check if the issue is related to our theme or it is for Elementor plugin settings.
Kind regards, Jack Richardson
yeah youre right its caused by xstore theme (look video)
wheen on the 2024 theme it works fine and after i came back to your theme it dissapeared
Dear @QaQako,
We hope this message finds you well.
It appears that the issue with the proper loading of the background image using the lazy load feature is related to the cache plugin currently in use on your website. In order to investigate further and provide a solution, we kindly request that you share the correct wp-admin and FTP access credentials with us. This will allow us to thoroughly examine the issue and implement the necessary fix on your website.
Thank you for your cooperation.
Best regards,
Jack Richardson
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up