Archived topic
After setting widget title to 'Bold' in Typography is not working
3 replies · Started by Kaiser on March 31, 2022
After setting widget title to 'Bold' in Typography, it shows OK on preview. But it has no effect on the actual page after publish. Shoud I do it on additional css instead?
Hi Kaiser,
Ideally, no custom CSS should be needed. To have a better understanding of the cause of the issue, may you kindly provide the link to where this issue is occurring?
You may use the private information field if your prefer: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hope to hear from you soon. :)
I cannot provide the link because the page is in an internal network.
Below is a screen shot for you reference. And all the additional CSS as well.
With your code, only h1 Blocks inside class .cust-footer-block has a font-weight rule that may take precedence over your Typography rule.
If you also have Headline Blocks that have a specific font weight rule set through the Block’s settings, this too may override your Typography rule.
If you also have other plugins that set a font-weight rule, this too may also take precedence.
Try checking for this.
Alternatively, you may also try using a Custom target Element. Try to set something that has a high specificity score.
Example: https://share.getcloudapp.com/eDu5jXxr
Reference to Specificity: https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
Hope this clarifies. :)