- Posts: 72
- Thank you received: 3
Thumbails on product details page wont work
13 years 1 week ago #124239
by Huub
Thumbails on product details page wont work was created by Huub
As described in the online support pages i added the following lines to my frontend CSS:
How to change the size of the small thumbnails on the product page (you see them only when you have several images attached to a product) ?
You need to edit the CSS of HikaShop via the interface in the configuration under the tab display in the CSS area.
There, you can change the CSS:
div#hikashop_product_left_part img.hikashop_child_image{
margin : 2px;
height:25px;
}
Unfortunatly nothing changed and i had only big 400x400px images.
Then i added, in stead of the above lines, the following to the CSS:
#hikashop_small_image_div img {
width: 75px;
}
Now i did get the thumbnails to work well on the mainproduct, but ....
if i pick from the dropdown list a characteristic of that main product then the thumbnails are gone and replaced again by the 400px images.
Please can someone tell me how to properly add thumbnails to the product details page!
Example can be seen here: voorbeeld
How to change the size of the small thumbnails on the product page (you see them only when you have several images attached to a product) ?
You need to edit the CSS of HikaShop via the interface in the configuration under the tab display in the CSS area.
There, you can change the CSS:
div#hikashop_product_left_part img.hikashop_child_image{
margin : 2px;
height:25px;
}
Unfortunatly nothing changed and i had only big 400x400px images.
Then i added, in stead of the above lines, the following to the CSS:
#hikashop_small_image_div img {
width: 75px;
}
Now i did get the thumbnails to work well on the mainproduct, but ....
if i pick from the dropdown list a characteristic of that main product then the thumbnails are gone and replaced again by the 400px images.
Please can someone tell me how to properly add thumbnails to the product details page!
Example can be seen here: voorbeeld
Please Log in or Create an account to join the conversation.
13 years 1 week ago - 13 years 1 week ago #124270
by Xavier
Replied by Xavier on topic Thumbails on product details page wont work
Hi,
Try to use:
Instead of your code. Applying the property on the class instead of the id should solve your problem.
Try to use:
Code:
.hikashop_small_image_div img {
width: 75px;
}
Last edit: 13 years 1 week ago by Xavier.
The following user(s) said Thank You: Huub, curtisbollington
Please Log in or Create an account to join the conversation.
13 years 1 week ago #124281
by Huub
Replied by Huub on topic Thumbails on product details page wont work
As i wrote in my original post, that is exact the css code i added myself Xavier.
but now the strange thing is that now i do get the thumbnails to work well on the mainproduct, but ....
if i pick from the dropdown list a characteristic of that main product then the thumbnails are gone and replaced again by the 400px images.
if you click on the link in my original post you can see an example of what happens.
but now the strange thing is that now i do get the thumbnails to work well on the mainproduct, but ....
if i pick from the dropdown list a characteristic of that main product then the thumbnails are gone and replaced again by the 400px images.
if you click on the link in my original post you can see an example of what happens.
Please Log in or Create an account to join the conversation.
13 years 1 week ago #124304
by Xavier
Replied by Xavier on topic Thumbails on product details page wont work
Sorry you have to use a "." Instead of "#", I forgot to replace it in my previous post.
Please Log in or Create an account to join the conversation.
13 years 1 week ago #124306
by Huub
Replied by Huub on topic Thumbails on product details page wont work
Yessssss!!!
Thank you soooo much Xavier ....that solved it
You made someone very happy today .....me!
Have a wonderful rest of your day Xavier
Thank you soooo much Xavier ....that solved it
You made someone very happy today .....me!
Have a wonderful rest of your day Xavier
Please Log in or Create an account to join the conversation.
Time to create page: 0.208 seconds