-
Here’s a GenerateBlocks question for you re: Global Styles…
Is it possible to replicate this selector in GB:
h1, h2, h3, h4, h5, h6
I thought I would be able to get close by using the
:is()
pseudo-selector like this:.page :is(h1, h2, h3, h4, h5, h6)
, but GB just removed the punctuation and created a class named.pageish1h2h3h4h5h6
.I could swear I saw Kyle Van Deusen using a pseudo-selector in one of his videos, but I can’t see how to do it now.
-
Figured it out. The steps are:
– Edit the style.
– Right below the class name there are buttons labelled Main, Hover, Links, and More. Click More.
– The screen will change to a list of pseudo-selectors. Below them is a button labelled “+New”. Click it.
– Voila. The screen changes again, exposing an open field where you can type pretty much any CSS selector. -
Glad you figured it out 🙂
- You must be logged in to reply to this topic.