Hide section in desktop - Pages and Content - Squarespace Forum

PHOTO EMBED

Tue Feb 23 2021 01:21:03 GMT+0000 (Coordinated Universal Time)

Saved by @Abhi #html

/* Hide this on Mobile */
@media screen and (max-width:767px) {
	[data-section-id="enter-id-here"] {
		display: none;
	}
}
/* Hide this on Tablet - Desktop */
@media screen and (min-width:768px) {
	[data-section-id="enter-id2-here"] {
		display: none;
	}
}
content_copyCOPY

https://forum.squarespace.com/topic/171095-hide-section-in-desktop/?tab