optimized Bootstrap class, header.php and footer.php pages