I’ve found the :not
selector which looks handy. Is that is the right way to go about this — although I might have trouble if the non-sidebar elements on my page have variable margin settings since the :not
syntax requires me to apply my code in reverse, ie apply a value to all other elements which aren’t .widget-area
so that I can apply a different value to .widget-area
. Hopefully, it doesn’t have to be this complicated.
Did you try using .left & .right?
.left .widget-area, .right .widget-area {...}
Then margin/padding should work
Yay! Thank you, Dave.
Now I’m annoyed with myself for not engaging logical brain last night. But it *was* late.