Site logo

Archived topic

CSS to remove hover background

9 replies · Started by William on January 28, 2022

Viewing posts 1–10 of 10

Hello -

Can someone help me with CSS to remove the green background when hovering over the Lasso list and product boxes? The green hovering happens when hovering over the title of the lasso box as well as the image.

https://gearthrone.com/gear/best-torch-lighter/

https://imgur.com/a/eZVEYeU

I tried to do the following CSS but I must be missing something.

.lasso-title a:hover{
background: none;
}

.lasso-image a:hover{
background: none;
}

Thank you in advance.

Hi there,

Try this:

.wp-block-affiliate-plugin-lasso a:hover {
    background-color: unset;
}

Hi Ying -

Thank you for the quick response. I added that CSS but still seeing the green hover.

Can you try this:

.wp-block-affiliate-plugin-lasso .lasso-list .lasso-container a:hover {
    background-color: unset;
}

If it still doesn't work, change unsetto unset !important.

Let me know :)

Thanks Ying. That did the trick for the list, but not the product box themselves. I tried both unset and unset !important

Option 1: try this:

.wp-block-affiliate-plugin-lasso a:hover {
    background-color: unset !important;
}

Option 2:

change this CSS:

.entry-content a:hover {
    background-color: #0be6af;
}

to this:

.entry-content a:hover:not(.wp-block-affiliate-plugin-lasso a) {
    background-color: #0be6af;
}

Thanks Ying.

The only remaining this now is when I hover over the "buy now" it turns totally white.

https://imgur.com/a/BL7SSmD

That seems to have worked. Thank you so much.

Great! You are welcome :)

This archived topic is closed to new replies.