Jump to content

Set Media Widget background

Graham Quince

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:

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...