Welcome Everyone!
Thank you for taking a time for visiting this page either you've purchased or interesting it. We are introducing you the Versaille template that is the best theme we've ever built. Very first you should be familiar with this document and read carefully details because the purpose of this file is to cover & explain you all possible variations and usages and save your time.
SUPPORT FORUMGeneral
Installation
Follow the steps below before you to get started:
- Open the
Versailledirectory from all the template downloads. - Upload template files to your Web Server using FTP client software
- Your site will work at least with following required files/folders:
less/Less Folderimages/Images Folderjs/Javacripts Foldervendors/Vendors Folderstyle.cssMain Stylesheetindex.htmlIndex File
- Add your content and customize the template for your need.
Folder Structure
The template has followed next folder structure and each folder has multiple files and I didn't print all the single file names here to prevent very high tree. You can find the files quickly by folder names that needs to edit and use.
Main folder has 10+ html files named their relevant content. Read names and find your proper file to get the html content.
Versaille/ ├── less/ ├── images/ ├── js/ ├── vendors/ │ ├── bootstrap/ │ ├── font-awesome/ │ ├── gsap │ ├── iostope/ │ └── jquery-waypoints/ ├── index.html ├── style.css └── *.*
Markup Structure
General Structure
This is main html structure and most of pages followed this structure.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Versaille HTML Template</title>
... <!-- Stylesheet & Header includes -->
</head>
<body>
<header id="header" class="navbar navbar-default sticky animated fadeInDown">
...
</header>
<section class="page-title">
...
</section>
<section class="content-area">
...
</section>
<footer id="footer">
...
</footer>
... <!-- Scripts includes -->
</body>
</html>
Containers & Layouts
Bootstrap requires a containing element to wrap site contents and house the grid system. You may choose one of two containers to use in your site. Note that, due to padding and more, neither container is nestable.
Use .container for a responsive fixed width container.
<div class="container"> ... </div>
Use .container-fluid for a full width container, spanning the entire width of your viewport.
<div class="container-fluid"> ... </div>
Page Title
<section class="page-title" data-bg-image="images/pages/cover.jpg">
<div class="container">
<div class="pull-left">
<div class="pull-right">
</div>
</div>
</div>
</section>
You can use align classes on page title and make centered or right style. .text-center, .text-right.
<section class="section-area text-center">
...
Content Area
Use below markup for blog & single post page on .content section at the above.
Your primary section should place above. Now the container splitted by 9 and 3 for content.
<section class="section-content bg-grey">
<div class="container">
<div class="row">
<div class="col-sm-9">
...
</div>
...
</div>
</div>
</section>
Footer
Place your footer content here.
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-sm-12">
</div>
<div class="col-sm-12">
...
</div>
</div>
<div class="scroll-top">
<div class="entry-footer">
Copyright © 2015 - All Rights Reserved
</div>
</div>
</div>
</footer>
Widgets
Following classes control how the widget design their inside content. Structured in aside or div tag and titled h5 heading for your SEO reference. Widget markups are same on sidebar & footer areas but styled by their containers, so see the complete markup from the blog.html and footer.html files.
.widget-tags.social-links.recent-posts.images-list.search_form
<div class="widget">
<h5 class="widget-title">...</h5>
<div class="recent-posts">
...
</div>
</div>
Cascading Style Sheets
CSS Structure
Our template based on Bootstrap layout and included this library. Then you can use any css and helpers there for your need from it. Theme styles are included after the libraries and they are overwrite default styles. But we've tried to use all possibe default styles and write less additional styles.
This is a contents of style.css and you can find it on at top of the file. Please find your desired styles by index numbers from following map that needs to be changed.
Table of Contents
01. Header
02. Helpers
03. Elements
04. Content
05. Blog
06. Comments
07. Page
08. Portfolio
09. Widgets
10. Footer
11. Responsive
Template Helper Classes
We are explaining possibile classes on their relevant sections. But here we have following classes those aren't mentioned enough. They aren't abandoned because power of those are limitless. You can find many aspect of these on the demo pages.
| Reference | Class Name | Purpose & Usage |
|---|---|---|
| Text | .text-brand | Makes your text as brand coloured. |
| .text-light | Makes your text as lighter and white. | |
| Padding |
.padding1x .padding2x .padding3x .padding4x .padding5x .padding6x .padding7x .padding8x .padding9x .padding10x .padding11x .padding12x .padding13x .padding14x .padding15x .padding16x .padding-no-top .padding-no-bottom |
Set padding top or bottom space on their current element. X delegates 10px now. Note: Don't change padding right and left space, only for top and bottom. Example: Making 2x top space only. <section class="padding2x no-padding-bottom"> |
Bootstrap Helper Classes
Collected following useful classes for your conent editing from all Bootstrap classes. These are used frequently on template files and you can build anything with those classes and combinations.
| Reference | Class Name | Purpose |
|---|---|---|
| Layout | .container .container-fluid .row .col-xs-* .col-sm-* .col-sm-push-* .col-sm-pull-* .col-sm-offset-* .col-md-* .col-md-push-* .col-md-pull-* .col-md-offset-* .col-lg-* .col-lg-push-* .col-lg-pull-* .col-lg-offset-* |
Identify layout width and position. Pull, Push Reset offsets, pushes, and pulls at specific breakpoints. Offset Increase the left margin of a column by * columns. |
| Alignment | .pull-left .pull-right |
Aligns column order disregarding html sequence. |
| .text-left .text-right .text-center |
Text alignments |
|
| Visibility | .hide .show |
|
| .visible-xs .visible-sm .visible-md .visible-lg .hidden-xs .hidden-sm .hidden-md .hidden-lg |
Visibility options related screen resolution. | |
| Content Styling | .img-responsive .img-rounded .img-thumbnail .img-circle |
|
| .list-unstyled .list-inline |
Site Header
Header
Here is the header layout structure. Please make your changes in it and use on next to Body tag.
<header id="header">
<div class="container">
<div class="row">
<div class="col-sm-12">
<a href="index.php" class="logo">
<img alt="Image" src="images/logo.png">
</a>
<nav>
...
</nav>
</div>
</div>
</div>
</header>
Logo and Branding
Currently we use SVG logo format which is vector and doens't scall badly on any custom screens including retina displays. Then please replace your one in images directory.
Now logo's outer container has 142px wide and 110px high. Then your logo will be nested in this area. But you can change it to whatever for your need and set your changes in style.css file in line 170.
.has-slider .header .logo {
width: 130px;
height: auto;
}
Menu
Main navigation should place in the header tag and it has to be nav tag.
<header id="header">
<div class="container">
<div class="row">
<div class="col-sm-5 ">
<nav>
<!-- YOUR NAVIGATION -->
<ul>
<navigation-left>
<li><a href="home.php">Home</a></li>
<li><a href="about us.php">About us</a></li>
<li><a href="portfolio.php">Portfolio</a></li>
<li><a href="fortfolio-single.php">Folio single</a></li>
<li><a href="single.php">Blog Single</a></li>
<li><a href="contact.php">Contact us </a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
Note Just draw your menu with clean ul, li and next level structure. You don't need to add extra class or configuration on those because scripts allow their required classes.
Extras & More Information
Font Switching
This short guide explains how to use the Google Fonts API to add fonts to your web pages. It's free and easy to implement a much wider variety of type into a website.
- Choose new font(s) from Google Fonts
- Add a stylesheet link to request the desired web font(s) on the
headtag which locates at the top of your markup<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Font+Name">
- Edit
style.cssfile and set font family name or Style elements with the requested web font like thisbody { font-family: 'Font Name', serif; } #header .main-menu li { font-family: 'Font Name', serif; } h1,h2,h3,h4,h5,h6 { font-family: 'Font Name', serif; } .widget-title { font-family: 'Font Name', serif; } - Delete old font(s) link from the
headsection.
If you need to implement other fonts then this, you should follow the instuction of your selected font library and follow the steps #3 and #4.
Get Purchase Code
A Purchase Code is a unique code associated with your item purchase, it’s individual to you. You'll need a Purchase Code to access the Support Forum. Follow below steps to find the code:
- Log into your Envato Market account
- From your account drop down links, select Downloads
- Click the ‘Download’ button that corresponds with the template
- Select the ‘License certificate & purchase code’ download link:
Your Purchase Code will be displayed within the License Certificate:
Credits
Thank you to all who developed following projects/products. We really appreciate your support and time. We definitely couldn't do this template without you. We wish you all the best.
Special thanks to:
Images
- PublicDomainArchive.com - Background images, portfolio image & gallery images
Open Source Projects
- Twitter Bootstrap
- Isotope
- jQuery
- Font Awesome
- Less By Alexis Sellier