Page titled "Project" is being used to show a list/grid of all the projects rather than the CPT archive.
When viewing a single project, you want this Project Page's nav menu item to become active.
This Pro tutorial provides the code for using nav_menu_css_class WordPress filter to make the "Project" menu item active when viewing a single post of project custom post type.
Note that this can also be done using custom CSS but PHP solution is more solid.
Sridhar Katakam is a Bricks enthusiast. He likes helping others by researching and solving WordPress-related problems and building websites.
Get access to all 633 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
Filtering out Media Items from “Select post/page” Bricks control
The dropdown that appears after choosing "Internal post/page" when setting a link in Bricks shows media (attachment) items besides Pages, Posts and other CPTs. If…
Posts Grouped by ACF or Meta Box Select Field Value as Tabs in Bricks
Updated on 9 Mar 2023: Added Meta Box specific instructions. This Pro tutorial provides the steps to show labels of an Advanced Custom Fields' Select-type…