Dots Theme Documentation

Dots Theme documentation contains contains tutorials that will make you easier to configure the template as you want.

Thank you very much for purchasing from Dots Theme.

If you have any issue or question that this document does not cover, you can contact us via email dotstheme@gmail.com. You can get more update documentation here.


Table of Contents



Template Installation


You can view this template in any web browser from your desktop computer. Because the files are written in HTML, you do not need an internet connection in order to display or edit the template.

The exception is the contact and subcribe process which functions based on the PHP coding language and requires a server to send messages.

All of the HTML files are given a descriptive name to make it easier to distingish what each file will display.

Upload to The Server
  1. 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.
  2. Select /html folder, and then you can choose a color options for countdown page you want. After you choose, there will have several files with the extension labeled .html. This is where all your content will. In addition to .html you should see a file labeled .css. .css files are going to be the files that will tell the .html how to to be styled. CSS is simply a way to take text, images, and other elements and change the look of them. It's very important to keep the .css file with the HTML or the HTML will not look how the design is meant to look. Along with the HTML and CSS files, you will also have three additional folders to upload; css, images, and js.
  3. Start your FTP client (I persoanlly use Filezila which is free) 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.
  4. Locate the domain folder you wish to upload your template files to on your server. You are going to want to click and drag every file that you have labeled .html, .css, .php, .js into your FTP client.
  5. Once the files are done uploading, you can try access your website via browser.

HTML Structure


This site template has a fixed layout with a variation of column layouts depending on the page. This template uses the 1200 grid system (12 columns) which will help streamline any customization you wish to make. If you're unfamiliar with the 1200 grid system, be sure to read about it here.

The main structure of this site is wrapped in a 'container' div. Inside of that div you will find each major section of the site given an appropritae grid size all equalling 12 columns in length. For example, the '#top' element has a class of 'span12'. The total columns equals 12 columns.

	 <div id="top" class="span12">
   
 	  <!-- Top element styles here -->
   
     </div> <!-- End Top -->
    

If you would like to edit the color, font, or style of any elements in one of these columns, you would do the following in css/layout.css :

     .logo {
         position:relative;
         z-index:999;
         height:100px;
     }
    

If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn't a similar style that has more weight.

     #top .logo {
		 position:relative;
         z-index:999;
         height:100px;	
	 }
    

So, to ensure that your new styles are applied, make sure that they carry enough "weight" and that there isn't a style lower in the CSS file that is being applied after yours.


Some site elements you must change:


Logo

You can change the main site logo with change this code:

     <!-- Logo -->
     <div class="span6 pull-left logo">
      <img src="images/logo.png" alt="Fantastico" style="width:80px;" />
      <h3>Fantastico</h3>
     </div>
    

Top Social Media

You can change the top site social media with change this code:

     <!-- Social Media -->
     <div class="span6 pull-right social">
      <ul>
       <li>....</li>
       <li>....</li>
       <li>....</li>
       ....
      </ul>
     </div>
    

Note: You can see other social media icon in images/social/ folder.


Slider Images

You can change the main slider images with change this code:

     <!-- Slider Image -->
     <div class="flexslider loader">
      <ul class="slides">
       <li><img src="images/slider/1.jpg" alt="Slider 1" /></li>
       ....
      </ul>
     </div>
    

Note: If you want to change the "Slider Image", your image must be .png type with black edge in the left and right side. And must be sized of 1280x720 pixels. You can upload them to "images/slider/" folder.


Slider Text

You can change the main slider text with change this code:

     <!-- Slider Text -->
     <div class="text">
      <h1>....</h1>
      <h4>....</h4>
     </div>
    

Main Social Media

You can change the main social media links with change this code:

     <!-- Social Media -->
     <ul class="social">
      <li>....</li>
      <li>....</li>
      <li>....</li>
      ....
     </ul>
    

Note: You can see other social media follow icon in images/follow/ folder.


Company Profile

You can change the details about you company with change this code:

     <!-- Company Details -->
     <div class="span3">
   
      <h4>Our Company Details</h4> 
      <p>....</p>
	 
     </div> <!-- End Span3 -->
    

Contact Details

You can change the details about your contact information with change this code:

     <!-- Contact Information Details -->
     <div class="span3">
   
      <h4>Let's Keep In Touch</h4>
      <p>....</p>
   
     </div> <!-- End Span3 -->
    

Copyright

You can change the copyright with you own company copyright with change this code:

     <footer id="footer">
     
      <div class="container">Copyright © 2012 by ....</div> <!-- Copyright Text -->
     
     </footer> <!-- End Footer -->
    

CSS Structure


I'm using one main CSS file (css/layout.css), in this template which you are free to modify depending on the customization you require. There are also two additional style sheets that I do not recommend changing. Those style sheets reside in the 'css' folder. The six additional style sheets are:

  • layout.css - The main stylesheet you are encouraged to modify.
  • bootstrap.min.css - This is a main stylesheet that required for basic template styling like form, input, div, list element and etc.
  • bootstrap-responsive.min.css - This stylesheet use for responsively the theme for other devices screen size support.
  • flexslider.css - The main stylesheet for slider area.
  • no-js.css - This stylesheet will be activated if your browser don't support javascript.

The main CSS file contains all of the specific stylings for the page. The file is separated into sections using:

     /* ========================= 1. Site Styles ========================= */
    
     Main CSS styles are here
    
     /* ========================= 2. Header ========================= */
 
     CSS styles for the header are here
    
     /* ========================= 3. Slider ========================= */
    
     CSS styles for the main slider
    
     /* ========================= 4. Countdown ========================= */
    
     CSS styles for the countdown and process bar
    
     /* ========================= 5. Follow ========================= */
    
     CSS styles for the main social media and subscribe form
    
     /* ========================= 6. Bottom ========================= */
    
     CSS styles for the bottom section
     
     /* ========================= 7. Footer ========================= */
    
     CSS styles for the footer section
     
     /* ========================= 8. CSS Hacks ========================= */
    
     CSS hack styles for cross browser support
    
     /* ========================= 9. Media Queries ========================= */
    
     CSS styles for the support off all device screen size are here
    

If you would like to edit a specific section of the site, simply find the appropriate label in the css file, and then scroll down until you find the appropriate style that needs to be edited.


Scripts


This theme uses several scripts many of which are documented within the theme's code. If you're a developer, you will find this particularly useful.


JavaScript Settings

To change the countdown setting you can change this code (in <head> section):

     date 		= new Date("01/01/2014"); // countdown end date set
    

To change the process bar you can change find this code and change with your own (change the data-perc attribute with your own value):

     <div class="process-bar" data-perc="70"> <!-- Process Bar Value -->
    

PHP Integration


This template also use the PHP engine for activate the subcribe proses. All data about registered subcribers saved in /html/data. I use XML data format as a substitute for MySQL because I don't use any database. Your localhost or server must support with SimpleXMLElement to run this function.

/data/subcribers.xml
Contains all data about registered subcriber (the data used in XML format).


Twitter Integration:

To change the twitter username with your own, you can change $twitteruser variable value with your twitter id (in includes/get-tweets.php file):

     $twitteruser		= "envato"; // Change with your twitter username
    

PSD Files


The following Photoshop file are included with the download package place in /psd folder with the name of main.psd.


Credits



Once again, thank you so much for purchasing this template. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. Please contact me via email or social media. I'll do my best to assist!