Product display on characteristics onchange event

  • Posts: 217
  • Thank you received: 4
10 years 6 months ago #193605

-- 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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 6 months ago #193663

Hi,

The issue is with the CSS code:

#hikashop_small_image_div {
position: relative;
left: 400px;
top: -137px;
display: inline-block;
width: 110%;
}
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum