Find out what's included in your theme and how to compile source files. Plus examples and code snippets for components.
Hi, I hope you find this theme useful! it has been crafted on top of the Bootstrap framework with new plugins and components, to help you build great websites and projects.
This theme includes 3 categories: a public multipurpose theme for businesses, startups, restaurants, photographers, etc. an agency theme for creative businesses, and an e-commerce theme for online stores, which you can navigate using the Theme demos link above.
This page includes all the documentation to understand how it is organized, make changes to the source code, compile and extend it to fit your needs.
Thanks, and enjoy!
Inside the theme folder you’ll find the following directories and files, organizing resources and providing both compiled and minified distribution files, as well as the source files.
theme/ ├── gulpfile.js ├── package.json ├── README.md ├── images/ ├── fonts/ ├── scss/ │ ├── bootstrap/ │ ├── vendor/ │ ├── custom/ │ └── variables.scss │ └── theme.scss ├── js/ │ ├── bootstrap/ │ └── vendor/ │ └── custom/ │ └── theme.js └── dist/ ├── theme.min.css ├── theme.min.css.map ├── ecommerce.min.css ├── ecommerce.min.css.map └── theme.min.js
The theme includes a custom Gulp file, which can be used to quickly re-compile and minify the theme’s SCSS and JS files and also to optimize images. You’ll need to install both Node and Gulp before using our included gulpfile.js
.
Once node is installed, run the following command to install Gulp.
$ npm install gulp -g
After installing gulp, make sure you’ve installed the rest of the theme’s dependencies:
$ npm install
Now you're ready to to modify your source files and run gulp
to generate new local dist/
files automatically. We've also included a gulp watch
command so it keeps track of changes and compile the files on the fly.
The scss/
and js/
directories contain the source code for the CSS and JS. Within these folders you'll find the next subdirectories:
bootstrap/
, which contains the most recently released Bootstrap (v3.3.7).custom/
, which contains all the styles and components made specifically for this theme.vendor/
, contains all the external plugins and their styles that are used in this theme.
The dist/
folder includes everything above built into a single CSS and JS file already compressed and minified.
For the styles, scss/theme.scss
is the entry point for scss files. To make changes, simply modify your local custom files or edit the imports listed here.
The basic template is a guideline for how to structure your pages when building new ones using this theme. Included below are all the necessary bits for using the theme’s CSS and JS.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap theme</title>
<!-- Theme CSS file -->
<link rel="stylesheet" type="text/css" href="dist/theme.min.css" />
</head>
<body>
<h1>Hello world!</h1>
<!-- include jQuery (required) and the theme JS file -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="dist/theme.min.js"></script>
</body>
</html>
Beside from the already included glyphicons from Bootstrap, this theme comes ready with some of the most famous icon bundles:
The premium icon font for the Ionic Framework.
Entypo pictograms by Daniel Bruce — www.entypo.com
A set of 100 high quality outline icons.
The iconic font and CSS toolkit.
All these icons can be placed in just about any other element, so long as they are a separate HTML element (e.g., a <i>
). See the examples below for how to put them to use.
Use the new .navbar-transparent
variation for placing navbars over backgrounds and interactive content.
This zoom plugin made by yyx990803 provides image zoom functionality. Add a data-trigger="zoomerang"
attribute to any image you want to make zoomable.
The smooth scrolling feature is a nice way to let your users navigate your content while keeping track of where they are on the page, just like this page with the right sidebar.
You only need a link that users will click with the class .scroll
to enable the functionality:
<a href="#intro" class="scroll">Intro</a>
And a section anywhere in the page with the same unique ID that you want to navigate to:
<div id="intro"">...</div>
This plugin made by Codrops enables a slider functionality with 14 different effects.
Effects: