Could you post your site URL here, so I can have a look?
Thread Starter
ZLC
(@kindnessville)
Yes. Thank you. Here’s my URL: http://www.alexandermilljr.com
Hi @kindnessville –
It looks like you have a script on your site that is disabling the ability to right-click. Unfortunately, that makes it difficult to troubleshoot and try to figure out what is going on.
That said, I think the issue is that you aren’t importing the Lato font and are instead relying on it to be present on the user’s device:
font-family:Lato,sans-serif;
This means that it likely isn’t working on a mobile phone where Lato isn’t installed. I would also expect that it isn’t working on desktop computers where users don’t have Lato installed.
I’d recommend either adding Lato via Google Fonts or loading it locally on your site:
https://fonts.google.com/specimen/Lato
Thread Starter
ZLC
(@kindnessville)
Thanks for looking into this issue for me. Sorry about the trouble with the script. I’ve disabled it so you can troubleshoot.
I’m not sure your guess about the font is correct. Lato is part of the theme I’m using (Twenty-Fourteen), so I would think it’d be native to my site.
The trouble I’m having with the font is only there when your plugin is activated. When I disable it, everything goes back to normal and I see Lato on my mobile device. So my guess is there’s something being done with the CSS to that font on mobile with your plugin activated.
Hopefully, with your ability to right-click my website, you’ll be able to figure out what’s causing it.
Thanks so much for your help.
Hi @kindnessville,
I am still unable to right-click on your site to investigate further on the font issue. Meanwhile, have you tried adding Lato via Google Fonts as per my colleague’s suggestion?
I do agree with their suggestions on what could have happened here; also, I’d add that perhaps the theme isn’t 100% mobile-ready and friendly given it’s a bit outdated.
You can also try temporarily switching your theme to Twenty Twenty and see if the problem persists. You’re welcome to use the Theme Switcha plugin to do that:
https://ww.wp.xz.cn/plugins/theme-switcha/
This plugin lets you change themes without it affecting the way users see your site.
Let me know how you get one with the above-mentioned suggestions, and when the right-click on your site is re-enabled again. Thanks!
Thread Starter
ZLC
(@kindnessville)
Thank you, Stef. What ended up working for me is adding this to my header.php:
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>