Created
April 2, 2024 16:31
-
-
Save nocodesupplyco/282984e798560db97e85673bf30cf05f to your computer and use it in GitHub Desktop.
Hide Static Section if Child Webflow Collection is Empty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Give section an attribute of "data-cms-section" */ | |
[data-cms-section]:not(:has(.w-dyn-item)) { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment