- Posts: 217
- Thank you received: 4
Product display on characteristics onchange event
- FilipHradil
-
Topic Author
- Offline
Less
More
11 years 6 months ago #193605
by FilipHradil
Product display on characteristics onchange event was created by FilipHradil
-- HikaShop version -- : 2.3.5
Hello,
I noticed very weird problem in my product display.
Thumbnails are moved by css to another but on changng characteristics the thumbnails are moved to default place.
When I removed onchange event (return hikashopUpdateVariant(this)
it solved this issue but selected characteristics did not appeared.
Before changing characteristics
After changing characteristics (problem)
Does anybody know what to do?
Thank for every tip!
Filip
Hello,
I noticed very weird problem in my product display.
Thumbnails are moved by css to another but on changng characteristics the thumbnails are moved to default place.
When I removed onchange event (return hikashopUpdateVariant(this)
Before changing characteristics
After changing characteristics (problem)
Does anybody know what to do?
Thank for every tip!
Filip
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193663
by nicolas
Replied by nicolas on topic Product display on characteristics onchange event
Hi,
The issue is with the CSS code:
that you have in the file templates/passage/css/style.css of your template.
You should replace the # character by a . so that is uses the class and not the id of the element as it changes when you change a characteristic while the class doesn't.
The issue is with the CSS code:
Code:
#hikashop_small_image_div {
position: relative;
left: 400px;
top: -137px;
display: inline-block;
width: 110%;
}
You should replace the # character by a . so that is uses the class and not the id of the element as it changes when you change a characteristic while the class doesn't.
Please Log in or Create an account to join the conversation.
Time to create page: 0.179 seconds