Skip to content

Commit 581a3f3

Browse files
[IMP] website: add header and footer, improve menu page
taskid-4644988
1 parent ebaa410 commit 581a3f3

File tree

1 file changed

+84
-30
lines changed
  • content/applications/websites/website/pages

1 file changed

+84
-30
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,54 @@
1-
=====
2-
Menus
3-
=====
4-
5-
Menus are used to organize your website’s content and help visitors navigate through your web pages
6-
effectively. User-friendly and well-structured website menus also play a crucial role in improving
1+
===================
2+
Headers and Footers
3+
===================
4+
5+
Header design
6+
=============
7+
8+
Headers are used to display elements such as logos, text, search bars, sign-ins, social media links,
9+
logos, buttons, etc., at the top of every website page.
10+
11+
To modify a header, click on :guilabel:`Edit` and then click on the header. To customize it the
12+
following options are available in the :guilabel:`Header` section of the website editor:
13+
14+
- Choose a :guilabel:`Template` from one of the options from the drop-down selection.
15+
- Select :guilabel:`Background` settings to change the color palette through different
16+
:guilabel:`Theme` styles, :guilabel:`Custom` color options, and :guilabel:`Gradient` ones.
17+
- When adding a :guilabel:`Border` to the header, its size, style and color can be defined.
18+
- :guilabel:`Round corners` can be adapted to fit the design.
19+
- :guilabel:`Shadow`, its :guilabel:`Color`, :guilabel:`Offset`, :guilabel:`Blur`, and
20+
:guilabel:`Spread` can be adjusted.
21+
- Add a :guilabel:`Scroll Effect`. To preview the effect, hover on it.
22+
- Choose the :guilabel:`Header Position` between :guilabel:`Regular`, :guilabel:`Hidden` and
23+
:guilabel:`Over The Content` for this last one the :guilabel:`Background` and
24+
:guilabel:`Text Color` can be customized.
25+
- Add and manage additional :guilabel:`Elements` like text, search bar, sign-in, social media links,
26+
buttons and logo. In this field you can choose to show or hide the :guilabel:`Contact Us` button.
27+
- :guilabel:`Show Empty` allows to display the cart and the wishlist when empty.
28+
29+
To finalize changes, click on :guilabel:`Save`.
30+
31+
Hide header
32+
-----------
33+
34+
To hide the header, click on :guilabel:`Edit`, click on the header and go to the :guilabel:`THEME`
35+
tab of the website editor. Scroll down to the :guilabel:`Advanced` section to hide header or to show
36+
it again.
37+
38+
Header content
39+
==============
40+
41+
Menus organize the header’s content and help users navigate through web pages effectively.
42+
User-friendly and well-structured menus also play a crucial role in improving
743
:doc:`search engine rankings <seo>`.
844

9-
Odoo allows you to customize the content and appearance of your website's menu to your needs.
10-
1145
Menu editor
12-
===========
46+
-----------
1347

14-
The menu editor allows you to edit your website's menu and add :ref:`regular menu items
15-
<website/regular-menus>` and :ref:`mega menus <website/mega-menus>`.
48+
The menu editor allows to edit the website's header and add :ref:`menu items <website/menus/menu-items>`
49+
and :ref:`mega menus <website/menus/mega-menus>`.
1650

17-
To edit your website's menu, go to :menuselection:`Website --> Site --> Menu Editor`. From there,
51+
To edit the header's content, go to :menuselection:`Website --> Site --> Menu Editor`. From there,
1852
you can:
1953

2054
- **rename** a menu item or change its URL using the :guilabel:`Edit Menu Item` icon;
@@ -34,24 +68,44 @@ you can:
3468
.. image:: menus/edit-menu-icon.png
3569
:alt: Access the Menu editor while in Edit mode.
3670

37-
.. _website/regular-menus:
71+
.. _website/menus/menu-items:
3872

39-
Adding regular menu items
40-
-------------------------
73+
Menu items
74+
----------
4175

4276
By default, pages are added to the menu as regular menu items when :doc:`they are created
43-
<../pages>`. You can also add regular menu items from the menu editor by clicking :guilabel:`Add
44-
Menu Item`. Enter the :guilabel:`Name` and URL of the related page in the pop-up window that appears
45-
on the screen and click :guilabel:`OK`.
77+
<../pages>`. Menu items can be added from the menu editor by clicking :guilabel:`Add Menu Item`.
78+
Enter the :guilabel:`Name` and URL of the related page in the pop-up window and click
79+
:guilabel:`OK`.
4680

4781
.. tip::
4882
In the :guilabel:`URL or Email` field, you can type `/` to search for a page on your website or
4983
`#` to search for an existing custom anchor.
5084

51-
.. _website/mega-menus:
85+
Menu items design
86+
~~~~~~~~~~~~~~~~~
87+
88+
To modify the menu items, go to the :guilabel:`Navbar` section of the website editor to:
89+
90+
- Adapt the :guilabel:`Mobile Alignment`
91+
- Choose the :guilabel:`Font` for the menu items.
92+
- Pick the font size, color and alignment in the :guilabel:`Format` field.
93+
- Select a :guilabel:`Links Style` to show which page is currently being viewed.
94+
- To change the sign-in button, language button and the contact-us button colors, select the option
95+
you need in the :guilabel:`Additional colors` field among :guilabel:`Primary`,
96+
:guilabel:`Secondary` or :guilabel:`Default`.
97+
- Choose to display the :guilabel:`Sub Menus` :guilabel:`On Hover` or :guilabel:`On CLick`.
98+
99+
.. note::
100+
101+
The elements in the :guilabel:`Navbar` section can vary depending on the templates chosen.
102+
103+
To finalize changes, click on :guilabel:`Save`.
104+
105+
.. _website/menus/mega-menus:
52106

53-
Adding mega menus
54-
-----------------
107+
Mega menus
108+
----------
55109

56110
Mega menus are similar to drop-down menus, but instead of a simple list of sub-menus, they display a
57111
panel divided into groups of navigation options. This makes them suitable for websites with large
@@ -66,10 +120,10 @@ To create a mega menu, go to :menuselection:`Website --> Site --> Menu Editor` a
66120
:guilabel:`Add Mega Menu Item`. Enter the :guilabel:`Name` of the mega menu in the pop-up, click
67121
:guilabel:`OK`, then :guilabel:`Save`.
68122

69-
To adapt the options and layout of the mega menu, click it in the navigation bar, then click
70-
:guilabel:`Edit`. Mega menus are composed of building blocks, which means you can customize each
71-
component individually using inline formatting, as well as the options available in the
72-
:guilabel:`Customize` tab in the website builder. For example, you can:
123+
To adapt the options and layout of the mega menu, click on a mega menu item in the header, then
124+
click :guilabel:`Edit`. Mega menus are composed of building blocks, which means you can customize
125+
each component individually using inline formatting, as well as the options available in the
126+
:guilabel:`Customize` tab of the website builder. For example, you can:
73127

74128
- edit the text directly in the building block;
75129
- edit a menu item's URL by selecting the menu item, then clicking the :guilabel:`Edit link` button
@@ -88,9 +142,9 @@ component individually using inline formatting, as well as the options available
88142
and :guilabel:`Size` in the :guilabel:`Mega menu` section in the :guilabel:`Customize` tab in the
89143
website builder.
90144

91-
Header and navigation bar appearance
92-
====================================
145+
Footer design
146+
=============
93147

94-
To customize the appearance of your website's menu, click :guilabel:`Edit`, then select the
95-
navigation bar or any menu item. You can then adapt the fields in the :guilabel:`Header` and
96-
:guilabel:`Navbar` sections in the :guilabel:`Customize` tab in the website builder.
148+
Footers are used to display information such as contact details, links, legal notices and other
149+
options at the bottom of the page. To modify a footer click on :guilabel:`Edit`, click on it and in
150+
:guilabel:`Customize` tab og the website editor pick a :guilabel:`Template`

0 commit comments

Comments
 (0)