Kev_B
8 years agoAdvisor
Active class on navigation / changing blog page for a secondary blog
Hi,
Apologies for combining two questions into one post, but here goes:
- We recently used the blog structure to create a secondary blog, this has now been incorporated into our site but in the navigation the active class is defined by:
${(page.interactionStyle == 'blog')?string("active", "")}
Unfortunately with both 'blogs' in the navigation this is giving both an active class when on either of the blog pages. Does anybody know how to make this more specific to a particular blog? - How do we set the new blog to have a different 'Blog Article Page' to the main blog? I'm able to create the component, but not sure how to tell that blog to look for a specific page other than the default.
Any help / advice appreciated.
Kev