Space when selecting a characteristic

  • Posts: 47
  • Thank you received: 0
9 years 2 months ago #232392

-- HikaShop version -- : 2.6.1

Hi,

I don't understand why when I select a characteristic (color or size) a space line appear. Please look at the attached picture .
Do you have any idea?
thank you

Attachments:

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

  • Posts: 83766
  • Thank you received: 13555
  • MODERATOR
9 years 2 months ago #232396

Hi,

It's just a matter of CSS because the selection border around the color you select increases the height of the color element, and since the other elements float, they float on the right of the element.
To avoid that, just force the height of the elements to be bigger than the height of the image with the border and it will display fine.
You can do that with such CSS:
.hikashop_filter_checkbox {
height: 45px;
}

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

Time to create page: 0.057 seconds
Powered by Kunena Forum