Barrington Creative Agency HTML5 Template

Welcome To Barrington Template Documentation.

Firstly, a huge thanks for purchasing this theme, your support is truly appreciated!

This document covers the installation and use of this theme and often reveals answers to common problems and issues - read this document thoroughly if you are experiencing any difficulties. If you have any questions that are beyond the scope of this document, feel free to email at nurcodes@gmail.com Thank you so much!

Template Features

  • Clean & Simple Design
  • HTML5 & CSS3
  • Parallax Section
  • Fully Responsive Design
  • PHP/Ajax Powered Working Contact Form
  • All files are well commented
  • Ajax Portfolio
  • Cross Browser Compatible with IE11+, Firefox, Safari, Opera, Chrome
  • Extensive Documentation

Barrington Creative Agency HTML5 Template

Installing Template.

  1. After unzip the download pack, you'll found a Template Folder with all the files.
  2. You can view this Template in any browser, you can display or edit the Template without an internet connection.
  3. The only section that will not work is the Contact Section which contains PHP code and requires a server environment for send messages.
  4. Now go to your cpanel or open your FTP Client (like Filezilla) and upload the content of the Template on your server root.
  5. Once the files are done uploading go to www.yourdomainname.com/index.html

Template Structure

All information within the main content area is nested within a body tag. The general template structure is pretty the same throughout the template. Here is the general structure of main page (index.html).

		                

		                

CSS Files and Structure

These are the css files that are loaded into templates in Head Section.

		                		                
		                
		                
		                
		                
		                
		                
		                
		                
		                
		            

Google Web Fonts

By default, the template loads this font from Google Web Font Services, you can change the font with the one that suits you best.

		                
						
		                
		                
		            

Remember to change the font into main.css

Javascript Files and Structure

These are the list of Javascript files that are loaded into templates in end of the Body Section.

				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
				        
		            

Contact Form

This is a PHP Script for sending messages to your email, you should replace support@pixelcoder.net to your email to start receive messages.

	                    $to = "support@pixelcoder.net"; // replace this mail with yours
	                    $from = $_SERVER['PHP_SELF']." ".$_POST["email"];
	                    $email = $_POST["email"];
	                    $fname = $_POST["fname"];
	                    $lname = $_POST["lname"];
	                    $headers = "From: $from";
	                    $message = $_POST["message"];

	                    $body = "User Message \n";
	                    $body .= " \n\n\t Name: ".$fname." ".$lname;
	                    $body .= " \n\n\t Email: ".$email;
	                    $body .= " \n\n\t Message: ".$message;

	                    if ( mail( $to, $subject, $body, $headers ) ) {
	                        echo '';
	                    } else {
	                        echo '';
	                    }
		            

Google Map Settings

To set your location, go to theme root directory, open js folder, find map-init.js edit it with text editor (like Notepad++). Go to line number 06 and change the latitude and longitude. First one is latitude and second one is longitude. To find your locations latitude and longitude, click here

		                // The latitude and longitude to center the map (always required)
		                var latlong = new google.maps.LatLng(23.751510, 90.386137);
		            

Source and Credit