How can I add a class when I navigate to the individual blog pages.
For example when a user comes to the Home page the header color should be gold and when the user navigates to each and every single blogs the header background color should be red.
I have done it this way, where I need to add the
url path to the header each and every time when I add a new blog page.
<div id="header" class="headertop " >
Is there a way where i can add the class when the url passes
from Newest questions tagged laravel-5 – Stack Overflow https://ift.tt/2W1qFR6