Testo - Pizza and Fast Food Landing Page Template

Documentation


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

rating_image

In the following sections we will explain how to set up and use it the easiest way possible. If you have any questions that you feel should have been in this document you can contact us through our profile page on themeforest.net/user/Jthemes and we'll get back to you as soon as possible. Thanks so much!!!

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.

Code Editors

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.

structure_image


As Testo is an HTML template, it uses a number of .html pages (12 demo pages + 16 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.

html_folder_image


Inner Pages:

inner_pages_image

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. Testo 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.

  1. Choose the layout and additional inner pages which you will use in project
  2. Rename a demo-x.html in the index.html
  3. Make necessary changes (add your text, images etc.)
  4. Copy all folders and html pages which you will use in project into your www or public_html directory on your server or local computer using FTP client or File Manager (or similar)
Note! In this archive the images that you can see in demo pages were replaced by a placeholder.

Attention! That folder structure and files names are important to make the template working correctly.

Testo template is based on Bootstrap v4.5.3 - 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.

grid_image

The index.html is the main template file that contains the HTML structure of the template. Here is the general structure (shortened):

HTML Markup
boot_image

The general template structure is the same throughout the template.

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:

css_folder_image
  1. bootstrap.min.css - This is a main stylesheet that required for basic template styling like form, input, div, list element and etc.
  2. flaticon.css - A complete set of 200+ thin vector icons
  3. flexslider.css - An awesome, fully responsive jQuery FlexSlider Plugin v2.0
  4. jquery.datetimepicker.min.css - A css file for datatime picker
  5. magnific-popup.css - A responsive lightbox stylesheet
  6. menu.css - A css file for responsive mega menu
  7. owl.carousel.css - A responsive carousel slider
  8. owl.theme.default.min.css - A responsive carousel slider customization file ( it is required if you'd like the default nav controls like dots or next buttons)
  9. responsive.css - This stylesheet contains responsive rules for adapting the template to any resolution, from desktop to small mobile.
  10. style.css - The main CSS file contains some general styling, such as anchor tag colors, font-sizes, etc.

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 style.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:

commented-code
How to edit styles

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 style.css file and do the following:

text-color-edit

If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your style.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:

js_folder_image
  1. booking-form.js - A jQuery plugin for booking form
  2. bootstrap.min.js - This framework provides additional user-interface elements such as dialog boxes, tooltips, carousels etc.
  3. comment-form.js - A jQuery plugin for comment form
  4. contact-form.js - A jQuery plugin for contact form
  5. custom.js - This file contains the general jQuery setups for the scrollup plugin, contact form validation and more.
  6. html5shiv.js - This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.
  7. jquery-3.5.1.min.js - Is a Javascript library that greatly reduces the amount of code that you must write.
  8. jquery.ajaxchimp.min.js - jQuery plugin for MailChimp subscribe form
  9. jquery.appear.js - jQuery plugin for tracking element's appearance in browser viewport
  10. jquery.datetimepicker.full.js - jQuery plugin for datatime picker
  11. jquery.easing.js - A jQuery plugin to give advanced easing options.
  12. jquery.flexslider.js - This is jQuery plugin which adds a fully responsive slider to your pages
  13. jquery.magnific-popup.min.js - Magnific Popup is a responsive lightbox & dialog script
  14. jquery.scrollto.js - Scroll smooth to any element in your DOM
  15. jquery.validate.min.js - jQuery form validation plugin
  16. materialize.js - A jQuery plugin for responsive hero slider
  17. menu.js - A jQuery plugin for responsive mega menu
  18. modernizr.custom.js - Is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
  19. owl.carousel.js - A responsive carousel slider jQuery plugin
  20. respond.min.js - A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)

Select your desired layout and make the following changes.

Changing Favicon:

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

apple-icons

 

Changing Fonts:

Testo uses two different fonts "Roboto" Google WebFont for text and "Oswald" and "Lilita" 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:

fonts-image

To change the font, first go to http://www.google.com/fonts/ choose a font and use the generated code..

 

Changing Logo:

Open the images folder and replace the logo-x.png and logo-white.png images with your logo. 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 340 x 100 pixels), and setting the image to fill half of that space (170 x 50 pixels).

retina-logo

 

Choosing Template Layout:

Testo HTML Template includes 12 different template layouts and 16 additional inner pages :

Note! In this archive the images that you can see in demo pages were replaced by a placeholder.

template-layout

  1. Choose the layout and additional inner pages which you will use in project
  2. Rename a demo-x.html in the index.html
  3. Make necessary changes (add your text, images etc.)
  4. Copy all folders and html pages which you will use in project into your www or public_html directory on your server or local computer using FTP client or File Manager (or similar)

 

Navigation Menu: Scrolling to a spot :

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="#gallery-2".) This means that if JavaScript is turned off, your menu will continue to function normally.

nav-menu-image

 

Background color for section:

Most of the sections don't have background color. But if you want you can change the background color manually:

  1. Open the index.html file in your text editor (I use Sublime Text (http://www.sublimetext.com/3) .
  2. Find the section you want to change the background color (for example about-3):

  3. section-background

  4. Select the background color you want to apply:

  5. text-color-edit

  6. Add the class of the background color to the section (for example you want to change the yellow background color to the coffee, so just replace the existing class bg-yellow by the class bg-coffee to the section):

  7. section-background

  8. Save and see the result!

 

Lightbox Customization

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 image-link for single image (see image #1) or the class video-popup1, video-popup2 or video-popup2 (see image #2) for video to the link you want Magnific Popup to be enabled on nto the tag a

Image #1:

lightbox-image

Image #2:

lightbox-image
Initializing popup

Popup initialization code is situated in the custom.js file. There are 4 ways ( 1 for image (class="image-link") and 3 for video (class="video-popup1, video-popup2 or video-popup3")) to initialize a popup:

For a single image:

lightbox-image

For a video link (to initialize a popup (in this place you need only enter your video link):):

lightbox-image

For more information visit their website and check the documentation

 

Google Map:

We’ll use the Envato headquarters office address in Melbourne, Australia for our example. How to change address in Google Map:

countdown_image

google-map

Testo uses Flaticons Pack (200+ Icons) and FontAwesome Icons (675+ Icons)

HTML Markup for FlatIcons:

Flaticons icons use the 'span' element and each have their own unique class. For a full list of available classes, see here

flaticons-image

HTML Markup for FontAwesome Icons:

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/

font-awesome-image

FontAwesome icons use the 'i' element and each have their own unique class. For a full list of available classes, see here

 


Mailchimp Subscribe Form

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

mailchimp-js_image

You need to change three value

xxx.xxx.
How to find mailchimp form action URL?

Just go to your mailchimp account. Then your list. Then Signup forms. Select Embedded forms. You will find form action URL in this page.

rating_image

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.



Contact Form / Booking Form / Comment Form:

Testo 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/bookingForm.php, php/commentForm.php or php/contactForm.php file.

php-image

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/bookingForm.php, php/commentForm.php, or php/contactForm.php file and change these lines:

contact-form-image

One notice: this will be functional only on your server, php file can not be executed on your local computer.

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.

Support does not include:

rating_image

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