image

Homepage
Allwebco Design
Allwebco Templates
Allwebco Hosting
Square Peach Music


Allwebco Design
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". See MQs section below and also check the support details.
 
Important: MQs in this template affect the menu: When the MQs kick-in, the menu will "stack" the menu tabs. 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 40 points "AvantGarde Bk BT". The logo width is set by the ".logo-respond" class in the "style.css".

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

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.

Step 6:
EDIT CONTACT PAGE LOCATION MAPS | More details
This template includes a text location link, a map window and a get directions form. Click link above to setup these 3 areas.

Step 7:
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 style.css), 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" folder. Use colors listed at the top of the "lytebox-JQ.css". See section below for watermark help.

Step 8:
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 700 x 467 pixels in size.

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. In the "slideshows" folder edit the 4 "thumb-slideshow-?.jpg" images with each slideshow 1st thumbnail. Edit the text on the "slideshow-home.htm".

Step 9:
SETUP THE VIDEO PAGES: | More details
This template uses embedded 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="http://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 4 "videothumb-?.jpg" images with each video thumbnail. Edit the text on the "video-home.htm".

Step 10:
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" folder. Make backups.

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

Step 12:
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 13:
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 14:
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 15:
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 16:
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 17:
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". Three stages are used for screen widths of 890, 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 "style.css" 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 "style.css", 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 \'.

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.

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 "style.css". Click above for details.

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

You can change your font colors and sizes by editing the "style.css" with a text editor. You can find other font colors by clicking here. Change the font sizes in the "style.css" file. 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.

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" 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-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 pictures in the "picts" folder.

PAGE HEIGHTS:
So all your pages will maintain a standard height a "pageheight" class with a "min-height" is included. Edit this height in the "style.css".

PAGE WIDTHS:
So all your pages will maintain a standard width, classes are included in the "style.css". See classes "#pagewrapper" and "#contentbox".

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.