I have a question about hiding a specific div within another div.
Here is the scenario:
<div class="xp-row xp-first-row">
<div class="social-buttons">
Some Content Here
</div>
</div>
The goal is to hide the div with class "social-buttons" only if it is nested inside the parent div with classes "xp-row" and "xp-first-row". If the "social-buttons" div is standalone, it should not be hidden.
I tried using this CSS code:
.xp-row xp-first-row .social-buttons{
visibility:none
}
Unfortunately, this didn't work as expected. Do you have any suggestions on how to achieve this?
Thank you for your help!