Skip to Content
Menu
This question has been flagged
1 Reply
11863 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

Avatar
Discard
Best Answer

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;"/>

Avatar
Discard
Author

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

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.

Author

Thank you Temur!

You're welcome!