how to make both the top menu and submenu show active laravel layout code example Example: laravel sidebar menu active {{ request()->routeIs('news.*') ? 'active' : '' }}