So you’ve developed a custom style for Paper Lantern and you’re ready to deploy it to your customers. Here’s how to set all customers on the box to your new custom style.
For the sake of conversation, assume your company’s name is “Acme Hosting” and the style you developed is called “Acme_Hosting”. Before beginning, make sure to upload the styles to a folder called “Acme_Hosting” in/var/cpanel/customizations/styled.
Step 1 – Setting a default style for all users on the box
ssh [email protected] cd /var/cpanel/customizations/styled/ ln -s /var/cpanel/customizations/styled/Acme_Hosting default_style
When root specifies a default_style in this manner, cPanel & WHM will fall back to this setting when it can’t find any other preferences for resellers or users on the box.
Step 2 – Removing the ability for users to change their styles
Simply uncheck the ‘Change Style’ feature checkbox in customers’ package to prevent them from seeing the interface for picking another style.
To read more about how to manage a user’s, reseller’s or root’s Style preferences for Paper Lantern, review the “Apply a style” page of the Paper Lantern documentation.