Skip to main content

Introduction

Get started with Bootnews, Premium Magazine Bootstrap 5 Template for building news, portal, magazine and blog site. This template is perfect for news magazine site and also great for blogging.

Quick start

Looking to quickly add Bootnews in 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.

            
              <!--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="../../dist/css/bundle.min.css">
            
          

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

            
              <!--Google Fonts-->
              <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
            
          

JS

Paste following js code before </body>

            
              <!-- Bootstrap bundle JS -->
              <script src="../../assets/vendor/bootstrap/dist/js/bootstrap.bundle.min.js"></script>

              <!--Vendor js-->
              <script src="../../assets/vendor/hc-sticky/dist/hc-sticky.js"></script>
              <script src="../../assets/vendor/flickity/dist/flickity.pkgd.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="../../dist/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">

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

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

                  <!-- Bootstrap bundle JS -->
                  <script src="../../assets/vendor/bootstrap/dist/js/bootstrap.min.js"></script>

                  <!--Vendor js-->
                  <script src="../../assets/vendor/hc-sticky/dist/hc-sticky.js"></script>
                  <script src="../../assets/vendor/flickity/dist/flickity.pkgd.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="../../dist/css/bundle.min.css">
                </head>

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

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

Rtl Starter template

This is starter template for RTL mode

            
              <!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="../../dist/css/bundle-rtl.min.css">
                </head>

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

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

Dark Mode

This is class for making Dark mode data-bs-theme="dark". Add this class in html

            
               <html lang="en" data-bs-theme="dark">
            
          

Addtional color for dark skin available in here Dark skin colors

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.