Page 1 of 1
Phoca Cart » User Account Layout
Posted: 16 Oct 2017, 20:34
by cb03
Hi, I have a problem when I go to the cart or the user account, the fields names disappear when the mouse go over them.
I am using gantry hydrogen for my template, you can see a video there :
https://photos.app.goo.gl/xErbuiB0SByGYv843
Does anyone have an idea to help me ?
Re: Phoca Cart » User Account Layout
Posted: 16 Oct 2017, 22:40
by Jan
Hi, is the Mootools library loaded on that site? Mostly this can happen when Bootstrap/jQuery is in conflict with Mootools
Jan
Re: Phoca Cart » User Account Layout
Posted: 17 Oct 2017, 06:26
by cb03
Hi, yes Mootools library is loaded
Re: Phoca Cart » User Account Layout
Posted: 18 Oct 2017, 16:09
by Jan
So this seems to be the conflict there.
There are different techniques how to prevent from this conflict, see example (this prevents from missing the top menu items):
Code: Select all
if (typeof MooTools != 'undefined') {
var mHide = Element.prototype.hide;
Element.implement({
hide: function() {
if (this.hasClass("dropdown")) {
return this;
}
if (this.hasClass("hasTooltip")) {
return this;
}
mHide.apply(this, arguments);
}
});
}
But of course the best method is to not load the mootools (if this is possible)
Jan