jmmeuret Posted May 5, 2015 Share Posted May 5, 2015 Bonjour tout est dans le titre, je souhaite élargir un tout petit peu la largeur du Fancy Box Quick View. Par défaut celle-ci est de 1200px environ. Je souhaite la passer à 1350px. Mais je ne trouve pas le CSS à modifier dans l'arborescence de mon ftp. Merci de votre aide. <div class="fancybox-inner" style="overflow: auto; width: 1280px; height: 675px;"><iframe id="fancybox-frame1430814573366" name="fancybox-frame1430814573366" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" scrolling="auto" src="http://niceliving.fr/tecni-art/9-volume-xxl.html?content_only=1"></iframe></div> Link to comment Share on other sites More sharing options...
jmmeuret Posted May 5, 2015 Author Share Posted May 5, 2015 En fait je viens de trouver dans : ./themes/default-bootstrap/js/global.js A la ligne 229 if (!!$.prototype.fancybox) $.fancybox({ 'padding': 0, 'width': 1350, # j'ai remplacé 1206 par 1350 # 'height': 610, 'type': 'iframe', 'href': url + 'content_only=1' + anchor Link to comment Share on other sites More sharing options...
berrel Posted July 7, 2016 Share Posted July 7, 2016 Bonjour, Je souhaiterai faire en sorte que le bouton quick-view renvois vers la page du produit en question et non une pop-up (iframe).Merci de votre aide. Link to comment Share on other sites More sharing options...
berrel Posted July 7, 2016 Share Posted July 7, 2016 voici la func en question :function quick_view(){ $(document).on('click', '.quick-view:visible, .quick-view-mobile:visible', function(e){ e.preventDefault(); if (this.rel) var url = this.rel; else var url = $(this).data('link'); var anchor = ''; if (url.indexOf('#') != -1) { anchor = url.substring(url.indexOf('#'), url.length); url = url.substring(0, url.indexOf('#')); } if (url.indexOf('?') != -1) url += '&'; else url += '?'; if (!!$.prototype.fancybox) $.fancybox({ 'padding': 0, 'width': 1087, 'height': 610, 'type': 'iframe', 'href': url + 'content_only=1' + anchor }); });} 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