1. Basic: Customizing logo and CSS of default theme¶
In this section you will:
- Use the Site control panel to add a custom logo
- Customize the look of a Plone site by adjusting Less Variables
- Add a custom toolbar logo
Topics covered:
- The “Site” control panel
- The “Resource Registries” Control Panel
- Resource Registries > Development Mode
Customize logo¶
Go to the Plone Control Panel:
Go to the “Site” control panel.
You will see this form:
You can now add / remove your custom logo
See the official docs.
Customize CSS/Less variables¶
- Go back to the Control Panel.
- Go to the Resource Registries control panel.
- On the first tab: enable Development Mode.
- In the “plone” bundle below, click on “develop CSS”.
Your panel should now look like this:
Now we can play with some Less variables:
- Go to the Less Variables tab.
- Find the variable
plone-left-toolbar-expanded
and set it to 400px.
- Hit the Save button in the upper right and reload the page.
- Click on the toolbar logo to expand the toolbar: voilá!
You can play around with some other variables, if you want.
Advertencia
“Development Mode” is really expensive for the browser. Depending on the browser and on the system, you might encounter extreme slowness while rendering the page. You could see an unthemed page for a while. Remember to switch it off as soon as you finished tweaking.