Jump to content

Block Navbar make active


Ocean West

Recommended Posts

Posted

The first obvious thing is that the block contains a full HTML page, which shouldn’t be done, unless everything is in an iframe. That needs correction. 

If you want to stick with this manual coding approach, you could simply read the URL of the page and then add an “active” CSS class for the entry that matches. 

A cleaner approach would be do redo it as plugin. Then the forums would simple be selected and the active state can be read directly from the forum ID. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...