Home › Forums › CSS › Who can help me with this code to hide something? › Reply To: Who can help me with this code to hide something?
October 14, 2019 at 2:34 am
#297279
Participant
OK, I thought I already focused on the code itself. It not necessary to search the whole website.
But I’ll make it shorter.
I would like to hide the WP button in every embed link on a post.
The code is below, and when I add display: none, the icon is gone.
But when I add this code to my CSS, it doesn’t work, and the icon still shows. Even when I use !important
So I hope this makes it more clear what my question is?
.wp-embed-site-icon {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
height: 25px;
width: 25px;
border: 0;
display: none;
}