The Plato.Theming module allows you to create themes and customise theme files via the web based Plato administrator dashboard. Plato.Theming is an optional module and can be enabled via the features page.
NOTE Plato.Theming is only intended to help you make simple changes to your theme files. It's great for updating the layout, CSS or adding your company logo. If you need to make more in-depth changes such as adding custom Razor code tag helpers or views we would suggest editing the theme files within your favourite code editor or IDE such as Visual Studio or VS Code.
Login as an administrator and visit the Plato administrator dashboard. Click Features > Manage within the navigation. Within the search field at the top of the Features page type "theming". You should see Plato.Theming within the results. Use the Enable button to the right of the Plato.Theming listing to enable the Plato.Theming module. Once Plato.Theming is enabled you can create custom themes via the administrator dashboard.
_Layout.cshtml
layout file...For further details on each theme file please see Theme files.
Once you've created your new theme you'll want to head over to your general settings page to ensure your new theme is the default theme for Plato.
You can see below we are selecting the new theme we created in the above example...
Custom themes are regular files that exist on the file system within the Sites
folder within root of your Plato web application. Custom themes are located within the Sites\{SiteName}\Themes\
folder where {SiteName}
is the name of your site defined during the Web based set-up.
You can edit the files contained within a custom theme as you would with any other file. For more in-depth theme customisation work you may wish to work with the layout or CSS files within your favourite editor. You can do this by simply editing your theme files within the Sites\{SiteName}\Themes\{ThemeName}\
folder.
You can see below we are using VS Code to edit the "My New Theme" we created above via the web based interface...