EUCOOKIELAW_BANNER_TITLE

  • I think that

    Making the Web is like playing a game. Standard, Accessibility and Usability are only few rules.
    No game is awesome if you don't follow the rules.

    International Webmasters Association

  • Subscribe to my blog via email

    Insert here your e-mail address and you will receive a message when a new post will come.

Change prestashop attribute pictures thumbnail size

Some  Prestashop users asked usually how to change the color model picker thumbnail in their default theme.

The way to do it is more simpler than thinking it.

Just find for the following rule in the file /themes/prestashop/css/product.css#primary_block a.color_pick” and change the width and height as you prefer.

After that you need to put the following rule:

#primary_block a.color_pick img{
   width: 50px;
   height: 50px;
}

That’s all. Remember to put width and height for the latest rule equal to the one in the first rule (#primary_block a.color_pick).

Another thing to think is the size that must be lower than the original picture size else you could notice some weird result.