How to add ID to Link for current page?

How to add ID to Link for current page? was created by mixmedia

Posted 5 years 1 month ago #51375
I have a maximenuck-Navigation with links like
- Page 1
- Page 2
- Page 3
...

How can I add an ID like id="current" to the <li> of the current active page I am on?
For example: If I am an "Page 2" how can I add the ID to the <li> of "Page 2".
I want to highlight the page I am on in the maximenuck-Navigation.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic How to add ID to Link for current page?

Posted 5 years 1 month ago #51377
Hi
you can not add an ID, but the "active" css class is automatically added. You can use it to make the link hightlighted
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 1.062 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 792 guests and no members online