Tutorial
Hide section in Webflow if no CMS items are present
Add this attribute to hide a section in Webflow when there are no CMS items present. <style> [data-cms-section]:not(:has(.w-dyn-item)) { display: none; } </style>
Hide section in Webflow if no CMS items are present
Add this attribute to hide a section in Webflow when there are no CMS items present. <style> [data-cms-section]:not(:has(.w-dyn-item)) { display: none; } </style>
Tutorial