Archived topic
Lightweight social icons not working After creating a cookie-free domain
7 replies · Started by Shaon on September 4, 2020
I'm having a problem with Lightweight social icons. It was working perfectly before setting up a cookie-free domain. But now showing like a square box. I'm using the autoptimize plugin. I've configured this plugin following by generatepress guidelines.
Hi there,
I believe it's a caching issue.
Try clearing Endurance page cache.
If that doesn't help then try disabling all plugins to test.
Still having a problem with that.
This is the issue:
https://www.screencast.com/t/08ScimlnGA
And should be related to caching as I mentioned above.
Can you try disabling all plugins except LSI and see if the issue still exists?
If so then try deleting and readding the widget.
Dear Leo,
Actually I am not an expert. Could you provide me step by step guideline?
The first step is to clear Endurance page cache and disable it to see if it helps.
If that doesn't help, then try disabling all plugins except LSI .
If that doesn't help again, then try deleting the current LSI footer widget and readding it.
Dear Leo,
Finally, I got a solution using this.
`<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<ifmodule mod_headers.c="">
SetEnvIf Origin "^(.*\.domain\.com)$" ORIGIN_SUB_DOMAIN=$1
Header set Access-Control-Allow-Origin "%{ORIGIN_SUB_DOMAIN}e" env=ORIGIN_SUB_DOMAIN
Header set Access-Control-Allow-Methods: "*"
Header set Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, Accept, Authorization"
</ifmodule>
By the way, I want to add Amazon Icon on LSI. How can i do it?
By the way, I want to add Amazon Icon on LSI. How can i do it?
LSI doesn't offer an option to add custom icons unfortunately.