Outsider is Responsible HTML5 Template usable as a personal blog or personal magazine. Template is built with Bootstrap 3 framework. It is easily customizable, the choice is yours.
Once downloaded, unzip the compressed folder to see the structure of the Outsider. You'll see next structure:
outsider/
├── css/
│ ├── bootstrap.css
│ ├── bootstrap.min.css
│ ├── font-awesome
.css
│ ├── font-awesome.min
.css
│ ├── linea-icomoon.css
│ ├── magnific-popup.css
│ ├── main.css
│ └──
slick.css
├── fonts/
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── fontawesome-webfont.woff2
│ ├── icomoon.eot
│ ├── icomoon
.svg
│ ├── icomoon
.ttf
│ ├── icomoon
.woff
│ ├── slick.eot
│ ├── slick
.svg
│ ├── slick
.ttf
│ └── slick
.woff
├── img/
│ ├── avatars/
│ └── *images/placeholders
│ ├── svg/
├── cube.svg
│ └── ring.svg
│ ├── thumbs/
│ └── *images/placeholders
│ └── *images/placeholders
├── js/
│ └── vendor/
│ └── *for detailed list see js section
│ ├── bootstrap.js
│ ├── bootstrap
.min.js
│ ├── contact.js
│ ├── main.js
│ └── mymap
.js
├── php/
│ ├── php-mailer/
│ ├── twitter/
│ ├── contact-form.php
│ └── newsletter-form.php
├── 404.html
├── about.html
├── comingsoon.html
├── contact.html
├── favicon.png
├── index.html
├── page2.html
├── post-centered.html
├── post-leftsidebar
.html
├── post-rightsidebar.html
└── shortcodes.html
This theme is a responsive layout based on Bootstrap 3. All of the information within the main content area is nested within a body tag. The general template structure is the same throughout the template.
General structure: Navbar - Header - Main - Footer
All css files are located in css folder:
This file includes all general variables used in this template. If you want to change style and colors of the template you should start from this file.
/* Table of Contents –––––––––––––––––––––––––––––––––––––––––––––––––– */ /* * Default * Flexbox * Highlighting * Preloader * Navbar * Social List * Header * Main * Masonry * Filter * Pagination * Post * Meta * Comments * Reply form * Sidebar, Widgets * Subscribe * About * Contact * Footer * Scroll Top * Page 404 * Coming Soon * Buttons * Card * Pricing Tables * Counter * Progress Bars * Collapse * Tabs */
Bootstrap 3 Framework base stylesheets. Includes all components and elements, typography, lists, buttons, button groups, navigations, navbars, forms, labels, pricing tables and much more. This stylesheet must always be included! We recommend minified version bootstrap.min.css for use. For development you can use bootstrap.css, or you can customize Bootstrap's components, Less variables, and jQuery plugins to get your very own version here.
All Javascript files are located in js folder.
If you use a form (contact form - Contact Page, newsletter form - Post Pages with Sidebar and Coming Soon Page), make sure you have inserted:
<script src="js/vendor/jquery.validate.min.js"></script> <script src="js/contact.js"></script>
If you use Google Map (Contact Page), make sure you have inserted:
<!-- GMap3--> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script src="js/vendor/gmap3.min.js"></script> <script src="js/mymap.js"></script>
See example: contact.html
This is HTML5 template, you do not need create a database. You simply upload to the server.
It's important to understand that you must either have your own server space or use someone elses. The server space can be purchased at many different places around the internet. You need somewhere to put the files that you purchased so others can find them online.
The template folder will have several files with the extension labeled .html. This is where all your content will. It's very important to keep the css and js-plugin folders with the HTML or the HTML will not look how the design is meant to look. Along with the HTML files, you will also have four additional folders to upload: css, js, fonts, and images.
Start your FTP client (Total Commander or FileZilla) and login. Login to your server. You will need your server name (often times this will be your domain name), username, and password that you setup with the hosting company.
Complement your content, write your text, load your photos and images.
Your masonry content is loaded automatically. Scroll down and next pages (posts) are loaded. If you do not use this, remove class content-nav in index.html (or your-page.html).
<!-- Pagination --> <nav class="content-nav"> <ul class="pager"> <li class="disabled"><a href="page2.html">Older</a></li> <li><a href="page2.html">Newer</a></li> </ul> </nav>
Find Pagination (before end main tag </main> -----> remove(delete) class="content-nav" (or use custom class)
Result without infinite scroll:
<!-- Pagination --> <nav> <ul class="pager"> <li class="disabled"><a href="page2.html">Older</a></li> <li><a href="page2.html">Newer</a></li> </ul> </nav>
Open comingsoon.html
. At the bottom of the page edit date (or date and time).
Set date, example
2015/12/31 (format: YYYY/MM/DD)
or if you need time too:
Set date and time, example
2015/12/31 23:59:59 (format: YYYY/MM/DD HH:MM:SS)
<!-- Countdown --> <script src="js/vendor/jquery.countdown.min.js"></script> <script> $('#timer').countdown('2015/12/31', function(event) { //set date YYYY/MM/DD or YYYY/MM/DD HH:MM:SS var format = '%D days %H:%M:%S'; $(this).html(event.strftime(format)); }); </script>
For further documentation and setting information, see The Final Countdown.
To edit the Google Map style and location marker please open mymap.js
in your favorite text editor. Edit the location marker, enter your Address or Latitude and Longitude coordinates.
You can find your Lat and Lng by using this resource: http://www.latlong.net/convert-address-to-lat-long.html
// --------------------------------------- // // GMap 3 - Set Address on line 79 // --------------------------------------- var styles = [ ... ]; $("#my-map").gmap3({ marker:{ address: '48.871663 , 2.304572' < = = = Line 79 in script, HERE SET ADDRESS Coordinates data:"Here I am", ... }, map:{ options:{ ... } } });
Example with full address:
$("#my-map").gmap3({
marker:{
address: "San Francisco, CA 94107, 795 Folsom Ave" < = = = Write a traditional address
data:"Here I am",
...
},
map:{
options:{
...
}
}
});
This template contains fully working php contact form. Forms used
- jQuery Validation Plugin form validation library,
- script contact.js
(must be included before end body tag - see chapter Javascript)
- php file (contact-form.php or newsletter-form.php).
In order to receive messages you need to edit line 8 of php/contact-form.php (php/newsletter-form.php) file and type in your own email address:
<?php ... // Your email address - edit line 8 $to = "your@mail.com"; < = = = HERE REPLACE YOUR EMAIL ADDRESS ... ?>
Plugin is based on jquery.tweet.js-mod plugin by Stan Scates. It is simple to use and configure.
First step: You need to have a twitter App for your usage in order to obtain OAuth credentials. See https://dev.twitter.com/apps for help.
Second step: After obtaining OAuth credentials, put them to php/twiter/index.php. Edit following code:
<?php /* Configure your twitter API access params below */ // Your Twitter App Consumer Key $consumer_key = 'YOUR_CONSUMER_KEY
'; < = = = HERE REPLACEYOUR CONSUMER KEY
// Your Twitter App Consumer Secret $consumer_secret = 'YOUR_CONSUMER_SECRET
'; < = = = HERE REPLACE YOURCONSUMER SECRET
// Your Twitter App Access Token $user_token = 'YOUR_ACCESS_TOKEN
'; < = = = HERE REPLACE YOURACCESS TOKEN
// Your Twitter App Access Token Secret $user_secret = 'YOUR_ACCESS_TOKEN_SECRET
'; < = = = HERE REPLACE YOURACCESS TOKEN SECRET
The third step: Open js/main.js (record for twitter script starts on line 145) and edit this code, especially line 150:
// ----------------------------- // Twitter // ----------------------------- $(".twitter-feed").tweet({ join_text: "auto", username: ["username"], < = = = Line 150 SPECIFY TWITTER USERNAME (see info below) modpath: "php/twitter/", count: 6, < = = = Line 152 (Optional)SET
NUMBER OF LOADED TWEETS
loading_text: "loading ...", template: "{text},{time},{user}", auto_join_text_default: " ", //We said, auto_join_text_ed: " ", //We auto_join_text_ing: " ", //We were auto_join_text_reply: " ", //We replied auto_join_text_url: " " //We were checking out });
You may specify twitter username to fetch tweets from. By default it is blank, because it will fetch tweets from user, who owns the Twitter App, that you configured at php/twitter/index.php.
You can load tweets from another user. As you can see in the example above, will now be loaded tweets by envato.
For further documentation about jquery.tweet plugin, see Author Repository.
Template uses Custom set of Linea Icons generated with IcoMoon. It contains 530+ icons that you can easily use and customize.
You can placeLinea icons just about anywhere with the i
tag. You can also use other techniques, with span
or a
, but i
tag is the best choice.
<i class="icon icon-display"></i>
Replace icon name, example icon-basic-display, with the actual icon name you wish to display, example icon-basic-heart.
Full list of icons: see folder Icomoon included in the download package (icomoon/demo.html).
Analogous like Linea Icons. Font Awesome contains 479 icons that you can easily use and customize.
You can place Font Awesome icons just about anywhere with the i
tag. You can also use other techniques, with span
or a
, but i
tag is the best choice.
<i class="fa fa-heart"></i>
Replace icon name, example fa-heart, with the actual icon name you wish to display. Full list of icons: visit Font Awesome
Header with background image (index.html) use a color filter. If the image is too bright or too dark, or if the font is not visible in the background or for a nicer effect. You can easily customize it as needed.
Example 1:
.header::before { /* Use this color filter - for example with too light bg image
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: none repeat scroll center center rgba(0,0,0,0.5); < = = = RGBA: SET OPACITY 0-1
}
Example 2:
.header::before { /* Use this color filter - for example with too light bg image
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: none repeat scroll center center #808080;
opacity: 0.5; < = = = SET ELEMENT OPACITY 0-1
}
Include jquery.countTo.js and init countTo. Setting the counters make directly in HTML code. Follow the example below:
<!-- Counters --> <section class="shortcode"> <div class="row"> <div class="col-md-3"> <div class="numbers"> <span class="number" data-from="0" data-to="987" data-speed="5000" data-refresh-interval="50"></span> <span class="number-info">Creative Ideas</span> </div> </div> <div class="col-md-3"> <div class="numbers"> <span class="number" data-from="0" data-to="218" data-speed="5000" data-refresh-interval="50"></span> <span class="number-info">Projects Designed</span> </div> </div> <div class="col-md-3"> <div class="numbers"> <span class="number" data-from="0" data-to="1356" data-speed="5000" data-refresh-interval="50"></span> <span class="number-info">Pizzas Eaten</span> </div> </div> <div class="col-md-3"> <div class="numbers"> <span class="number" data-from="0" data-to="1856" data-speed="5000" data-refresh-interval="50"></span> <span class="number-info">Coffee Drunk</span> </div> </div> </div> </section> <script src="js/vendor/jquery.countTo.js"></script> <script> // Counters $('.number').appear(function () { $('.number').countTo(); }); </script>
Change number value data-to="number"
.
For further documentation and setting information, see jQuery countTo.
Setting the progress value make directly in HTML code. Then use javascript. See example:
<div class="progress-wrap"> <span class="progress-label">Storytelling</span> <div class="progress"> <div class="progress-bar progress-bar-success rising-bar" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100"> <span class="sr-only">95%</span> </div> </div> </div> <script> // Progressbar $('.progress-wrap').appear(function () { $('.progress').each(function () { var value = $(this).find('.progress-bar').attr('aria-valuenow'); $(this).find('.progress-bar').animate({ 'width': value + '%' }, 100, function () { $(this).find('.bar-value').countTo({ from: 0, to: value, refreshInterval: 10 }).fadeTo(3300, 1); }); }); }); </script>
Change number value aria-valuenow="number"
Please feel free to contact us, if you have question or problem about this template.
Guarantee support for HTML and CSS issues. Troubleshooting with javascript and jquery - we will do what we can.
Thank you for purchasing our theme. We look forward to equally successful cooperation in the future!
Your Themekiosk Team