Thanks!Less:[data-logged-in="true"][data-container-key="node-14"] { .p-description { display: none; { }
[data-logged-in="true"][data-container-key="node-14"]
will only be applied if the member is logged in and viewing node 14[data-container-key="node-14"],[data-container-key="node-18"]
will affect both nodesFantastic! ThanksIf you are using data elements for styling then the following rules apply:
- multiple declarations without a comma require all conditions to be met - e.g.[data-logged-in="true"][data-container-key="node-14"]
will only be applied if the member is logged in and viewing node 14
- multiple declarations with a comma will apply to all instances - e.g.[data-container-key="node-14"],[data-container-key="node-18"]
will affect both nodes
We use essential cookies to make this site work, and optional cookies to enhance your experience.