Modifications to template PHP and CSS