XF 2.2 Getting "selected tab" style properties to work for newly added navigation tab

EchoRomeo

Active member
Hi everyone,

I recently added a new navigation tab that's linked to a page node and can't figure out how to make the new tab change color when clicked. The site is permittingtalk.com. I'm using the PixelExit Bolt Header custom style. When I click "forums", "resources", or "members" those all become white but not when I click the new tab ("best offices").

1689511015754.webp

Here are the settings under style properties / header and navigation / navigation row - selected tab.

1689510575552.webp

Thanks for any help anyone is able to provide!
 

Attachments

  • 1689510497505.webp
    1689510497505.webp
    21.6 KB · Views: 0
You can highlight navigation tabs using <xf:page option="section">navigation_id</xf:page> in the template.

Thank you! - but would you mind please elaborating on where that code is to be placed? I entered it under the HTML section of the page I created under nodes (see below), but the navigation tab still doesn't become selected when I click on it.

1689519886193.png
 
Last edited:
Top Bottom