Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Change font of entire public facing website, web module; specifically the menu fonts

By
andy graybeal
on 10/9/15, 5:17 AM 396 views

I've changed the style of fonts in the body of the page.  I learned this from searching the forum.  I haven't found a way to change the fonts fo the web module's public facing menu system.  I appreciate any hand-holding :)

Thank you,

Andy

1

Temur

--Temur--
2896
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 10/9/15, 6:56 AM

1. With Admin user logged in go to website

2. Open Htmleditor (Customize/HTML Editor)

3. in the drop down selection at top left part of HTML Editor choose to edit "Submenu" template

4. Add style property (or any class you like) to span tags containing menu names (the ones containing: t-field="submenu.name", take in account that there is two such span, one for main menu entries and another for child ones)

for example you can change from <span t-field="submenu.name" /> to <span t-field="submenu.name" style="font-size:25px;font-family:serif;"/>

Thank you for your response! I can do font-family in the style?

andy graybeal
on 10/9/15, 7:03 AM

Yes, of course, think about this part as ordinary html. But, style is just suggestion, you can add class="some_class" instead, if you prefer.

Temur
on 10/9/15, 7:12 AM

Thank you Temur!

andy graybeal
on 10/9/15, 1:59 PM

You're welcome!

Temur
on 10/9/15, 2:00 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/9/15, 5:17 AM
Seen: 396 times
Last updated: 10/9/15, 7:18 AM