-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Blocksy added a new feature named Custom Fonts extension - it provides the ability to add font stacks. Blocksy Custom Fonts (an existing feature) already works fine with Stackable typography option but for some reason the Font Stacks do not.
Steps to replicate:
- I’ve added a custom font called “Chillin” - it works fine and applied in editor and front end too
Screen.Capture.on.2025-02-12.at.11-44-03.mp4
- but, the font stack is not applied in editor and also in front
Screen.Capture.on.2025-02-12.at.11-45-05.mp4
Possible reason:
- It might be because Blocksy applies font stacks as a variable (the same way it is done in core).
- If you check the styles, the CSS custom property is wrapped in quotes.
Possible fix:
When generating CSS, check if the font is a CSS custom property var(...) then if so, do not wrap quotes around it.
Reactions are currently unavailable
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working