Home Forums Basel support forum How to change swatch display for size attribute

How to change swatch display for size attribute

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19342

    komachiyx
    Participant

    Hello,

    How can I change the swatch display for size attribute?

    From the exiting single letter display and underlined when hover or selected,
    to a bordered box button and change the box button color when hover or selected.
    Please see the attached image.

    Kindly advise, thank you.

    Attachments:
    You must be logged in to view attached files.
    #19349

    Artem Temos
    Keymaster

    Hi,

    Could you please send us your website link so we can check it and prepare some custom CSS solution for you?

    Thank you

    #19356

    komachiyx
    Participant

    Hi,

    Please see below.

    Thanks

    #19357

    Artem Temos
    Keymaster

    Try to add the following code snippet to the Custom CSS area in Theme Settings

    .single-product-content .variations .swatches-select .text-only {
    	border: 1px solid #090909;
    }
    
    .single-product-content .variations .swatches-select .active-swatch {
    	background: #090909;
    	color:white;
    }
    #19368

    komachiyx
    Participant

    Thanks for your prompt reply.

    how can I highlight/change the color of the box when hover?

    #19376

    Artem Temos
    Keymaster

    Add this also

    
    .single-product-content .variations .swatches-select .text-only:hover {
    	background: #090909;
    	color:white;
    }
Viewing 6 posts - 1 through 6 (of 6 total)