Change the background color of a specific replicator set header #7961
-
Hello, is there a way to change the background color of a specific replicator set header as shown in the attached screenshot. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello, the best way would certainly be to do the customization within the Vue-Components, here is a simple solution with JavaScript that does it. In "app/Providers/AppServiceProvider.php" remove the comment for the script as described here: https://statamic.dev/extending/control-panel#adding-css-and-js-assets Create the folder "public/vendor/app", create a subfolder "js" and create a file there named "cp.js". So the full path is "public/vendor/app/js/cp.js". To format all set headers with the name "column", insert the following inside the "cp.js" file.
|
Beta Was this translation helpful? Give feedback.
Hello,
the best way would certainly be to do the customization within the Vue-Components, here is a simple solution with JavaScript that does it.
In "app/Providers/AppServiceProvider.php" remove the comment for the script as described here: https://statamic.dev/extending/control-panel#adding-css-and-js-assets
Create the folder "public/vendor/app", create a subfolder "js" and create a file there named "cp.js". So the full path is "public/vendor/app/js/cp.js".
To format all set headers with the name "column", insert the following inside the "cp.js" file.