Customizing the Homepage
One of the key reasons why Bootstrap has been so successful is the fact that it is easily customizable. What we will be doing is adding a bit of spacing to our home page and making it look just like we want.
Customizing the Sections
- Open your
portfolio.cssfile located in thecssfolder. - Write the following:
section { padding-bottom: 20px; } - This will add a little bit of space after every section on our page.
Lets also bring the line and the section header closer together.
section > h2 { margin-bottom: 0px; } section > hr { margin-top: 0px; }- And while we are at it, let's also make the line a little bit darker
section > hr { margin-top: 0px; border-top: 2px solid #aaa; }
Customizing the Footer
- Next let's add a bit of space before our footer.
footer { padding-bottom: 20px; } - And let's change the background color of the footer and add a bit of space between the text and the edge of the div
footer > p { padding: 15px; background-color: #eeeeee; }