PsychoZzzorD Posted December 13, 2016 Share Posted December 13, 2016 Hi all,I'm having a strange bug on the homeslider (on 1.6.1.8).Sometimes when I load the page, the slider defines his own height and width at 0px.Did somebody knows why ?I didn't change the js of the module. Link to comment Share on other sites More sharing options...
Andrej Stas Posted December 14, 2016 Share Posted December 14, 2016 Never encountered this problem. Can you share the address of your eshop? Link to comment Share on other sites More sharing options...
PsychoZzzorD Posted December 14, 2016 Author Share Posted December 14, 2016 The site is in local for now, I'll post the link to it a soon as it will be online Link to comment Share on other sites More sharing options...
PsychoZzzorD Posted December 14, 2016 Author Share Posted December 14, 2016 Hi again !The website is online ! Here's the link http://prestashop.sdewitte.net/Site_Art/ There's a good chance that on your first load the bug occurs.You'll see a big blank space on the left of your screen and it's where the homeslider should be.When you'll inspect it, you'll see that the slider is here but have no height or width.Here's a screenshot of the inspection http://www.casimages.com/i/161214041137529486.png.html Link to comment Share on other sites More sharing options...
razaro Posted December 14, 2016 Share Posted December 14, 2016 Hi Think your images are bit big so slider js code fires before they are loaded so that is why dimension is 0. Try to compress images a bit maybe with https://tinyjpg.com/. i tried one 800KB image it got it down to 265KB but because of nature of store you maybe want to keep better quality images in slider. Not sure chek it out. Also do check http://stackoverflow.com/a/14849204/6828341 and edit homeslider.js in your theme js folder. Link to comment Share on other sites More sharing options...
PsychoZzzorD Posted December 14, 2016 Author Share Posted December 14, 2016 Thank you for your fast answer !Yes the image are pretty big and heavy, I know it's not the best for the web but the website will be an art e-shop so my boss asked me to keep the best possible quality.I'll check your link ASAP =) Link to comment Share on other sites More sharing options...
PsychoZzzorD Posted December 14, 2016 Author Share Posted December 14, 2016 I think it's good thanks to your link razaro, ty a lot ! I searched in this way yesterday but didn't find it out.Could you check if it's good for you to confirm ? =)http://prestashop.sdewitte.net/Site_Art/Thank you again =) Link to comment Share on other sites More sharing options...
razaro Posted December 14, 2016 Share Posted December 14, 2016 Yeah works good for me :-) And it does looks great, nice work. 1 Link to comment Share on other sites More sharing options...
PsychoZzzorD Posted December 15, 2016 Author Share Posted December 15, 2016 Thanks again =)And it's not finished ! 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