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
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.
Hello @Thijs_Vandeursen ,
I am completely new to coding, so could you elaborate on what exactly I have to add to the HTML embed, as obviously only copy/pasting this doesn’t work. I am guessing I have to add some kind of bracketing before and after, but as I said I have absolutely no idea at this point.
If it would help, this is the code I am using as of now:
<style>
.holder {clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
</style>