Hide button based on screen width

Hi there,

Is there a way to hide buttons (and other elements) based on screen width? I know I can hide whole rows and sections, but I was wondering whether there’s a code I can use on a specific element in a row or section to hide just that.

Thanks a lot and keep up the great work!
Daniela

Hi Daniela,

Here are some ready classes that you can add to the class field of the elements to control their visibility:

cs-hide-xs 
cs-hide-sm 
cs-hide-md 
cs-hide-lg 
cs-hide-xl

Hope this helps.

1 Like

Sorry for the late reply. And thanks so much - that works!

You’re most welcome.