Hello,
On my newspaper theme, I notice that the font weight on the mobile device varies unexpectedly. On some places it is heavy and in the same post, it changes its weight automatically. You can see in the screenshot that the font weight on the upper part of the display is lighter and below part is heavier. Whereas, I have changed nothing in the font style in the theme. Everything is on default in the font area other than the weight of Post Content font which turned to “300 Light”. You can see this on the following URL
https://www.morenews.pk/huawei-y9-review-best-mid-range-2018/
Screenshot: http://prntscr.com/k5idmx
Hi,
I believe there could be differences in font weights between browsers, but not with the same browser for the same font and font weight.
I have inspected the post you mention, I see no problem with it at the moment like in your screenshot. There a weight difference is definitely visible.
As long as you select the font weight for the element
– https://www.screencast.com/t/yZavEjMp4GaM
And you also activate the weight – https://www.screencast.com/t/u8zMBj6frebC
Then that would apply at all times.
Hi,
Thanks actually what happened was that some of the text was copied from a different word editor. Maybe it brought some formatting with it along the text. But the font system of the theme could not enforce its own setting that should not have been the case.
In the above scenario when you checked the particular post, I may have re-pasted the text from one single word editor that is why when you opened the post, it had been changed already.
But I think there should be an enforcement of the settings no matter what different format the text carry.
Thanks but here is another scenario. Again something happened similarly. As you can see in the following screenshot on the mobile device that 3rd and 4th paras are different in styling.
http://prntscr.com/k6buwv
It only appears on the mobile device where on the desktop, it looks normal. After this I opened the ‘text’ of the post and
You can see that some paras are showing the styles and some are not. And those which are not with style are looking different on the mobile device but on notebooks/desktops, it looks normal.
http://prntscr.com/k6bvom
I am talking about this link https://www.morenews.pk/pakistan-ready-to-provide-fiber-connectivity-to-china/
Why on mobile devices, it doesn’t enforce the styling rules?
Inline styles are the strongest, the theme style will not apply if the paragraphs have inline styles such as that
– https://www.screencast.com/t/sBrO6PtrFmy
Maybe you can configure the editor you are using to create the text to not add this style, since you don’t need it.