I downloaded a Template + CSS File for a Website that I'm Building, the template worked well until I tried to break it down and put every code in its own file (for easy modification and editing in the future).
So, when I cut the head part which included (Title + Meta Data .. etc ), and put it in its own file, and replaced it (for sure) with an include() function, I lost the CSS styles and returned to the basic & standard style (Black & white with no extra format .. etc)
Where did I Go wrong? Knowing that here is the include function that I've used:
<?php
include 'files/head.php';
?>
error_reporting(E_ALL)at the beginning of your script and see if some errors are shown. Possibly include path is simply wrong.C:\xampp\htdocs\test6\css\screen.cssmy head file is in :C:\xampp\htdocs\test6\files\head.phpwhat should the path to css file be ? ( the INDEX is in :C:\xampp\htdocs\test6\index.php)