Jump to content
Graham Quince

Set Media Widget background

Recommended Posts

Just had a request from a school wanting to hide the big black rectangle that is a media widget.  I put this CSS together to, which I think makes a big difference visually:

<style>
    .mejs__container {
        background: url('file/resource/UUID') !important;
        background-size: cover !important;
    }
</style>

If you have this code on your dashboard, all media widgets will pick this up.  If you have media widgets on your website, you'll likely need this code in an HTML widget on every page that has a media widget, as people can link to any page.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...