Welcome! First of all we want to thank you for purchasing our Landing Pages Pack
We really do appreciate every sale. If you like our work please do not forget to rate it. It helps us in developing new and better items
For questions on basic HTML, JavaScript or CSS editing - please give your question a quick Google or visit W3Schools as template issues get top priority. You will need some knowledge of HTML/CSS to edit this tempate.
You can use notepad++ , sublimetext 3 or brackets for editing the code.
Use Firebug or Chrome Developer Tools.
Do not start from scratch, use an existing page from the demo and modify it to learn how it works.
Quickly find what you are looking for in this document by using your browser's "Find in Page" feature, typically Control + F.
Many times plugins are to blame when a site fails, always try disabling any third-party plugins if you encounter an error you can't solve.
Don't forget to re-explore the live demo for layouts, usage ideas and sample code
Unzip the downloaded files to the local disk on your computer. Inside the extracted folder there will be a folder with documentation and a folder with the html templates.
As Treko is an HTML template, it uses a number of .html pages (18 demo pages + 9 additional inner pages ) in conjunction with css stylesheets and a number of javascript plugins. The following is a brief overview of the files and a look at some prominent features.
Unzip the downloaded files to the local disk on your computer. Inside the extracted folder there will be a folder with documentation and a folder with the html templates. Treko is a HTML template so there's no really "installation" required just unzip the main file you've downloaded from Themeforest and after unziping you have your all template ready to be used.
Treko template is based on Bootstrap v4.5.0 - a collection of CSS and JS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone.
Bootstrap's base grid is a variation of the grid system. The syntax is simple and it's effective cross browser, but the awesome part is that it also has the flexibility to go mobile like a champ. You can really easily customize all part of site or build new.
Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. It’s built with flexbox and is fully responsive.
The index.html is the main template file that contains the HTML structure of the template. Here is the general structure (shortened):
If you need more information, please visit this site: https://getbootstrap.com/docs/4.0/layout/grid/
All CSS files css files are stored at "css" folder. Here's a list of the stylesheet files we're using with this template. You can find more information opening each file:
If you create you own styles you must check all the sizes of responsive so all works OK, if you need to change your own styles at certain size you will do it at responsive.css
Every section of the *.css files is commented, so we believe you will have no problem editing it. For example, comment that marks begin of the header wrap section looks like this:
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. For example if you would like to edit the background color, open up the *.css file (name depend on what color scheme you are going to use) and do the following:
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 (name depend on what color scheme you are going to use) and make sure that there isn't a similar style that has more weight.
This template uses several scripts many of which are documented within the template's code. If you're a developer, you will find this particularly useful. Here are the included Javascript files:
Select your desired layout and make the following changes.
The favicon is located in the /images/ - favicon.ico. You don't have to make any changes on the HTML, just replace the icon file with yours. Please be sure to force refresh your browser's cache in order to see the new favicon.
You can easily generate your favicon here: Favicon & App Icon Generator
Don't forget to replace icons for IOS devices - apple-touch-icon-152x152.png , apple-touch-icon-120x120.png, apple-touch-icon-76x76.png and apple-touch-icon.png. These icons are also located in the /images folder
Treko uses two different fonts "Roboto" Google WebFont for text and "Noto+Sans+TC" Google WebFont for headers. To change the embedded fonts, please take a look in the head part of the website and you will find this tag:
To change the font, first go to http://www.google.com/fonts/ choose a font and use the generated code..
Open the images folder and replace the logo-x.png and logo-white.png images with your logo. The size of the logo is 155 x 36 pixels. The basic concept of a Retina image is that your taking a larger image, with double the amount of pixels that your image will be displayed at (e.g 310 x 72 pixels), and setting the image to fill half of that space (155 x 36 pixels).
Don't forget to change the logo for mobile menu:
Treko HTML Template includes 18 different template layouts and 9 additional inner pages :
Note! Discover more about professional team, precise statistical analysis with 速雷.
Treko HTML template includes 10 color schemes. Inside the css folder there are 10 css files for diferent color schemes. You can use one of predefinied colors or build custom CSS with color which you want.
It's easy to change color scheme of this template, you just need to do following:
Treko HTML Template includes 2 different styles for navigation (no background color and white background color). It's easy to change the header type, you just need to do following:
1) Most of the headers don't have the background color
tra-menu - No Background Color
2) To set the white background color for navigation menu just change the class tra-menu to white-menu
white-menu - White Background Color
Scrolling to a spot in an HTML page is pretty simple to do. You have a lot of IDs on the page to scroll to. Write your anchor tags just as you normally would with the href attribute pointed at the ID you would like to move to (e.g. href="#content-7".) This means that if JavaScript is turned off, your menu will continue to function normally.
Most of the sections don't have background color. But if you want you can change the background color manually:
The lightbox is driven by the Magnific Popup jQuery plugin. Magnific Popup is a responsive lightbox & dialog script with focus on performance and providing best experience for user with any device.
It is very easy to customize just add suitable class video-popup1, video-popup2 or video-popup2 to the link you want Magnific Popup to be enabled on and video link into the tag a
Popup initialization code is situated in the custom.js file. There are 3 ways for video (class="video-popup1, video-popup2 or video-popup2") to initialize a popup (in this place you need only enter your video link):
For more information visit their website and check the documentation
Treko uses Flaticons Pack (250+ Icons), FontAwesome Icons (675+ Icons) and Flat PNG icons (300+ Icons)
Flaticons icons use the 'span' element and each have their own unique class. For a full list of available classes, see here
UniSet uses also the FontAwesome Icons. Using these icon packs is a simple matter of knowing the correct class to use. If you need more information, please visit this site: http://fontawesome.io/
FontAwesome icons use the 'i' element and each have their own unique class. For a full list of available classes, see here
The class img-85 shows the image resolution (for example: .img-85 = 85x85px etc.)
If you want to use the newsletter you need to have a MailChimp account (the funcional Newsletter works only with MailChimp - http://mailchimp.com/).
Open the custom.js file in your code editor, changes needs to be made here :
http://xxx.xxx.list-manage.com/subscribe/post?u=xxx&id=xxx
You need to change three value
xxx.xxx.Just go to your mailchimp account. Then your list. Then Signup forms. Select Embedded forms. You will find form action URL in this page.
Here you'll learn how to add an embedded form to your site, and which third-party sites accept MailChimp Add an embedded form to your website
One notice: this will be functional only on your server, php file can not be executed on your local computer.
Treko also uses the PHP engine for activate contact process. The message direct send to your email address, so you can edit your email address in php/contactForm.php, php/registerForm.php, php/requestForm.php or php/commentForm.php file. This will not be available for anyone to see, it is only used by the server to send your email. You can also specify an email subject line (or just leave the one which is there). To do this, please open php/contactForm.php, php/registerForm.php, php/requestForm.php or php/commentForm.php file and change these lines:
Discover more about in-depth analysis to help you understand game trends with 速雷.
File Names: contactForm.php, quickForm or commentForm (you must use these file names exactly)
Fonts:
Google Fonts - http://www.google.com/webfonts
Icons Font-face - http://fortawesome.github.com/Font-Awesome/
Scripts:
Support includes bugs fixing, and general problem solving with features explained on the template’s official sales page.
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 template. No guarantees, but I'll do my best to assist. If you have a more general question relating to the templates on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.
Best Regards,
Jthemes