เมนู¶
Menus are used to organize your website’s content and help visitors navigate through your web pages effectively. User-friendly and well-structured website menus also play a crucial role in improving search engine rankings.
Odoo allows you to customize the content and appearance of your website's menu to your needs.
Menu editor¶
The menu editor allows you to edit your website's menu and add regular menu items and mega menus.
To edit your website's menu, go to Website ‣ Site ‣ Menu Editor. From there, you can:
rename a menu item or change its URL using the Edit Menu Item icon;
delete a menu item using the Delete Menu Item icon;
move a menu item by dragging and dropping it to the desired place in the menu;
create a regular drop-down menu by dragging and dropping the sub-menu items to the right, underneath their parent menu.

Note
You can also access the menu editor by clicking Edit, selecting any menu item and clicking the Edit Menu icon.

Adding regular menu items¶
โดยค่าเริ่มต้น หน้าต่างๆ จะถูกเพิ่มลงในเมนูเป็นรายการเมนูปกติเมื่อ รายการดังกล่าวถูกสร้าง นอกจากนี้ คุณยังสามารถเพิ่มรายการเมนูปกติจากตัวแก้ไขเมนูได้โดยคลิก เพิ่มรายการเมนู ป้อน ชื่อ และ URL ของหน้าที่เกี่ยวข้องในหน้าต่างป๊อปอัปที่แสดงบนหน้าจอ แล้วคลิก ตกลง
Tip
In the URL or Email field, you can type /
to search for a page on your website or
#
to search for an existing custom anchor.
Adding mega menus¶
เมนูขนาดใหญ่จะคล้ายกับเมนูแบบเลื่อนลง แต่แทนที่จะเป็นรายการเมนูย่อยธรรมดา กลับแสดงแผงที่แบ่งออกเป็นกลุ่มตัวเลือกการนำทาง ทำให้เหมาะสำหรับเว็บไซต์ที่มีเนื้อหาจำนวนมาก เนื่องจากสามารถช่วยรวมหน้าเว็บทั้งหมดของคุณไว้ในเมนูในขณะที่ยังคงทำให้รายการเมนูทั้งหมดมองเห็นได้ในคราวเดียว เมนูขนาดใหญ่ยังสามารถจัดโครงสร้างให้มองเห็นได้ชัดเจนกว่าเมนูแบบเลื่อนลงทั่วไป เช่น ผ่านเค้าโครง การพิมพ์ และไอคอน

To create a mega menu, go to Website ‣ Site ‣ Menu Editor and click Add Mega Menu Item. Enter the Name of the mega menu in the pop-up, click OK, then Save.
หากต้องการปรับเปลี่ยนตัวเลือกและเค้าโครงของเมนูขนาดใหญ่ ให้คลิกที่แถบนำทาง จากนั้นคลิก แก้ไข เมนูขนาดใหญ่ประกอบด้วยบล็อกสำเร็จรูป ซึ่งหมายความว่าคุณสามารถปรับแต่งส่วนประกอบแต่ละส่วนได้ทีละส่วนโดยใช้การจัดรูปแบบอินไลน์ รวมถึงตัวเลือกที่มีให้ในแท็บ ปรับแต่ง ในตัวสร้างเว็บไซต์ ตัวอย่างเช่น คุณสามารถ:
edit the text directly in the building block;
edit a menu item's URL by selecting the menu item, then clicking the Edit link button in the small preview pop-up. Type
/
to search for a page on your website, or#
to search for an existing custom anchor.move a menu item by dragging and dropping the related block to the desired position in the mega menu;
delete a menu item by deleting the related block.
Tip
You can adapt the general layout of the mega menu by selecting the desired Template and Size in the Mega menu section in the Customize tab in the website builder.
Header and navigation bar appearance¶
To customize the appearance of your website's menu, click Edit, then select the navigation bar or any menu item. You can then adapt the fields in the Header and Navbar sections in the Customize tab in the website builder.