• Hello,

    I would like to change the background color and the font color of the tooltip, but I cannot find the css selector to do this. Any help with this is much appreciated!

    Kind regards,
    Ric

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @kongb

    Please use below CSS code (you can change #ff6600 in this code):

    .wpcvs-terms [class*="hint--"]:after {
        background-color: #ff6600;
        text-shadow: none;
    }
    
    .wpcvs-terms .hint--top:before {
        border-top-color: #ff6600;
    }

    And the result https://www.screencast.com/t/k5qKDexHfZQl

    Hi! How about making the tooltip the same color as the swatches? I mean, when you hover over a variation the tooltip should get the same color as the swatch. Thanks!

    • This reply was modified 3 years, 3 months ago by zoomzet.
    Plugin Author WPClever

    (@wpclever)

    Hi @zoomzet

    You can do that by adding specific CSS code for each color, e.g:

    .wpcvs-terms .wpcvs-term[data-term="blue"]:after {
        background-color: blue;
        text-shadow: none;
    }
    
    .wpcvs-terms .wpcvs-term[data-term="blue"]:before {
        border-top-color: blue;
    }

    Do the same with other colors.

    Great thanks @wpclever !
    Works like a charm!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Style Tooltip’ is closed to new replies.