I think others are having the same problem and multiple people have reported this. Hide() show() elements are not working in chrome but in other browsers. It is working in site editor preview mode in chrome which I’ve tested.
This has happened 4 times over the last month (at times we checked…maybe more when it wasnt) and we reported it here/directly to wix earlier.
If this chronic issue isnt fixed by wix soon i’m moving my 3 sites out of Wix and filing for a refund of my plan. The whole point of using wix was to make things easier, but that doesn’t matter if basic things keep breaking down again and again.
2 Likes
I view my website in Google Chrome and all my elements that are set as show and hide all work perfectly fine as they should do.
Maybe for yourself it isn’t a fact that there is an error with Wix, maybe it is just down to something you have got installed in your Chrome browser like a third party adblocker or popup blocker etc.
Simply make sure that you have white-listed your website and Wix Editor etc in any of these add-ons that you have in Chrome.
I had similar issue last year and found out that it was one of my installed add-ons that was causing the issue and so white-listed my site in that add-on fixed it and everything was shown as it should.
Nop.
Even in “incognito mode” my header dont hide… It is my code:
import wixWindow from ‘wix-window’;
let formFactor = wixWindow.formFactor;
export function headerFirst_viewportEnter(event) {
if (formFactor !== “Mobile”) {
$w(“#headerDepois”).hide(“fade”);
$w(“#headerAntes”).show(“fade”);
}
}
export function headerFirst_viewportLeave(event) {
if (formFactor !== “Mobile”) {
$w(“#headerDepois”).show(“fade”);
$w(“#headerAntes”).hide(“fade”);
}
}
Its simple… Only in “preview” works.
I suggest that you use the correct code for form factor.
https://www.wix.com/corvid/reference/wix-window.html#formFactor
https://support.wix.com/en/article/corvid-writing-code-that-only-runs-on-mobile-devices
https://support.wix.com/en/article/corvid-tutorial-displaying-elements-in-mobile-only
Plus, where is your onReady page function and are you placing it in your site tab for overall site control or in the page tab which will only work on the one page that the code is on.
Exactly! My subscribers and I can only see and view blog comments and replies in Incognito mode. Wtf? I have only had my blog on Wix for 4 months, and have had to call support 3 times already for issues! Ridiculous!