Site logo

Archived topic

Custom CSS working on the wrong element

17 replies · Started by Sasha on October 22, 2022

Viewing posts 16–18 of 18

Hi Sasha,

Can you try updating the code to this?:

.entry-content :is(p,li,figcaption,em,i,strong) > a {
    color: black;
    font-weight: 700;
    box-shadow: inset 0 -0.5em #A3E4DA;
    transition: box-shadow 0.2s ease-in;
}

.entry-content :is(p,li,figcaption,em,i,strong) > a:hover {
    box-shadow: inset 0 -1.5em #A3E4DA;
}

Thank you! That works :)

You're welcome Sasha!

This archived topic is closed to new replies.