Thank you for purchasing Polo template!
This documentation will give you an understanding of how POLO is structured and guide you in performing common functions. If you require further assistance not covered in this documentation, please contact us in our Support Portal http://support.inspiro-media.com/
If you need custom customization, please contact us from here: http://themeforest.net/user/inspiromedia
Thank you so much!
INSPIRO
Once you have download the package you will see the following folder structure:
Follow the steps below to get started with your Site Template:
POLO template is based on Bootstrap Framework (http://getbootstrap.com/) Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
Below is a sample coding structure:
<!DOCTYPE html> <html lang="en-US"> <head> </head> <body></body> </html>... ...
The template supports two different layout modes, Boxed & Wide Layout. The wide one is the default option, if you want to use the Boxed version, add the following class in the <body> and layout style will be changed to boxed version.
<body class="boxed">
Page Loading Transitions are enabled by default. If you wish disable the page loading transition you can simply add this class no-page-loaderinside body.
<body class="no-page-loader">
You can easily change page loaders in your website, simply by adding in body tag data-animation-icon="1" attribute and choose it from 1 to 20 styles. Full list of options below:
data-animation-in - Animation effect on page load, default value is fadeIndata-animation-out - Exit Animation effect when page is loaded, default value is fadeOutdata-animation-icon - choose it from 1 to 20 styles. data-animation-icon="1"data-icon-color - Add your custom hex code color example data-animation-icon="#ff0000"data-speed-in - Speed of Animation effect during the page load (in miliseconds), default value is 1000data-speed-out - Speed of Exit Animation Effect when page is loaded (in miliseconds), default value is 500<body data-animation-in="fadeIn" data-animation-out="fadeOut" data-animation-icon="18" data-speed-in="1000" data-speed-out="500" data-animation-icon="#ff0000">
You can create custom link animation by adding this class .animsition-link inside the a tag
Default site logo is placed inside #header container.
<header id="header"> </header>
Note Maximum height of logo is 90px. Make you sure you also add
Retina Logo If you wish to use retina logo on your site for high-resolution retina displays, just place in the same direcory a high resolution file with name: logo@2x.png, and for dark version logo-dark@2x.png
This part of the documentation will explain how to change the current Color Scheme of your site, You simply need to include an existing color scheme or change the HEX Color Code in the css/color-variations/custom.css and include inside <head>
Include inside <head> main template (or any predefined color palete). See example below:
<head> </head>
Include inside <head> custom color palete from /css/color-variations/custom.css and open an code/text editor simply change the HEX Codes according to your requirements. See example below:
<head> </head>
By default POLO Template uses Two fonts from google library:Open Sans and Raleway from the Google Fonts Library
If you wish to add/change the site fonts, please take a look in the head part of the website and you will find this tag:
To include new font you can simply add another line like this:
Or add an | seperator and paste Lato:400,300,800,700,600 after default website fonts link.
Polo has 15 header versions to choose from. Header versions helps you to customize the main header of your website with different styles. We made it really simple to change header styles, by simply changing a class name and your entire header style will change automatically and adopt to any screen.
Header Light is the default option, if you want to use the Transparent or dark version, add the following class in the <header> and header style will be changed to Transparent Header.
<header class="header-transparent">
| Class | Class Description |
|---|---|
(Empty) |
This is the default Header style with white background and dark text color. There is no need to add a class for this version. |
.header-transparent |
This class will make header with with transparent background. By default header has text with dark color, in this case if you need to have text & menu with light color, you just need to add also header-dark after header-transparent |
.header-light |
This version of header is almost the same with the default version |
.header-light-transparent |
This class will make header with with light semi transparent background. By default header has text with dark color. |
.header-dark |
This class will make header with dark background and light text color |
.header-dark-transparent |
This class will make header with with dark semi transparent background. By default header has text with light color. |
.header-modern |
This class will make Modern floating Header style with white background and dark text color. |
.header-modern .header-dark |
These two classes will make Modern floating Header with dark background and light text color. |
.header-modern .header-dark .header-dark-transparent |
These two classes will make Modern floating Header with semi dark background and light text color. |
.header-modern .header-dark .header-dark-transparent |
These two classes will make Modern floating Header with semi dark background and light text color. |
.header-logo-center |
This class on default header version will align logo in center |
.header-logo-right |
This class on default header version will align logo in right position |
.header-fullwidth |
This class will make header to be fullwidth, if you need to be transparent, you can simply add header-transparent, also if you need to be with light color simply add also header-dark |
.header-static |
This class will make header to be as a static, when you scroll page the header size remain same. |
.header-no-sticky |
This class will disable sticky header, when you scroll page the header remain at top. |
.header-mini |
This class will make header to be as a mini version, similar as the sticky header when you scroll your page. |
Below slider (not class) |
You can add any of the above header styles under the slider in order to make it the header below slider. Simply grab the <header> ... </header> below <div id="slider"> ... </div> |
Polo has 4 Topbar versions to choose from. Topbar versions helps you to customize the main Topbar of your website with different styles. We made it really simple to change Topbar styles, by simply changing a class name and your entire Topbar style will change automatically and adopt to any screen.
Topbar Light is the default option, if you want to use the Transparent or dark version, add the following class in the <div id="topbar"> and Topbar style will be changed to Transparent Topbar.
<div id="topbar" class="topbar-transparent">
| Class | Class Description |
|---|---|
(Empty) |
This is the default Topbar style with white background and dark text color. There is no need to add a class for this version. |
.topbar-transparent |
This class will make Topbar with with transparent background. By default Topbar has text with dark color, in this case if you need to have text with light color, you just need to add also topbar-dark after topbar-transparent, see code on next colum |
.topbar-dark |
This class will make Topbar with with dark background and light text color |
.topbar-colored |
This class will make Topbar with with colored background. By default Topbar has text with dark color, in this case if you need to have text with light color, you just need to add also topbar-dark after topbar-colored, see code on next colum |
POLO includes 5 different sliders that gives you all the options they need.
Please find the full online documentation of Revolution Slider here
This excellent carousel slider can be controled usuing HTML5 data attirbutes, see the full list below:
data-carousel-col - The columns in large desktop screen size, default value is 4 columnsdata-carousel-col-md - The columns in laptop screen size, default value is 4 columnsdata-carousel-col-sm - The columns in tablet screen size, default value is 3 columnsdata-carousel-col-xs - The columns in mobile screen size, default value is 1 columnsdata-carousel-margins - Set space margins of elements, default value is 20 (20 pixels)data-carousel-dots - Use dots nativation, default value "false" in this case defult navigation are arrows in left and right.data-carousel-autoplay - Autplay slider, default value "false"data-carousel-video - Video slider, if you need to place video in slider you need to set this option to "true"The full documentation of OWl Slider can be found here
You can easily add background images and text caption inside in Polo Owl Slider. You can also simply add inside <div id="slider">...</div> if you need it to be as a first slider of your website.
The HTML Structure of POLO Owl Slider is shown below:
The full documentation of OWl Slider can be found here
Text Rotator can be controlled using HTML5 data attirbutes, see the full list below:
data-rotate-separator - Value of phrases seperator. Default value is "," You can change this value as you wish. Simply by adding an | or /data-rotate-effect - The [in] animation type. Refer to Animate.css for a list of available animations. Default value is flipInXdata-rotate-speed - The delay between the changing of each phrase in milliseconds. Default value is 2000Encapsulate your rotating phrases in an element and separate each phrase with a comma or a separator of your choice:
LIFE ISFITNESS, TO BE STRONG, TO BE FIT
The full documentation of Morphext can be found here
You can easily add animated background images to any element in your website. Simply place initialize code with ID of your target.
Below is an example:
$(function() {
$('body').vegas({
slides: [
{ src: 'img1.jpg' },
{ src: 'img2.jpg' },
{ src: 'img3.jpg' }
]
});
});
Then the default target is body
Javascript code:...
$(function() {
$('#vegas-slideshow').vegas({
slides: [
{ src: 'img1.jpg' },
{ src: 'img2.jpg' },
{ src: 'img3.jpg' }
]
});
});
The full documentation of Vegas Slideshow can be found at https://github.com/jaysalvat/vegas
Find below list of css class helpers of sliders:
.fullscreen - This class makes the Slider Full Screen..halfscreen - This class change heigh of the slider to 1/2 of the screen. This class can be usued typically for fullwidth sliders.Polo helper css classes allow you to build your custom layout without touching any CSS code
These classes are generic helper classes predifined in the CSS of pages, here is quick view what they can do
You can add this helper class to any element in your HTML code to set Margins
| First Prefix ( m-*) | Second Prefix(m-t/b/l/r-*) | Last Prefix(m-t-$value) |
|---|---|---|
| m for margin | t : top, b : bottom, l : left, r : right | 5,10,15,20, ... 150 |
example :
m-t-10 which means Margin Top 10px
m-b-20 which means Margin Bottom 20px
m-l-5 which means Margin Left 5px
m-r-35 which means Margin Right 35px
Value can not be anything, 1,2,4,5,6. It has a step of 5px, eg: 5,10,15
Other options:
To remove margin from a HTML element add the class no-margin
You can add this helper class to any element in your HTML code to set paddings
| First Prefix ( p-*) | Second Prefix(p-t/b/l/r-*) | Last Prefix(p-t-$value) |
|---|---|---|
| p for padding | t : top, b : bottom, l : left, r : right | 5,10,15,20, ... 150 |
example :
p-t-10 which means padding Top 10px
p-b-20 which means padding Bottom 20px
p-l-5 which means padding Left 5px
p-r-35 which means padding Right 35px
Value can not be anything, 1,2,4,5,6. It has a step of 5px, eg: 5,10,15
Other options:
To remove padding from a HTML element add the class no-padding
You can add this helper class to any element in your HTML code to set text size & style
| Text size | |
|---|---|
text-medium |
font-size: 50px !important; font-weight: 800; line-height: 1.1; margin-bottom: 20px; |
text-large |
font-size: 90px !important; line-height: 110px !important; font-weight: 800 !important; |
text-extra-large |
font-size: 120px !important; font-weight: 800; line-height: 120px; |
text-lg |
color: #ffffff; font-size: 130px; line-height: 120px; font-weight: 800; |
text-lg-x2 |
color: #ffffff; font-size: 230px; line-height: 250px; font-weight: 100; |
text-small |
font-size: 16px !important; font-weight: 800; line-height: 1.1; |
text-medium-light |
font-size: 50px !important; font-weight: 100; line-height: 1.1; |
text-large-light |
font-size: 90px !important; line-height: 100px !important; font-weight: 120 !important; |
You can add this helper class to any element in your HTML code to set text color
| Text | |
|---|---|
.text-orange
|
color: #f58a5c; |
.text-green
|
color: #1fbba6; |
.text-blue
|
color: #5f8295; |
.text-pink
|
color: #dd5a82; |
.text-purple
|
color: #dd5a82; |
.text-bricky
|
color: #894550; |
.text-yellow
|
color: #ffb848; |
.text-red
|
color: #e66b6b; |
.text-white
|
color: white; |
.text-dark
|
color: rgba(44, 47, 59, 0.4); |
.text-light
|
color: rgba(255, 255, 255, 0.6); |
You can add this helper class to any element in your HTML code to set text align
| Text | |
|---|---|
.text-left
|
text-align: left; |
.text-right
|
text-align: right; |
.text-center
|
text-align: center; |
You can add this helper class to any element in your HTML code to set font weight
| Font Weight | |
|---|---|
.text-bold
|
font-weight: bold; |
font-wight-100
|
font-weight: 100 !important; |
font-wight-300
|
font-weight: 300 !important; |
font-wight-400
|
font-weight: 400 !important; |
font-wight-500
|
font-weight: 500 !important; |
font-wight-600
|
font-weight: 600 !important; |
font-wight-700
|
font-weight: 700 !important; |
font-wight-800
|
font-weight: 800 !important; |
You can control twitter widget simple by changing the attribute data-username
data-username - The data-username is your username on twitterdata-limit - Number of tweets to show (Default value: 2)You can control Twitter Widget, simply by using HTML5 data attirbutes, follow list below:
data-username - Option to load tweets from another account or list owner's username.data-limit - Number of tweets you want to display (Default value: 2)data-format - Your date format (Default value: %b/%d/%Y) data-loading-text - Show profile image (Default value: false) data-loader - Path to your config.php file. (Default value: include/twitter/config.php)data-avatar - Show your avatar image (Default value: false)Create new application and enter the application details.
Create my access token. You may need to refresh the page after a few seconds if it doesn't appear automatically.
include/twitter/config.php file.|
1
2
3
4
5
6
7
|
// Consumer Keydefine('CONSUMER_KEY', 'CONSUMER_KEY_HERE');define('CONSUMER_SECRET', 'CONSUMER_SECRET_HERE');// User Access Tokendefine('ACCESS_TOKEN', 'ACCESS_TOKEN_HERE');define('ACCESS_SECRET', 'ACCESS_SECRET_HERE'); |
3. Save file. Done!
Simply go to /include/contact-form.php file and find line $to = "info@yourdomain.com" and add your email there. If you need multiple email recipes simply add a comma separation, example: email@domain.com, email2@domain.com
mail() function to make contact form work properly. And you need to upload to your web hosting server.
If you are not receiving emails from your forms then chances are that your Server Configuration doesn't support PHP mail() function. But you can use SMTP Authentication. Just find the following line of code:
enable and configure these parameters inside contact-form.php
//$mail->isSMTP(); // Set mailer to use SMTP
//$mail->Host = 'mail.yourserver.com'; // Specify main and backup SMTP servers, example: smtp1.example.com;smtp2.example.com
//$mail->SMTPAuth = true; // Enable SMTP authentication
//$mail->Username = 'SMTP username'; // SMTP username
//$mail->Password = 'SMTP password'; // SMTP password
//$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
//$mail->Port = 587; // TCP port to connect to
To setup reCaptcha in your forms simply add this code below to your form
<script src="https://www.google.com/recaptcha/api.js"<script>
You can create unlimited contact maps in your website. Simply by using HTML5 data attirbutes, follow list below:
data-map-address - Add location addressdata-map-zoom - Map zoom sizedata-map-type The maptype has to be set as an string and can be set to any of these values: HYBRID, TERRAIN, SATELLITE or ROADMAPdata-map-icon We have created six markers for your website, you can find them in /images/markers. If you wish your custom image marker you can do that, just by placing your custom marker url in data-map-icon An example, how to create Google Maps inside your website:
head or before your placed map. you can set the sensor parameter to true or false to detect the user's location.
You will need to register your website with Disqus in order to make the disqus comments for on your website.
Step 1 - Create Disqus Account and register your site by visiting this url https://disqus.com/admin/create/disqus_shortname (Webiste Name, see screenshot below)
disqus_shortname (Webiste Name) in your template, example blog-comments-disqus.html
|
1
|
var disqus_shortname = 'YOUR_DISQUS_USERNAME'; |
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!-- Disqus Comments --><div id="disqus_thread"></div><script type="text/javascript">// Add your disqus shortname - more info https://help.disqus.com/customer/portal/articles/466208var disqus_shortname = 'inspirothemes'; /// DO NOT THIS CODE BELOW (function() { var disqus = document.createElement('script'); disqus.type = 'text/javascript'; disqus.async = true; disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus);})();</script><!-- End: Disqus Comments --> |
The Comments plug-in enables you to add a comments thread to any page on your website that allows visitors already logged in to Facebook to add comments.


If you allready have a google custom search engine created for your page, skip to step 2 (Search result page)
Open search-results-page.html with an code/text editor, go to line 668 and add place google custom search code inside <div class="container">...</div>
An example, how the Google Custom Search page should look like:
<script> (function() { var cx = '002076313563808096837:eapq2teawdc'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:searchresults-only></gcse:searchresults-only>
You can easily add animations to any elements in your website. Animations can be shown on scroll appear and on click action for Out effect.
Example:
<div data-animation="fadeInUp" data-animation-delay="200"> ... </div>
data-animation-delay) is in miliseconds, example 1 second = 1000 miliseconds! It can be empty, default value is: 200 miliseconds
The animation can be set to:
We have included font awesome icon fonts in Polo template. A complete list of icons along with the class names can be found here: http://fontawesome.io/
You can place Font Awesome icons just about anywhere using the CSS Prefix fa and the icon's name. Font Awesome is designed to be used with inline elements (we like the <i> tag for brevity, but using a <span> is more semantically correct).
Please see below exmaple code:
Bootstrap grid includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined classes for easy layout options, as well as powerful mixins for generating more semantic layouts
Grid systems are used for creating page layouts through a series of rows and columns that house your content. Here's how the Bootstrap grid system works:
rowcol-md-1 to col-md-12For more information about Bootstrap, visit: http://getbootstrap.com/
example :
.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-8.col-md-4.col-md-4.col-md-4.col-md-4.col-md-6.col-md-6
Note Bootstrap includes different grids for different screen sizes, "col-md" md stands for medium screen, the following table explains:
| Extra small devices Phones (<768px) | Small devices Tablets (≥768px) | Medium devices Desktops (≥992px) | Large devices Desktops (≥1200px) | |
|---|---|---|---|---|
| Grid behavior | Horizontal at all times | Collapsed to start, horizontal above breakpoints | ||
| Container width | None (auto) | 750px | 970px | 1170px |
| Class prefix | .col-xs- |
.col-sm- |
.col-md- |
.col-lg- |
| # of columns | 12 | |||
| Column width | Auto | ~62px | ~81px | ~97px |
| Gutter width | 30px (15px on each side of a column) | |||
| Nestable | Yes | |||
| Offsets | Yes | |||
| Column ordering | Yes | |||
POLO is built keeping mind to support a wide range of browsers and devices. We all major browers Google Chrome, Mozilla Firefox, Safari, Opera, Internet Explorer 9 and Above
| Chrome | Firefox | Internet Explorer | Opera | Safari | |
|---|---|---|---|---|---|
| Android | Supported | Supported | N/A | Not Supported | N/A |
| iOS | Supported | N/A | Not Supported | Supported | |
| Mac OS X | Supported | Supported | Supported | Supported | |
| Windows | Supported | Supported | Supported | Supported | Not Supported |
All images are only for demonstration purpose, however you can re-download them in sites below. Almost all (not including overclothing.com, Daniel Zenda, Freepik etc...) images are released free of copyrights under Creative Commons CC0.
Initial Release