# Installation

Follow the steps below to get started with your Site Template:

1. Open the `Package/HTML` Folder to find all the Templates Files
2. You will need to Upload these files to your Web Server using FTP in order to use it on your Website.
3. Make sure you upload the required files/folders listed below:
   - `HTML/css` - Extra Stylesheets Folder plus Main Stylesheet File
   - `HTML/images` - Images Folder
   - `HTML/js` - Javacripts Folder
   - `HTML/index.html` - Index File/Homepage
   The other files can be used according to your preferences.
4. You're now good to go..! Start adding your Content and show off your Brand New Beautiful Website in style.

# HTML Structure

SoonX follows a simple coding structure. here is the sample:

    <!DOCTYPE html>
    <html dir="ltr" lang="en">
    <head>

    	<!-- Your Stylesheets, Title
    	============================================= -->
    	...

    </head>
    <body>

           <!--  Site Logo
    	   ============================================= -->

           <div  class="logo">

                    <div class="container">

    			    	....

    		   	</div>

           </div>

    		<!-- Site Counter
    		============================================= -->
    		<div class="counter">

    				<div class="container">

    					...

    			</div>

    		</div>

    		<!-- Footer
    		============================================= -->
    		<footer>

    			<div class="container">

    				...

    			</div>

    		</footer>

    <!-- Your All Scripts will be here
    	============================================= -->
    	...

    </body>
    </html>

### Favicons

You can add a Favicon to your Website using the following code just bottom to the Stylesheet files links:

    <link rel="icon" href="favicon.png" type="image/png" sizes="16x16">

# Logo Settings

The Logo Container can be found in the Logo Container

    <div class="logo">
    	<a href="index.html" class="logo"><img src="images/logo.png" alt="logo"></a>
    </div>

# Changing Fonts

Change your Fonts from Google Fonts Library directly if you plan to use a Google Font You can find the Linking to the Font Files in the `head` tag of all the `.html` files.

    <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700) rel="stylesheet" type="text/css" />

In order to change the Fonts, you will need to Edit the Above Links with your Custom Font if you plan to use a Google Font or Remove it complete if you plan to use a Self Hosted font. Here is an Example for using Self Hosted Fonts.

By default, SoonX uses 1 Fonts namely: `Roboto`, from the Google Fonts Library.

# Newsletter

sads

# Website Optimization Tips

A Fast & Optimized Website has several factors which needs to be implemented in order to achieve the desired results. There are several Optimization Techniques available which will definitely affect your Website's Performance in a Positive Way & we want to share a few of them with you:

- #### gZip Compression & Browser Caching

  This is probably one of the Most Important Techniques you should definitely implement in order to bump up your Website's Loading Speed. gZip Compression is used to compress the Files that are delivered when loading a Website. It covers HTML, CSS, Javascript & Font Files along with other miscellaneous text files. Where as Browser Caching also covers Images & Videos apart from including the above files. This is used to saves the Static Data in your Browser itself so that when you open the Next Pages on the Same Website, the content does not gets Downloaded again, loading the Website fast.

  gZip Compression & Browser Caching can be enabled using the `.htaccess` File on an Apache Web Server. You can use the Codes from here: https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess to enable these modules on your server.

- #### Image Compression & Optimization

  We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:

  - Resize your Images: Resize your Images before using it on your Website. Do not just Download an Image & place it as it is in your Website's `<img>` Tag without resizing it. The size/resolution of the Image matters since it is not recommended to use an Image size of `1200px` x `800px` in a Content Size of `300px` x `200px` as this is unnecessary. Resize it to `300px` x `200px`
  - Image Formats: There are three common file types that are used for web images which are JPEG, GIF, & PNG. For images with a Flat Background use JPEG images, for images with a Transparent background use PNG images and for images with Animations use GIF images.
  - Compressing Images: Images Compression is important as it considerably reduces the size without losing the quality. There are several FREE Image Optimization Tools available to Download.
    For MAC use ImageOptim
    For Windows use Riot for compressing JPEG Images & PNG Gauntlet for PNG Images.

- #### CSS & jQuery Minifications

  It is also recommended that you Combine & Minify all your CSS Files to a single CSS File & all Javascript Files to a single JS File since Minification reduces the size of the File and Combining the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available online to Minify your CSS & JS Files. Our recommendations are:
  For CSS use CSS Minifier and For Javascript use Javascript Minifier.

- #### Content Delivery Network

  You can use a CDN to further speed up your website. You can use the CDN to deliver static files of your website like CSS, JS, Images & Font Files. There are several CDN Hosting Providers available on the Internet but we would recommend MaxCDN or CloudFlare. Note: CDN setup requires Extra monthly Fees to setup, so it is completely optional & according to your needs.

- #### Fast Web Hosting Servers

  A lot depends on your Web Hosting Servers, so it is recommended that you choose a Hosting Company/Server that provides a Reliable & a Fast Hosting Service. You can check out some recommended Hosting Services here: http://themeforest.net/get_hosting.

# Counter

Counter is a small countdown clock plugin for jQuery that counts down to a specified date time with support for timezone offset setting. & its descriptions are provided below for your reference:

The jQuery downcount plugin in your html page. Call the plugin and specify a date time you wish to countdown towards.