Jump to content

[SOLVED] Attribute Color, change image size


Recommended Posts

For the attribute color I want to have the image size bigger.(instead of 25/25 of 50/50)


I defined in the products css:


 


.attribute_list #color_to_pick_list a.color_pick {

display: block;

height: 100px; //this

width: 100px; //and this

}

 

But then the image is only taller, the width seemed to be overwritten.

(also when I changed this on two locations in the product.tpl file)

 

What do I forget?


 


Link to comment
Share on other sites

#attributes .attribute_list #color_to_pick_list a.color_pick {

    display:block;

    height:20px;

    width:20px;

}

 

Thanks, but I changed the original into :

 

.attribute_list #color_to_pick_list a.color_pick {
display: block;
height: 130px;
width: 130px;
}
.attribute_list #color_to_pick_list a.color_pick img {
display: block;
height: 130px;
width: 130px;
}
 
And then it worked!
Greetz
 

 

  • Like 2
Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...
×
×
  • Create New...