How do I disable the mobile share button and font optimization

Posted in: Newspaper
Post count: 32

Good evening, I want to make some changes to our website, and I have some questions. It will help me a lot if you can answer me.

1. How do I disable the share buttons for mobile (I’m mainly interested in the one at the top of the article) – I still want them to remain on the desktop.

IMAGE: https://imgur.com/Dm5MNar

2. How do I optimize the fonts on the website, I use the header from a demo, single post from a demo, footer from a demo, and the loading speed of the site suffers a lot, I want to be able to change this and load only one font on the whole site, for example Roboto, and also, I want you to tell me how I can optimize these fonts, which plugin you recommend to be GDPR.

3. It’s a bit strange how web vitals sees the images, when I have lazy load enabled from the theme, google gives me a worse score in terms of LCP, if I disable lazy load, LCP looks better, but I think it’s also possible better, I want you to tell me why this is happening and how I can fix the situation.

Thank you very much, have a nice day!

Post count: 35449

Hello,

1. This can be done if you are using a mobile template – https://i.imgur.com/YqXXnl3.png or mobile theme plugin, if not then the only solution will be to hide them using a css (or if is a single post template you can use the option from the image in the css tab to hide it on mobile – https://i.imgur.com/Gwm7rwu.png)

2. The best way for optimize a font will be to use for the website only that font and this to be locally stored. After that the google fonts to be disabled in the theme panel – https://i.imgur.com/slZZ3Qm.pnghttps://i.imgur.com/282IEQJ.png
https://forum.tagdiv.com/font-customization/ – also you can check on each page and cloud template the fonts using the manager – https://i.imgur.com/XyqmGYp.png also you can use CDN and this provides now a new options to optimize the fonts – https://blog.cloudflare.com/cloudflare-fonts-enhancing-website-privacy-speed

3. This is because the lazy load helps the speed of the website but is creating LCP when the images starts to load. Now the options that should be used can differed from user to use, some of them prefers to use the theme option and choose this one – https://i.imgur.com/XWN5PHm.png to reduce the LCP, but if you are using a cache plugin, then you can disable the theme option for lazy load and use the one from the cache.

Thank you!

Post count: 32

Hello, thank you very much for your reply,

1. On the part with the share button, I think I will give up on it and put it only at the end of the article, so that there are no more problems.
2. Regarding the fonts, for example can I upload roboto font in the theme? And can I use it like I use a font from the google cloud? If so, can you tell me where I can download it?
3. Regarding lazy load, indeed, by deactivating the animation, the lcp has improved dramatically. Thank you!

As a note, I have always avoided using newspaper because it is not very optimized, but with the right settings you can make a very fast and extremely beautiful website from a design point of view.

Besides the question with the fonts, I would like to know if wp rocket is suitable for this theme and if you can give me some information with the settings that could be perfect.

Thank you!

Post count: 35449

Hi,
1. Doing this should also bring some better results in pagespeed.
2. You can try a plugin like this one – https://wordpress.org/plugins/host-webfonts-local/ this should resolve the problem and there will not be necessary to set a new font (this will download the google fonts locally and those will be more fast deliver).
The WP Rocket cache plugin is one of the best for our theme, but since it’s a premium cache plugin and the costs are more over the theme costs (that is one per live) we avoid to as our clients top buy it, but this is the best one with our theme. It can also be used the lightspeed this can also provide good results. Also for any cache plugin we recommend a CDN (free version).
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.