Thanks @Falco. That is in the ballpark! My challenge is how to use that capability. In that component you say:
After installing this component to the active theme you can target CSS using group membership like, for example:
body.group-patrons div.donation-banner {
display: none;
}
I know it is probably simple, but I am trying to understand that example. If I have a header div block like this:
<div name="test">My Text</div>
Then can I turn on that text when a class exists? Specifically something like:
.primary-group-renewal div.test {
display: inline;
}
And wouldn’t I also need to shut it off when that class does not exist? In fact isn’t the shutting off part the important bit? So perhaps something like this:
:not(.primary-group-renewal) div.test{
display: none;
}
I have been experimenting and googling but have not found this yet. I’m starting to watch the ‘about CSS’ youtubes which is probably good for me, but so far no hard clues. I appreciate your help!