The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Who can help me with this code to hide something?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #297107

    Hi there,
    I’m struggling with a code to hide something.
    An article of my site is

    below in the WP Embed Link box you see 3 blocks with date, downloads, access. (This is because of a download manager plugin).

    I want to hide these 3 buttons, and have been playing with this
    .oefooter { display: none; } or
    .wp-embed-excerpt span.oefooter { display: none; }

    But nothing seems to work. What am I doing wrong?



    In the meantime I’ve uninstalled the plugin, so you can’t see the code live anymore.
    But in that case I would like to hide the WP logo in the embed link.

    What could be the code for that?


    I think the reason why nobody is responding is that no one likes to look at a whole website to find what’s going on.
    Maybe you can isolate the problem and copy the corresponding code to a tool like codepen?


    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;


    No, sorry, it doesn’t. I took a look at the source of your website. There is no usage of the classname wp-embed-site-icon, nor oefooter. So I’m wondering which buttons you’re trying to hide.


    I’ve de-installed the plugin that created the oefooter. The icon is still there, but I’ve overwritten it with a white icon.
    this is not the best way, but for now it works. Although I would do it better with the code.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.