Skip to main content


This topic contains 5 replies, has 2 voices, and was last updated by  yolandal 2 hours, 47 minutes ago.

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)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star