Skip to main content

Introduction

Get started with Bootnews, Premium Magazine Bootstrap Template for building news, portal, magazine and blog site. This template have responsive, mobile-first and included starter page template.

Quick start

Looking to quickly add Bootnews to your project? Use css, js and starter page from this package.

CSS

Copy-paste the Bootstrap, FontAwesome and then Bootnews stylesheets <link> into your <head> before all other stylesheets to load our CSS.

            
              <!--Bootstrap Styles-->
              <link rel="stylesheet" href="../../assets/vendor/bootstrap/dist/css/bootstrap.css">
              <!--Vendor Styles-->
              <link rel="stylesheet" href="../../assets/vendor/fontawesome-free/css/all.min.css">
              <!--Theme Styles-->
              <link rel="stylesheet" href="../../assets/css/theme.css">
            
          

Want to more faster ? You also can use this css in bundle files (minify css) with following css

            
              <!--Bundle Theme Styles-->
              <link rel="stylesheet" href="../../assets/css/bundle.min.css">
            
          

If you want to use Google fonts, you must add this csss code

            
              <!--Google Fonts-->
              <link href="//fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C400i%2C600%2C700%7CRoboto%3A400%2C400i%2C500%2C700" rel="stylesheet">
            
          

JS

Many of our components require the use of JavaScript to function. Specifically, they require jQuery, Popper.js, Bootstrap.js and our own JavaScript and plugins. Place the following <script> near the end of your pages, right before the closing </body> tag, to enable them. jQuery must come first, then Popper.js, then bootstrap and then our JavaScript and plugins.

We use jQuery’s full version in this template.

Paste following js code before </body>

            
              <!-- jQuery first, then Popper.js, then Bootstrap JS -->
              <script src="../../assets/vendor/jquery/dist/jquery.min.js"></script>
              <script src="../../assets/vendor/popper.js/dist/popper.min.js"></script>
              <script src="../../assets/vendor/bootstrap/dist/js/bootstrap.min.js"></script>

              <!--Vendor js-->
              <script src="../../assets/vendor/sticky-kit/dist/sticky-kit.min.js"></script>
              <script src="../../assets/vendor/owl.carousel/dist/owl.carousel.min.js"></script>
              <script src="../../assets/vendor/vanilla-lazyload/dist/lazyload.min.js"></script>
              <script src="../../assets/vendor/smoothscroll-for-websites/SmoothScroll.js"></script>

              <!--Theme js-->
              <script src="../../assets/js/theme.js"></script>
            
          

Want to more faster ? You also can use this js in bundle files (minify js) with following js

            
              <!--Bundle Theme js-->
              <script src="../../assets/js/bundle.min.js"></script>
            
          

Starter template

Be sure to have your pages set up with the latest design and development standards. That means using an HTML5 doctype and including a viewport meta tag for proper responsive behaviors. Put it all together and your pages should look like this:

            
              <!doctype html>
              <html lang="en">
                <head>
                  <!-- Title -->
                  <title>Hello, world!</title>

                  <!-- Favicon -->
                  <link rel="shortcut icon" href="../../assets/img/favicon/favicon.ico">

                  <!-- Required meta tags -->
                  <meta charset="utf-8">
                  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

                  <!--Bootstrap Styles-->
                  <link rel="stylesheet" href="../../assets/vendor/bootstrap/dist/css/bootstrap.css">
                  <!--Vendor Styles-->
                  <link rel="stylesheet" href="../../assets/vendor/fontawesome-free/css/all.min.css">
                  <!--Theme Styles-->
                  <link rel="stylesheet" href="../../assets/css/theme.css">
                </head>

                <body>
                  <div class="wrapper">
                    <h1>Hello, world!</h1>
                  </div>

                  <!-- jQuery first, then Popper.js, then Bootstrap JS -->
                  <script src="../../assets/vendor/jquery/dist/jquery.min.js"></script>
                  <script src="../../assets/vendor/popper.js/dist/popper.min.js"></script>
                  <script src="../../assets/vendor/bootstrap/dist/js/bootstrap.min.js"></script>

                  <!--Vendor js-->
                  <script src="../../assets/vendor/sticky-kit/dist/sticky-kit.min.js"></script>
                  <script src="../../assets/vendor/owl.carousel/dist/owl.carousel.min.js"></script>
                  <script src="../../assets/vendor/vanilla-lazyload/dist/lazyload.min.js"></script>
                  <script src="../../assets/vendor/smoothscroll-for-websites/SmoothScroll.js"></script>

                  <!--Theme js-->
                  <script src="../../assets/js/theme.js"></script>
                </body>
              </html>
            
          

Want more faster ? use this bundle version

            
              <!doctype html>
              <html lang="en">
                <head>
                  <!-- Title -->
                  <title>Hello, world!</title>

                  <!-- Favicon -->
                  <link rel="shortcut icon" href="../../assets/img/favicon/favicon.ico">

                  <!-- Required meta tags -->
                  <meta charset="utf-8">
                  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

                  <!--Bundle Theme Styles-->
                  <link rel="stylesheet" href="../../assets/css/bundle.min.css">
                </head>

                <body>
                  <div class="wrapper">
                    <h1>Hello, world!</h1>
                  </div>

                  <!--Bundle Theme js-->
                  <script src="../../assets/js/bundle.min.js"></script>
                </body>
              </html>
            
          

That's all you need for overall page requirements. Visit the Bootstrap's Layout docs our official examples to start laying out your site's content and components.

Layout starter

Simple layout starter template, this html can insert after .wrapper classes

            
              <!-- header start -->
              <header>
                  ......
              </header>
              <!-- content start -->
              <main id="content">
                  ......
              </main>
              <!-- footer start -->
              <footer>
                  ......
              </footer>
            
          

Grid starter

Simple grid starter template, this html can insert after main or #content

            
              <div class="container">
                <div class="row">
                  <!-- content -->
                  <div class="col-md-8">
                      ......
                  </div>
                  <!-- sidebar -->
                  <aside class="col-md-4">
                      ......
                  </aside>
                </div>
              </div>
            
          

Layout style

We have three layout style full-width, boxed and framed

            
              <!-- full width -->
              <body class="full-width">
              <!-- boxed -->
              <body class="boxed">
              <!-- framed -->
              <body class="framed">
            
          

Just add .boxed or .framed classes in <body>

If .full-width classes is optional, because default layout is fullwidth

Layout background

We have six layout background for boxed and framed style

.bg-repeat, .bg-repeat2, .bg-repeat3, .bg-cover, bg-cover2, .bg-cover3

Example

            
              <!-- boxed -->
              <body class="boxed bg-repeat">
                <!--Background image-->
                <div class="bg-image"></div>
                <!-- ========== WRAPPER ========== -->
                <div class="wrapper">
            
          

Just add .bg-repeat classes in <body>

And add <div class="bg-image"></div> after <body>

You can edit this background source images url from assets/scss/_variables.scss

Important globals

Bootnews employs a handful of important global styles and settings that you'll need to be aware of when using it, all of which are almost exclusively geared towards the normalization of cross browser styles. Let's dive in.

HTML5 doctype

Bootnews requires the use of the HTML5 doctype. Without it, you'll see some funky incomplete styling, but including it shouldn't cause any considerable hiccups.

            
              <!doctype html>
              <html lang="en">
                ...
              </html>
            
          

Responsive meta tag

Bootnews is developed mobile first, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, add the responsive viewport meta tag to your <head>.

            
              <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            
          

You can see an example of this in action in the starter template.

Contact us

Stay up to date on the development of Bootnews and contact our team if have problem or bugs in theme.