Home › Forums › CSS › [How to?] Make text(link) active › Reply To: [How to?] Make text(link) active
September 14, 2013 at 5:23 am
#150054
georgearnall
Participant
The easiest way to do this would be to give the active page menu item a class of something such as .active
. Then just use:
#navigation nav .active {
font-size: 16px;
}
If your site is literally static pages then it would be easy to add the class to the correct menu item. Otherwise you could use PHP but it really depends on what you are using. On WordPress, they provide you with a class of current_page_item
to style such things.
Hope this helps :)