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
- If you will be using the default homepage (index.html), move the "OPTIONAL-Home.htm" and "No-Animation-Home-sample.htm" into the extras folder. Skip to the next step.
- If you would like to use the OPTIONAL-Home.htm as your homepage, move the "index.html" and "No-Animation-Home-sample.htm" into the extras folder. Rename the "OPTIONAL-Home.htm" page to "index.html".
- To use the no animation homepage, move the "index.html" and "OPTIONAL-Home.htm" into the "extras" folder. Rename the "No-Animation-Home-sample.htm" 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 38 point "Geometr706 Md BT" with a letter spacing of -2. The logo width is set by the ".logo-respond" class in the ".css" file in the "colors" folder. The "logo.png" is 600 x 80 pixels.
To use a different image type like a .jpg or .gif, edit the "header.js" and change the "logo.png" on about line #31.
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.
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.
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.
ADA COMPLIANCE NOTES: If you add new form elements be sure to also edit the "label" tag with the form element name.
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:
REPLACE HOMEPAGE SLIDESHOW IMAGES (optional): |
More details
The homepage (index.html) includes a jQuery responsive slideshow application. In the "picts" folder replace 5 images, "home-1.jpg" through "home-5.jpg". Make your images 1400 x 560 pixels (you can optionally make them any size). This will update the homepage animation. Click the link above for details and options.
Edit the slideshow layered text in the "index.html". Make a backup of this page before you start editing. The layered text hides on mobile using css in the "media-queries.css".
The colors for the next/prev buttons and other home slideshow, and slideshow sets, elements can be edited in the .css color file in the colors folder. Also edit the layered text css styles in this file.
Step 8:
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.
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 9:
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.
Social icon colors can be edited in the .css color file in the colors folder. There is a class for each individual icon.
Step 10:
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 11:
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 12:
EDIT CALENDAR PAGE: |
More details
Edit the "calendar.htm" like any other HTML page.
Click for options.
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:
SLIDESHOWS SETUP: |
More Details
Replace the images in the "slideshows" folder with your images. Each image is named for what slideshow page it is used on. Example: Image "Fslide1-1.jpg" is for slideshow 1 image 1, "Fslide3-4.jpg" is for slideshow 3 image 4. Slideshow images are 900 x 600 pixels in size.
To edit the slideshow width, edit the ".slideshow-sets" class in the .css color theme file you are using in the "colors" folder. The slideshows use a "responsive" jQuery script located in the "jQuery" folder.
You can add and remove images in the slideshow 1-4 .htm pages. Click link above for details and options for the responsive slideshows.
SETUP "slideshow-home.htm" PAGE: This page is an index of your slideshows. Edit this page like any other .htm page. The thumbnails displayed on this page are the first slide in each slideshow.
Step 15:
SETUP THE VIDEO PAGES: |
More details
This template uses embedded responsive YouTube video. Setup a free YouTube account, get the embed code from each video and replace the code in each video page. 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="https://www.youtube.com/embed/
6tQR8HIOU1g?rel=0
&autoplay=1&loop=0&wmode=opaque"
SETUP THE "video-home.htm" PAGE: This page is an index of your videos. In the "picts" folder edit the 6 "videothumb-?.jpg" images with each video thumbnail. Edit the text on the "video-home.htm".
Step 16:
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 17:
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 18:
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 19:
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.
OTHER MENUS: This template includes the following menus. See
standard menu editing support.
menu-footer.js
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 "white" in the code as shown below in 2 places to another color listed in the "colortheme.css":
@import url("colors/white.css");
@import url("colors/white-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 is setup with ADA compliant fonts. If you edit the following in the .css color file in the colors folder, this will alter all fonts. Note that this is set to medium. For example to go a little larger you can edit this to something like 1.01em or 101%.
body, div, table {
color: #000000;
font-family: "Roboto", arial, sans-serif;
font-size: medium;
font-weight: 400;
line-height: 160%;
}
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: white.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"
medium size to change the font sizes or colors on all pages. Change the "title"
em 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.
PICTURES: |
More details
You can replace all pictures with your own. Hover over any image to view the size. You will find all non-slideshow 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.
ADA COMPLIANCE NOTES:
This template has some elements of ADA compliance including image alt tags, labels for all form elements and compliant font sizes. Most ADA compliance is added once the theme or business is setup in the HTML pages. Search Google for more info on ADA compliance.