Global styles
-
Hi,
I am trying to use global variables for the html tag but they are declared for the body tag and there are CSS cascading issues. Is there any filter to change the body tag to :root or html?Instead of this:
<style id='global-styles-inline-css'> body {--wp--preset--color--background: #f8f5f2; [...] </style>
I’d like it
<style id='global-styles-inline-css'> :root {--wp--preset--color--background: #f8f5f2; [...] </style>
Is it possible? I have hot no idea how to fix it.
I’d appreciate your help. Thank you!
Gyurmey
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Global styles’ is closed to new replies.