Mark Selected Nav item as active


Topic: Mark Selected Nav item as active

Amanuel Girma asked 2 years ago

Selected Navigation-link not marked as active

I am using your Bootstrap 4 free template two-columns-listing it is great and its working except it doesn't mark the selected navigation item as active. On the start, the Home item of the navigation is marked as active but if you select the ABout MDB or Free Tutorials navigation item it will not mark any of them as active except the Home navigation item

The Template marks only the Home Navigation item as active no matter what you select

Resources (screenshots, code snippets etc.)As you can see it, the Home item is always marked active even if I select other


Grzegorz Bujański staff commented 2 years ago

Hi. Did you build SPA, or after click navigation item your browser reload page and load different html file?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Windows
  • Browser: Chrome, Edge
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No