Adding a Stylesheet
Let's add a little style to our webpage to make it more attractive.
We'll cover the following
Styling pages
The styling of our pages is not aesthetically very appealing.
We can write our own stylesheet to fix this, or (as I like to do when there isn’t a professional designer on my team) we can use Bootstrap.
Download the compiled CSS from their website.
After extracting the downloaded archive file, look for a file called bootstrap.min.css
.
Copy this file to public/
.
Then modify _header.php
so every page will include this .css
file, and use it as a stylesheet:
Get hands-on with 1400+ tech skills courses.