Home Forums WoodMart support forum Changing the Underline Hover and Active Swatch Color

Changing the Underline Hover and Active Swatch Color

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #183050

    onggowijaya
    Participant

    How do you change the color of the underline (border-bottom) color of the hover and active swatch? I tried this, and it did not work.

    .swatches-select .woodmart-swatch:not(.colored-swatch){
    	border-color: #8eb54b;
    }
    .swatches-select .woodmart-swatch:not(.colored-swatch):hover,
    .swatches-select .woodmart-swatch:not(.colored-swatch).active-swatch {
      border-color: #8eb54b;
    }

    It is still defaulting to black. Now that the theme is changed to dark, the active/hover indicator is hard to see.

    Please advise. Thanks.

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

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .woodmart-swatch:after {
        border-color: white;
    }

    Replace the color as per your needs.

    Best Regards

    #183212

    onggowijaya
    Participant

    Thank you for your help.

    #183264

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Changing the Underline Hover and Active Swatch Color’ is closed to new replies.