I’m developing a website and I’m already in the final stages. I just needed to disable the embed code on the same page but on mobile. Whenever I delete or change the embed code on mobile it also changes on desktop.
hi @Bernardo_Nunes please follow forum request guide and provide more detail informations like what page what code if it is CSS, JS, iFrame … as no one most probably doesn’t have the crystal bowl.
Anyway, as this request is not WF specific answer to your question “how to detect that it is mobile browser” as they differ from standard desktop browsers or if screen width is eg. 300px" can be found on internet.
To disable the embed code on mobile without affecting the desktop version, you can use Webflow’s visibility settings. Select the embed code element, go to the Style panel, and for the mobile breakpoints (Tablet, Mobile Landscape, or Mobile Portrait), set the Display property to None. This will hide the embed code on mobile devices while keeping it visible on desktop. This approach allows you to control visibility without modifying the actual embed code, ensuring it only disappears on mobile screens.