Responsive Templates

Homepage
Missing page
Thanks page
Paypal thanks
Search Support Allwebco Design Allwebco Hosting
Setting up your website template:
 
HTML5 Responsive & Paypal "Type 2" Forms
KEY: MQs below indicates "media queries". The responsive css code for mobile located in the "media-queries.css" in the "colors" folder. See section below and also support details.
 
Important: MQs in this template affect the menu. When the MQs kick-in, the menu will "stack" the menu items. Other elements may hide on smartphones. See MQs section below.

Step 1:
CHOOSE HOMEPAGE: | More details
  1. If you will be using the default homepage (index.html), move the "OPTIONAL-Home.htm" into the extras folder. Skip to the next step.
  2. If you would like to use the OPTIONAL-Home.htm as your homepage, move the "index.html" into the extras folder. Rename the "OPTIONAL-Home.htm" page to "index.html".
Step 2:
EDIT HEADER: | More details
Edit the "logo.png" in the picts folder with your logo image. The background HEX color can be edited in the ".css" file in the "colors" folder. A "logo.PSD" file is located in the "extras" folder. The default font used is 30 point bold "AvantGarde Bk BT". The logo width is set by the ".logo-respond" class in the ".css" file in the "colors" folder.

To use a different image type like a .jpg or .gif, edit the "header.js" and change the "logo.png" on about line #31.

OPTIONAL PLAIN TEXT HEADER: To use the text header option, edit the "var logotype" in the "header.js" from "graphic" to "text". Edit the text following "var logotext" (Your Website Title) with your website name. Edit the "Slogan or phone number 847-555-5555" with your logo slogan.

IMPORTANT: See info about the fixed header below on this page if you change the height of the logo graphic, or use the text logo and change any font sizes.

Step 3:
EDIT COPYRIGHT: | More details
Open the "footer-copyright.js" in Notepad or any text editor file and edit the "Yourcompany.com" text with your name or company name. This will update the footer info on all pages.

Step 4:
EDIT CONTACT INFO: | More details
Open the "contact.js" in Notepad or any text editor file and change the company name, address, phone and fax numbers, and e-mail address (edit the email in 2 places). This will update the contact info on the contact page.

Step 5:
EDIT THE CONTACT AND QUOTES FORM:

Click for current info on setting up the template forms.

Click for info on adding more fields to the forms.

Click for changing form sizes or colors.

NO FORM OPTION: If you DO want to use the contact form, move the "No-Form-contact.htm" into the "extras" folder. If you want to NOT use a form on the contact page, move the "contact.htm" into the extras folder and re-name the "No-Form-contact.htm" to "contact.htm".

QUOTES FORM: Because of the complexity of setting up the quote form, there are notes in the "quotes.htm" to help you cut and paste to add new form fields. The form will work with most contact form scripts however you will need help files or a sample form from the script you intend to use. Most form elements work the same way from script to script, however the hidden values usually vary. You may want to consider editing the entire page in Notepad or a plain text editor instead of a wysiwyg editor.

Step 6:
EDIT CONTACT PAGE GET DIRECTIONS FORM & LINK | More details
This template includes a text location link and a get directions form. Click link above to setup these 2 areas.

Step 7:
SETUP TOUR PAGES: | More details
Edit the 6 "tour-?.htm" pages like any other HTML page. Images are in the picts folder. Mp3s used in the tour pages are located in the "sounds" folder.

To remove the sound, delete the code between the "START AUDIO CODE" and "END AUDIO CODE" notes in each tour page. Click link above for more options.

Step 8:
REPLACE THE GALLERY PICTURES: | More details | Thumbnail help
If you will be using the Paypal cart pages see "Paypal setup" below on this page. If you are not using the Paypal pages move the 3 "FORMgallery?.htm" pages into the "extras" folder.

This template is using Lytebox slideshows in all gallery pages. Click here for setup details. The best way to setup the pictures in the gallery is to replace the .jpg pictures in the "gallery" folder with your own by overwriting the files that are in there now and using the same generic names.

Replace the "Fgallery" pictures in the "gallery" folder with full size photos. Replace the "gallery" pictures with your thumbnails. The thumbnails are now 175 x 117 pixels (optionally edit this width in the ".css" file in the "colors" folder), Fgallery images are 700 x 467 pixels, but you can make them any size that you prefer. See links above for more details.

Note: Set the color for the Lytebox popup in the "lytebox-JQ.css" in the "JQuery-lytebox" sub-folder inside the "jQuery" folder. Use colors listed at the top of the "lytebox-JQ.css". See section below for watermark help.

Step 9:
EDIT RIGHT SIDEBAR: | More details
Open the "sidebar.js" file in Notepad or any text editor, and edit the text and links with your own text. Editing the "sidebar.js" will update all HTML pages at one time. Click link above for details.

The "sidebar-gallery.js" is used only on the gallery and gallery shopping cart pages. You can add more links to this sidebar if you add more gallery pages.

SIDEBAR SCROLLER: Edit the "news-scroller-window.html" to update the text in the sidebar scroller. You can edit this page like a normal HTML page, however you may need to edit this page in source code view.

Options for the scroller can be edited in the "jquery.easy-ticker-OPTIONS.js" in the "jQuery-scroller" sub-folder inside the "jQuery" folder. Make backups.

Step 10:
EDIT SOCIAL ICON LINKS: | More details
Open the "social-links.js" in a plain text editor like Notepad. Edit the 4 links with your social network links. The "social-links.js" includes "yes/no" variables to turn off any or all of the social icon links.

Step 11:
payments.htm PAYPAL PAYMENT PAGE:
This template includes a Paypal payment page called "payments.htm". Edit the "paypal@your-web-domain.com" in this page with your Paypal e-mail and you can use this page to accept custom payments by sending clients a link to this page and having them fill in the amount on the payment page.

Step 12:
PDF PAGE SETUP: | More details
In the "PDF" folder, replace the "PDFsample1.pdf" through "PDFsample6.pdf" with your PDF files. Edit the "PDFgallery.htm" with info for your PDF files. Click link above for setup details.

Step 13:
SETUP SITE SEARCH:
Open the "site_map.htm" and edit "allwebcodesign.com" in the "START SEARCH", "END SEARCH" section with your website domain in (2) places. If you require a more custom search with no ads, check in your Google account for info.

Step 14:
SETUP THE VIDEO PAGE: | More Details
This template uses embedded YouTube video. Setup a free YouTube account, get the embed code from your video and replace the code in the "video.htm". Replace only the following code highlighted below and do not remove the ?rel=0 and other Youtube options code at the end:

<iframe width="300" height="183"
src="http://www.youtube.com/embed/6tQR8HIOU1g?rel=0
&autoplay=1&loop=0&wmode=opaque"

Optionally you can copy the code from the video page and paste it into any other page. You can copy the video code in the video page and paste it below itself to add another video. You can duplicate the "video.htm" to add more video pages.

Step 15:
EDIT DYNAMIC FAQ PAGE: | More details
In the "faq.htm" edit the text between the "FAQ 1" notes area for FAQ question #1. Edit only the question and answer text and do not delete any of the other code in this area. Edit or remove the other FAQ questions on this page.

Step 16:
EDIT PAGES: | Software choices | Notepad editing
Edit the text in all HTML pages with your website information. You can use Expression Web, Frontpage, Dreamweaver, any wysiwyg HTML editor or a text editor like Notepad. Take care not to delete any of the HTML tags that surround the text.

Step 17:
EDIT TITLES, DESCRIPTIONS AND KEYWORDS: | More details
Open each of the HTML pages and change the titles (at the very top of the page) and also the description and the keywords with your product or service details. You can edit one page and copy and paste to the other pages. Be careful to only change what's inside the "" so you don't disturb the html code. Page titles are important so your site will get a good listing at Google, Yahoo! and other search engines.

Step 18:
UPLOAD: | More details
Upload the pages on to your hosting company's server using ftp software or Windows Explorer or your control panel. Be sure to upload all template files and folders and all files inside the folders. You do not need to upload the "extras" folder.


 
The Media Queries Responsive Code
 
More details | MQs in this template control many parts of each webpage to conform for mobile and tablet. The responsive MQs css classes are located in the "media-queries.css" in the "colors" folder. Three stages are used for screen widths of 990, 740 and 482 pixels. As the browser width is made more narrow and each "stage" width threshold is reached, code defined in the "media-queries.css" will take effect changing the webpage layout. You can edit these sizes in the "media-queries.css" using any plain text editor.

The "media-queries.css" is for mobile and includes some of the same class names as the ".css" file in the "colors" folder to alter these classes as the browser width becomes more narrow.

When editing any font sizes in this template you will need to edit the class in the ".css" file in the "colors" folder, then edit the duplicate class(es) in the "media-queries.css" to setup the mobile font sizes. See responsive support details.

 
Options:
 

MENU EDITING: | More details
This template includes a responsive drop menu. You can edit the names of the links like "SERVICES" or "CONTACT" to other page names by editing the "menu.js". Only change the one instance of the name and not the name with the ".htm" after it unless you have also renamed the .htm page. Whatever you change in the "menu.js" will change every page on the website. Keep the names short so your menu does not get too wide. You can add more pages by copying one link in the "menu.js" and pasting it below itself. Be sure to back up your files before you edit them. Click link above for more details.

FOOTER MENU: The "menu-footer.js" also includes links you can edit. For this menu see standard menu editing support.

NOTE: If you use a ' in a .js file add a slash before it like this \'.

THE FIXED HEADER AND MENU: | More details
The fixed header and menu use a spacer to fill the space so the header and menu can float on the page. If you change the logo height, edit the text logo font sizes or padding in the header or menu, you will then need to adjust the "#header-fix-space" class in the ".css" file in the "colors" folder.

The header changes to a static header on mobile using the class #fixed-header in the "media-queries.css" in the 740 breakpoint section.

CHANGING THE TEMPLATE COLOR THEME: | More Details
Open the "colortheme.css" and edit 2 lines to change the color theme. One line for page colors, and one for the menu color. Available themes you can use are listed at the top of this file. Click link above for details.

EXAMPLE: edit only the "blue" in the code as shown below in 2 places to another color listed in the "colortheme.css":

@import url("colors/blue.css");
@import url("colors/blue-menu.css");

To change the color of the header icon images (black or white) edit "white" in the "header.js" in 2 places.

FONTS & CSS STYLES: | More details | Media Queries | Google Fonts
This template uses Google Fonts. The code that "calls" the font files is the first line in the color ".css" file in the "colors" folder (example: blue.css). Click above for details.

This template includes Media Queries css code. Edit font sizes in both the color ".css" file and the "media-queries.css" in the "colors" folder. Click above for details.

You can change your font colors and sizes by editing the ".css" color files with a text editor. You can find other font colors by clicking here. Change the font sizes in the ".css" color files. Change the class after the note "THE NEXT LINE CONTROLS THE FONT SIZE ON ALL PAGES" px size to change the font sizes or colors on all pages. Change the "title" px size to change all the title sizes. You may need to also edit the "media-queries.css" for mobile font sizes.

ADDING PAGES: | More details
You can add pages to your website by copying and pasting any one of the pages and renaming it to whatever you need. You can then add links from the other pages or even add the page to the menu by opening the menu.js and copying and pasting one of the buttons below another. There are notes in the "menu.js" to help you add a button.

WATERMARK SETUP: | More details
You can configure the placement of the watermark over the image closeup views in the Lytebox gallery by editing the "lytebox-JQ-??.css" color files in the "JQuery-lytebox" sub-folder inside the "jQuery" folder. In the "JQuery-lytebox" folder are 2 .png images called "watermark-desktop.png" (300 x 40 pixels) and "watermark-mobile.png" (200 x 27 pixels). You can replace these images with your own semi transparent .png images. You can resize the watermark images. Be sure to test for mobile.

Turn the watermark off at the bottom of the "lytebox-JQ.css" in the "jQuery/JQuery-lytebox" folder.

PICTURES: | More details
You can replace all pictures with your own. Hover over any image to view the size. You will find all non-gallery pictures in the "picts" folder.

PAGE HEIGHTS & WIDTHS:
So all your pages will maintain a standard height a "pageheight" class with a "min-height" is included. So all your pages will maintain a standard width a "pagewidth" class with a "max-width" is included. Edit these classes in the ".css" files in the "colors" folder.

SITE MAP PAGE:
The "site_map.htm" is linked from the index.html. It is best not to remove this link so search engines can find your site map and properly list all your pages when users search at major search engines.

PAYPAL SHOPPING CART SETUP (TYPE 2 FORMS):
Paypal shopping cart forms have been included in the 3 "FORMgallery1.htm" pages. Follow the steps below to setup the shopping cart page. This template includes "Type 2" Paypal forms.
  1. Setup a paypal merchant account.

  2. Move the 3 "gallery?.htm" pages into the "extras" folder.

  3. Optionally rename the 3 "FORMgallery?.htm" pages to "gallery?.htm" pages.

  4. Replace the gallery .jpg images as outlined in the step above.

  5. Edit the "paypal@your-web-domain.com" in the each of the 3 "FORMgallery?.htm" pages in 1 place near the bottom with your Paypal e-mail. This will update the view cart buttons.

  6. You will edit the "5290739" in each form in the "FORMgallery?.htm" pages with your generated product number. This will be the following code:

    <input type="hidden" name="hosted_button_id" value="5290739">

  7. Edit all forms as shown on the Paypal Type 2 Forms setup support page.

  8. Your optional return to merchant page is named: thanks-payment.htm.