Streaming live at 10am (PST)

How to disable custom code for mobile

Hi,

I have used a custom code embed but it gives some bugs when in mobile.
Is it possible to disable to code for mobile?

Thanks

Are you trying to not show the element for mobile? If so here is a webflow video that shows you how.

Thanks! I’ll have a look.

I think I might found another solution:
I pasted this before the embeded code:

if (screen && screen.width > 768)

Seems to work.

Yes, media-queries is the way to do it.