Converting Static Site to WordPress – CSS Style Sheets

Using the function ‘foundation_style’ within the functions.php file as below will pull in the style sheets and fonts dynamically the website requires. When adding them they need to be in the exact order they were listed in the header.php file.

 

 

 

 

 

 

 

 

 

 

 

Once these have all been added they can be removed from the header.php file.

Then refresh the WordPress template to make sure it appears as it should and none of the styles and fonts are missing.

Advertisements