A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi Magnus.
Easiest way would probably be to inject a custom stylesheet as part of the shell experience. You can achieve that by modifying the module.config file.
<?xml version="1.0" encoding="UTF-8"?>
<module clientResourceRelativePath="" loadFromBin="true">
<clientResources>
<add name="epi-cms.widgets.base" path="~/Css/EPiServerStyles.css" resourceType="Style" />
</clientResources>
</module>
You should see the stylesheet loading when the shell is initializing.
If you enable transformation of that configuration file, you can ensure it differs across environments.
Hope that helps!
/Casper Aagaard Rasmussen
@Casper I successfully updated style on Site/EpiServer/CMS, but module.config in site root does not seem to apply to Site/EpiServer or Site/EpiServer/Admin. do you have an idea how I would implement this solution for these parts of the site?
Hello
What is the easiest/best way to style Episerver Admin GUI? Is it to use .NET functionality? We have multiple test environments and we would like to style them differently so its easier to distinguish them from each other.
Regards, Magnus