Issue with chrome browser: Social icons & Ads

Posted in: Newspaper
Post count: 4

Hi,

I am facing issue with chrome browser as I am seeing social media icons as chines symbols @ top header navigation menu, share buttons and in mobile view home button and search icon.

Google ads are not visible in chrome browser.

The same is working fine with IE browser.

Please have a look.

Regards;
Jyoswave

Post count: 23312

Hello jyoswave,

Usually, this kind of error appears when using CDN or loading fonts from a different source. Please try to use this solution and take a look at this: http://screencast.com/t/AMjW530CSH6 and this: http://screencast.com/t/dLjEUGGwQUZ
The solution to this issue is simple. You will need to add some code to your .htaccess file like this post suggests: https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/

Hope this helps and let us know how it goes!

Thank you for the message!

Post count: 4

Hi Catalin,

Thanks for your quick support. The issue resolved.

Regards;
Jyoswave

Post count: 23312

Hello jyoswave,

I am glad that you could manage the problem by my advice.

Thanks.

Post count: 4

Hi,

I am again facing the issue. I am not able resolve the issue. Please have a look.

http://www.enggwave.com/

Regards;
Jyoti Biradar

Post count: 22421

Hi,
Did you change your htaccess file or your hosting or cdn server in the meantime?
Try the method again as it;s the only known way of fixing this if you use cdn or different sources for your fonts.
Thank you!

Post count: 15

Hi Bogdan! I have the same issue, i couldn’t understand properly what two domains he is taliking about here:
change your htaccess file code on resource server domain (i.e. The cdn htaccess; not the source calling the resource)

Can you please elaborate this a little further for me?

Post count: 4

Hi Bogdan,

I changed the code in htaccess file as per earlier suggestion. CDN I have not changed. Same cdn I am using (Cloudflare).

Following code I am using top of the htaccess file.

<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “*”
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Please have a look.

Regards;
Jyoti

Post count: 22421

Hi

@all,

Unfortunately this issue is not theme related. It happens on every theme and every site if you use a cdn server. So you can understand what is going on, a cdn will cache your site and serve it from the cdn server instead of your own server to limit the stress on your server and improve loading times. But it cannot load the fonts. The fonts need to be loaded from the same source in order for them to display properly. A cdn cannot load the fonts for you so this issue occurs. This should be as a warning on every cdn server out there…In this case you need to edit your htaccess and set the allow origin code so fonts can be loaded through cdn. This is different for everyone as the htaccess is different in each case. I cannot provide a general solution as there is no general one. The allow origin method works for all users only the implementation method is different for each case. Try to find a few extra resourcess so you can see how different people have them set up and test it out on your end:
https://www.google.ro/search?num=100&safe=active&espv=2&q=allow+origin+cdn+htaccess&oq=allow+origin+cdn+htaccess&gs_l=serp.12…0.0.0.53106.0.0.0.0.0.0.0.0..0.0….0…1c..64.serp..0.0.0.MqGeYUtEyfw
The most important thing to do after you add the allow origin code to your htaccess is to clear cache and purge cdn files.
Here are a few refference links:
https://davidwalsh.name/cdn-fonts
https://wordpress.org/support/topic/css-fonts-missing-no-access-control-allow-origin-header
http://webmasters.stackexchange.com/questions/52695/access-control-allow-origin-not-working

Thank you!

Post count: 15

But my case is different, i don’t use any CDN. I checked my W3 total Cashe settings and no CDN is enabled. My issue occured when i updated the theme to the latest version.

Post count: 15

I solved the problem somehow! My problem was because of W3Tc settings although the CDN was disabled. I restored the dafault setting and the icons reappeared, however i couldn’t figure out what specific settings in W3TC has caused that issue.

Post count: 22421

Hi,

W3 total cache is not the recommended cache plugin unfortunately. It is known to cause issues with our theme so please use the recommended one: WP super cache: http://screencast.com/t/AkldjPStDm
We were not aware that w3tc causes the same issues as the cdn server. It;s good to know 🙂

Thank you!

Post count: 15

Actually wp super cache didn’t help me too much in boosting pasge speed but w3tc does. Yes, it did cause this specific issue, i have to figure out what exact settings trigger this. I wonder if you make the theme compatible with w3tc anytime in the future as a large number of Newspaper users prefere w3tc over WP super cache. Have a nice day!

Post count: 22421

Hi,

W3 total cache was our recommended cache plugin for a long time but from a few updates back they changed their code completely and that caused issues with our theme and we could not keep hacking our theme code to keep up with their changes so we decided to switch recommended plugins.

Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.