Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Created May 19, 2014 19:48
Show Gist options
  • Save stevewithington/2f869370cb3ca3c0a7ac to your computer and use it in GitHub Desktop.
Save stevewithington/2f869370cb3ca3c0a7ac to your computer and use it in GitHub Desktop.
Mura CMS : Override Mura's CSS settings in the Admin area.
<cfscript>
// this example shows how to override Mura's CSS settings in the Admin area ...
// you could also use jQuery or whatever other method as well.
// Add this method to a Mura CMS SITE, THEME or PLUGIN eventHandler.cfc
public any function onAdminHTMLFootRender($, event) {
var str = '';
savecontent variable='str' {
WriteOutput('
<style type="text/css">.mura select##restrictGroups { width:100% !important;}</style>
');
};
return str;
}
</cfscript>
@k1n6
Copy link

k1n6 commented Apr 6, 2016

Is there a way to do this for all sites, not just one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment