This topic has 30 replies, 3 voices, and was last updated 8 years, 8 months ago ago by Eva Kemp
I’ve got a image scaling difference on this one. Grid View is 189×249 and List View scales to 270×355 for both Category page and Product page.
Need to make images at Grid View scale for List View.
Takers?
Remember…I have image swapping going on as well on hover.
Thank you!
Hello,
Please use this code in Custom CSS for desktop:
.products-list .product .product-image-wrapper.hover-effect-swap img, .products-list .product .product-image-wrapper.hover-effect-swap .show-image {
width: 189px !important;
height: 249px !important;
}
.products-list .product .product-image-wrapper {
width: 24% !important;
}
And change this code
.product-image-wrapper.hover-effect-swap .show-image {
left: 13px !important;
}
to this one:
.product-image-wrapper.hover-effect-swap .show-image {
left: 7px !important;
}
Best regards,
Jack Richardson.
Works great as usual! Thanks a bunch there Jack. One little issue…when minimizing the browser to mobile size, the image swap is offset for some reason for List View. 🙁 Grid is fine for desktop and mobile. Let me know?
Hello,
Please add this code in Custom CSS for mobile:
.products-list .product .product-image-wrapper.hover-effect-swap .show-image {
left: 30px !important;
}
Best regards,
Jack Richardson.
Thanks Jack. I had to make it 39px to even it out. One last question. The wishlist and quickview icons are severely offset in List View mobile. In Grid they overlay right on top of the image as they should. List View they don’t. Thoughts on that?
Hello,
Please add this code in Custom CSS for mobile:
.products-list .product .product-image-wrapper .footer-product {
right: 25px !important;
}
Best regards,
Jack Richardson.
That worked…even though it needed 45px to move it over enough…but this List View with image swap on mobile is driving me nuts. I can’t seem to get the swapped image to line up perfectly. It is REALLY sensitive to the res of the screen. If the screen varies even a few pixels, the swapped image doesn’t lay perfectly on top. I can’t even get it perfect by keeping the res the same (such as looking at the page on a mobile device) and varying the amount of swapped offset. 39 pixels is too far to one side…40 is too far the other side.
Ugh…I hope all of that made sense.
Hello,
Are you checking the site on mobile devices or resizing browser window?
Please check it on mobile devices and let us know the result.
Thank you.
Best regards,
Jack Richardson.
Hey Jack. As said above:
I can’t even get it perfect by keeping the res the same (such as looking at the page on a mobile device)
So yes…viewed on a mobile as well as re-sizing a browser window.
Hello,
Could you please specify what mobile device you’re checking in to compare it on our side?
Thank you.
Regards,
Eva Kemp.
iPhone 6
Hello,
Please try to replace the code in Custom CSS for mobile section from this:
.products-list .product .product-image-wrapper.hover-effect-swap .show-image {
left: 39px !important;
}
to this:
.products-list .product .product-image-wrapper.hover-effect-swap .show-image {
left: 2px !important;
}
Regards,
Eva Kemp.
I’m not sure why you thought that would work? The image just gets more offset. It was set at 39…and even then it wasn’t correct.
Hello,
Could you please show a screenshot what view of images you have on your side so we can compare it?
Thank you.
Best regards,
Jack Richardson.
Sure…see enclosed iPhone screenshot.
Hey guys. No progress on this issue yet?
Hello,
Sorry for a delay.
We’ve made some changes. Please check your shop page now.
Regards,
Eva Kemp.
Changes where? Looks the same ti me on both a mobile device and a re-sized browser on the desktop. Yes…I refreshed.
Hello,
Have you changed WP admin credentials?
We can’t log in now.
Please give us correct login details.
Regards,
Eva Kemp.
Yes…it has been changed since you accessed it last. New credentials posted.
Hello,
Now we’ve removed this code http://prnt.sc/agqugu .
Please check swap option now.
Regards,
Eva Kemp.
I guess that’ll work. It doesn’t quite fix it when the browser is re-sized down to a mobile scale (has a slight “hiccup”), but who does that anyway? On mobile it works as it should.
BTW…where did you remove the code at specifically? I noticed you removed a few lines in the Custom CSS for mobile as well.
Thanks!
Hello,
The code was removed from “Custom CSS for mobile” section.
Regards,
Eva Kemp.
So I guess you changed my 39px to 45px and took out the 2px line. Is that it?
Something must have happened. Check out my Recently Viewed Products screenshot.
Hello,
Please use this code in Custom CSS for desktop:
.sidebar-left .product_list_widget li {
width: 100%;
}
Regards,
Eva Kemp.
Can you tell me why we have to add code to “fix” issue now when it’s been working fine for quite awhile?
I had to add that code into Global as it was incorrect with mobile view as well. Works fine.
Hello,
Perhaps some other code was causing the issue.
Is your problem resolved now?
Regards,
Eva Kemp.
lol Not really the answer I was looking for, but all good. Close it up. Thanks. 🙂
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Making List View Images Same Scale as in Grid View?’' has been successfully resolved, and the topic is now closed for further responses