image sizes 'not translating'

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Sat Sep 20, 2014 1:15 pm
Hello,

I have contacted WPML for this problem, but it does seem to be an issue which occurs in the Instyle theme, I have tested within another theme.

When I add a new product and upload an image (which I have cropped), it displays correctly in the default English language, but not correctly in other languages.
See for example:

http://www.pommedorange.com/product-cat ... othes/tops

http://www.pommedorange.com/fr/product- ... ents/hauts

Do you know why this happens?

thanks
User avatar
Senior Boarder

GK User
Mon Sep 22, 2014 7:27 am
Hello,

It's weird, in the default themes it's displayed properly for all languages? Please try to edit inStyle/css/woocommerce.css and remove this line :

Code: Select all
width: auto;

from ul.products li.product > a > img selector (around line 192).
User avatar
Moderator

GK User
Mon Sep 22, 2014 9:11 am
I found this part but it doesn't say width auto.
I have:

width: 100%;
User avatar
Senior Boarder

GK User
Mon Sep 22, 2014 9:37 am
I'm sorry - my mistake, please remove width: 100%;
User avatar
Moderator

GK User
Mon Sep 22, 2014 9:57 am
It worked!
Wow very simple solution for a big problem I believed was WPML....
Thanks
User avatar
Senior Boarder


cron