Discussions

Ask a Question
Back to All

How to add class on any html tag based on if condition

Hi,

Is there any way to add class based on if condition.
Actually, I want to add an 'active' class on the menu item based on the page.

Thanks