How to centre font in submenu - Forum

This discussion started in January 2015. EverWeb has changed a lot since then, so some answers may no longer apply.

These current help articles may help:

Find up-to-date answers in the EverWeb help articles. Still stuck? Start a new thread or contact support.

How to centre font in submenu



User: Trevor L. 11 years ago
I'm trying to figure out if there is a way to change the align of a page that is part of a directory, appearing in the drop down menu. It is always aligned to the left and I would like it to be centred. For the life of me I cannot figure it out. Any help would be amazing!
User: Roddy 11 years ago
You will find some info about how to find the navigation ID number on this page...

http://everwebcodebox.com/layout/navigation.html

If this is the first time the navigation widget has been use the ID will be zero. To change the text align in the drop down, paste this code into the Head Code box in the Site Publishing Settings...

<style type="text/css">
#navmenu_menu0 ul ul li a,
#navmenu_menu0 ul li.active li a,
#navmenu_menu0 ul li:hover ul li a,
#navmenu_menu0 ul li.hover ul li a {text-align:center}
</style>

If the ID number is different, change it in four places in the above code.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.