404NotFound_ Posted March 10 Share Posted March 10 (edited) Bonjour, je viens ici car j'ai un petit soucis qui me hante depuis ce matin... Je voulais ajouter un simple hover orange sur mes boutons dans mon menu principal sur ma boutique Prestashop 1.7.8.7, je découvre alors que ça ne fonctionne pas... sauf que au survol, dynamiquement le code suivant est ajouté : Sauf qu'il m'embête bien car j'ai l'impression qu'il à la prioriété même sur un !important en CSS..... Impossible de mettre là main sur ce script JS/PHP qui injecte ce style sur le menu, quelqu'un à une idée ? J'utilises le thème lifestyle sur une version PS 1.7.8.7 Bonne journée tout le monde ! Edited March 11 by 404NotFound_ résolu (see edit history) Link to comment Share on other sites More sharing options...
WEB-FUSION Posted March 10 Share Posted March 10 Bonjour, cela ressemble à une config du hover dans le thème. Vous avez une partie configuration du style sur le thème ? Link to comment Share on other sites More sharing options...
404NotFound_ Posted March 10 Author Share Posted March 10 Bonjour, Oui j'ai un "thème configurateur" dans le BO Link to comment Share on other sites More sharing options...
WEB-FUSION Posted March 10 Share Posted March 10 il n'y a que ça ? Vous avez pas une partie CSS ? Link to comment Share on other sites More sharing options...
404NotFound_ Posted March 10 Author Share Posted March 10 Via le backoffice ? Non du tout Link to comment Share on other sites More sharing options...
WEB-FUSION Posted March 10 Share Posted March 10 Le thème gère le menu ou c'est par un autre module ? Link to comment Share on other sites More sharing options...
404NotFound_ Posted March 10 Author Share Posted March 10 J'ai un module "menu principal" ps_mainmenu, j'ai chercher dedans à première vue rien.. Link to comment Share on other sites More sharing options...
WEB-FUSION Posted March 10 Share Posted March 10 essayer de faire une recherche dans tous votre code js des classes qui sont dans la balise a de votre lien. Link to comment Share on other sites More sharing options...
404NotFound_ Posted March 10 Author Share Posted March 10 Je ne trouve rien qui injecte un code RGB. Link to comment Share on other sites More sharing options...
404NotFound_ Posted March 10 Author Share Posted March 10 J'ai un écouteur d'évènement qui se déclenche en tout cas qui me pointe vers cet extrait js, de mon fichier minifié : this.el.find("li").hover(function(t) { e.el.parent().hasClass("mobile") || (n !== (0, u.default)(t.currentTarget).attr("id") && (0 === (0, u.default)(t.target).data("depth") && (0, u.default)("#" + n + " .js-sub-menu").hide(), n = (0, u.default)(t.currentTarget).attr("id")), n && 0 === (0, u.default)(t.target).data("depth") && ((0, u.default)(t.target).css("color", window.color + "!important"), (0, u.default)(t.target).find("span").css("color", window.color + "!important"), (0, u.default)("#" + n + " .js-sub-menu").css({ top: (0, u.default)("#" + n).height() + (0, u.default)("#" + n).position().top }))) }), Link to comment Share on other sites More sharing options...
WEB-FUSION Posted March 10 Share Posted March 10 le fichier bottom-.... est dans votre theme ? Link to comment Share on other sites More sharing options...
404NotFound_ Posted March 10 Author Share Posted March 10 (edited) Oui c'est la minification des fichiers JS, ça correspond à mon fichier cache. Voici son chemin : /themes/lifestyle/assets/cache Edited March 10 by 404NotFound_ edit (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now