- Posts: 47
- Thank you received: 0
Space when selecting a characteristic
10 years 6 months ago #232392
by ilemaitre
Space when selecting a characteristic was created by ilemaitre
-- 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
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
Please Log in or Create an account to join the conversation.
10 years 6 months ago #232396
by nicolas
Replied by nicolas on topic Space when selecting a characteristic
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;
}
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.163 seconds