MOBILE FRIENDLY

how do I deactivate mobile friendly on one page only?

This forum is for code related issues on your website.

You are best suited contacting Wix Support
https://support.wix.com/en/about-wix/contacting-wix-support

Or better still, checking out Wix Support own pages for the mobile editor.
https://support.wix.com/en/the-mobile-editor/getting-started

Yes, I asked about the code

https://support.wix.com/en/article/enabling-and-disabling-the-mobile-friendly-view-of-your-site

For code you can set the page up using Wix Window API and the formFactor function.
https://www.wix.com/corvid/reference/wix-window.html#formFactor

I don’t think it’s possible.

Is it true?

let formFactor = wixWindow.formFactor (Desktop);


See here for a working tutorial for only showing on mobile.
https://support.wix.com/en/article/corvid-writing-code-that-only-runs-on-mobile-devices

As for the code from the API reference, that allows the code to get what kind of device is being used to view the page. If you want to do more with it, then you need to use similar code to what is in the tutorial linked above.

This won’t still let you deactivate the mobile friendly option for one page though, however for that one page you can add the code so that when viewed on mobile the page is shown how you have designed it with what you have setup through your code.

let formFactor = wixWindow.formFactor;
// This can give a result of "Desktop", "Mobile" or "Tablet"