The Website Editor
The button Edit opens the editor on the page that is on the screen. The page keeps its place, and a dark panel appears on the right with three tabs: Blocks, Style and Theme. The buttons at the top of the panel are Undo and Redo, the phone icon for the mobile view, Discard, which leaves the editor without keeping the changes, and Save, which keeps them.
The Blocks Tab
The tab Blocks is the box of building parts. It is arranged in categories: Intro, Columns, Content, Images, People, Text, Contact & Forms, Social, eCommerce, Blogs, Events and Debug. Under them is a second group called Inner Content with the small parts that are put inside a block, such as a text, a button or a separator line.
A click on a category opens the window Insert a block. The categories are listed on the left, a search field sits above them, and the right side shows a preview of every block of the chosen category. Some previews carry a label in the corner that tells how the block behaves, for example Full-Screen, Parallax or Carousel.
A block is placed by selecting its preview, or by dragging it from the panel to the place on the page where a thick line appears. The blocks of the category Intro are the large opening sections of a page. Columns, Content and Images build the body. People shows team members and customer quotes. Text holds headings, lists and quotations. Contact & Forms holds the contact form and the map. Social holds links to the social networks. eCommerce, Blogs and Events show the products, the articles and the events of those applications, and they appear only when the applications are installed.
The Style Tab
The tab Style works on the part of the page that is selected. When nothing is selected the panel asks to select a block on the page. A click on a column or a section shows its options, and a small toolbar above the selected part gives the actions of moving it, duplicating it and deleting it.
In the Style tab of a column the options are Background, Border, Round Corners, Shadow, Animation and Visibility. Background sets a color, a gradient or a picture. Border and Round Corners shape the edge of the column. Shadow gives it depth. Animation makes the column appear with a movement when the visitor scrolls to it. The two icons of Visibility hide the column on the desktop screen or on the mobile screen, which is useful for a picture that is too large for a phone.
The Theme Tab
The tab Theme sets the look of the whole site at once. Whatever is changed here is applied to every page, so the pages stay consistent.
Colors. The row of five colored squares is the palette of the site. A click opens the palette editor, where the main colors, the light and dark colors and the five color presets can be changed.
Theme. The button Switch Theme replaces the installed theme with another one.
Language. The button Add a Language opens the window that adds a language to the website.
Page Layout. The width of the pages. The choice in use is Full.
Headings and Paragraph. The font size, the font family, the font weight, the line height and the margins of the headings and of the body text.
The palette editor shows the main colors, the light and dark colors, and below them five color presets. A preset is a ready combination of a background, a title color, a text color and two button colors. Every block uses one of the presets, and a block changes its colors when the preset changes. The advanced part holds the status colors for success, information, warning and danger, and the scale of grays.
Lower in the tab, the settings of Button, Link and Input Fields give the shape of the buttons and the form fields. Primary Style and Secondary Style choose a filled, an outlined or a flat button. Padding and Round Corners set how large and how round the buttons are. Link Style tells if links are underlined all the time or only when the mouse is over them. Input Fields set the padding, the font size, the border and the background of the fields in forms.
The last groups are Shadow and Advanced. Shadow gives the three sizes of shadow, Small, Normal and Large, that the blocks use. In Advanced, the switch Show Header shows or hides the menu bar. Icons selects the style of the icons, Outlined, Rounded or Sharp. Code Injection opens a window to add code to the head or to the end of the body of every page, for example a tracking script. Google Map takes the key that the map blocks need.
Before a theme is switched or a language is added, Odoo leaves the editor and saves the work. For this reason it asks for a confirmation. The window about the theme warns that the change resets some layout, color and style choices, so it is best to switch the theme before the pages are designed.