This article series is intended for beginner.
Goal: Make your own theme using Bootstrap5
With this guidance, you can make your own theme, for use with blogging, or simple company profile. You can also enhanced later to create, your own portfolio based on this knowledge.
To face real life, web building situation, there will be other guidance, based on this Bootstrap example.
Always refer to official documentation first, before you start this real world example.
I’m using Boostrap v5. By the time this article written,
The obsolete Bootstrap v4 article series is also available.
My intention is simplicity
I’m using pure HTML instead of static site generator, so that any beginner can follow this Bootstrap show case.
You can just open the file in the browser, and this will works.
Since there is a repetitive reusable part, such as navbar, footer, and so on. For development, I use templating engine.
Explaining HTML as building block , is also easier with templating engine.
My choice is Nunjucks. And the automation can be done with Gulpjs.
I’m using Sass to generate CSS,
.scss format instead of
Because Bootstrap use
Of course you can use any
.sass format if you want,
for your web design.
The Scope of CSS Tools
As stated in previous Bootstrap V4 article series. Learning CSS Frameworks is a part of this bigger picture below:
Bootstrap is an opensource CSS Framework. There are other alternative as well, such as Materialize or Bulma.
Although Bootstrap is not the most popular CSS framework anymore, Bootstrap is still en entry point for beginner.
Frankly speaking. I like Bulma, and I desire to learn Tailwind.
This theme is a direct port from my Bulma MD theme.
Beside palin framework, I also include additional options.
Icons: FontAwesome, Bootstrap Icon
Pallete: Google Material Color, Open Color, BS5
You can see example of FeatherIcons in my previous Bootstrap v4 tutorial.
Part of Bootstrap
Just read again the offical documentation. There is more complete than here.
I add some aestethic appeal, with more custom stylesheet.
Source code used in this tutorial, is available at:
This is also intended as a Demo.
Opening Example in Browser
You can open the
html file artefact directly from your
or alternatively setup simple web server example such as
and enjoy the
This is would not be the best blog template that you ever have. Because I only put most common stuff, to keep the tutorial simple.
After you learn this guidance, you understand the fundamental skill. Thus, a base for you, to make your own blog site. With your imagination, you may continue, to build your own super duper Bootstrap site. Far better than, what I have achieved.
Table of Content
The table content is available as header on each tutorial. There, I present a Bootstrap Tutorial, step by step, for beginners.
Begin The Guidance
Adding Bootstrap CSS
Using Bootstrap CSS: Navigation Bar
- From Simple to Full Featured
Icons: FontAwesome, Boostrap Icon.
Navbar and Sidebar
Custom maximum width class
Simple responsive layout using Bootstrap
Color using tailor made sass
Open Color, Bootstrap5 Color, Google Material Color
Double column demo, responsive gap using custom sass
Single column demo, simple landing page
HTML Box using Google Material Color
- Main Blog and Aside Widget
Blog Post Example
Hover and and Animation
This form section deserve more coverage, more examples.
Gather all together.
What is Next 🤔?
Thank you for cloning the Bootstrap5 repository. Have fun, and enjoy coding.
Consider continue reading [ Bootstrap 5 - Nunjucks Template ].