# Relish

## Spa salon HTML Template

- Created: 04/29/2016
- Last Update: 04/29/2016
- By: Creative Web Solutions
- Email: support@creaws.com

Thank you for choosing our template. If you have any questions that are beyond the scope of this file, please feel free to contact us.

Please note: for questions on basic HTML, JavaScript or CSS editing - please give your question to Google or visit W3Schools. You will need some HTML/CSS knowledge to edit this template.

### HTML Structure

Relish has a fixed layout with up to 12 columns. All the information within the main content area is nested within a div. The general template structure is the same throughout the template as it uses the Bootstrap framework.

The multi column layout consists of the .col-md-(from 1 to 12) classes. See Bootstrap documentation here: http://getbootstrap.com/css/

If you would like to edit the color, font or style of any element on the site please find the element's class or ID and locate where it is being controlled in styles.css.

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 and make sure that there isn't a similar style that has more weight.

### CSS Files and Structure

We're using the following CSS files in this template. Those files also contain some general styling, such as anchor tag colors, font-sizes, etc. Keep in mind that these values might be overridden somewhere else in the files below:

1. styles.css - main css file (included reset styles);
2. bootstrap.css - Bootstrap css file;
3. font-awesome.css - FontAwesome icons stylesheet;
4. flaticon.css - Flaticon icons stylesheet;
5. owl.carousel.css - OWL carousel stylesheet;
6. jquery.fancybox.css - FancyBox plugin styles;

At first glance, the CSS may look confusing, let me explain each below:

Main CSS Files

- styles.css - This is the main CSS file that controls nearly everything on the site. This stylesheet is full of different color styles.
- bootstrap.css - Bootstrap CSS, you don't need to edit this file
- fancybox.css - FancyBox CSS, you don't need to edit this file

styles.css file contains specific stylings for the page. The file is separated into sections using:

    ## GENERAL
        ## reset
        ## defaults
    ## LAYOUT
        ## list
        ## dividers
        ## breadcrumb
        ## promo
    ## HOME SECTIONS
        ## top panel
        ## section background
        ## home content
    ## MAIN MENU
        ## menu styles
        ## sticky styles
        ## submenu
        ## submenu mega
        ## mobile menu
    ## BANNERS
    ## BUTTONS
    ## FEATURES ITEM
    ## OWL CAROUSEL
        ## navigation styles
        ## dots styles
    ## SLIDER REVOLUTION
    ## SHOP
        ## shop slider
        ## shop checkout
    ## FOOTER
        ## top footer
        ## bottom footer
    ## NEWS
    ## ACCORDION
    ## TOGGLE
    ## TABS
    ## PROGRESS BARS
    ## PROCEDURE
    ## PRICING TABLE
    ## GIFTS
    ## SERVICES
    ## EXPERTS
    ## FILTER
    ## PORTFOLIO
        ## portfolio grid
        ## portfolio styles
    ## BLOG
    ## PAGINATION
    ## WIDGET
        ## widget default
        ## widget search
        ## widget categories
        ## widget post
        ## widget comments
        ## widget archives
        ## widget gallery
        ## widget twitter
        ## widget tag
        ## widget meta
        ## widget price slider
        ## widget cart
        ## widget banner
        ## widget selers
        ## widget video
        ## widget calendar
        ## widget big gallery
        ## widget form
        ## widget sidbar navigation & widget page
    ## FORM FIELDS
    ## CONTACTS
    ## GOOGLE MAP
    ## ALERT BOXES
    ## SCROLL TOP
    ## PRELOADER
    ## BOXED STYLE
    ## COLORPICKER
    ## MEDIA SCREEN

### Template customization

#### Layout type:

Relish supports wide or boxed layout. Wide layout is applied by default. To activate the boxed one, locate the "body" tag and add the "boxed" class, so that your new HTML code would look like this:

     <body class="boxed">

Apply the above steps to every HTML page you need.

#### Color scheme:

1. With the help of Style Switcher (see demo site) choose a suitable color scheme for your website section. Let's choose the color #A560D9 as example.
2. To apply this color you need to replace all the instances of "#00e7b4" with "#A560D9" located in styles.css file (with sublime or notepad it takes less then a second). Don't forget to save the changes.
3. That's all, your new color scheme is setup and applied to all html files! The same steps should be done to change any other template color.

#### Image Slider:

Our template uses a very powerful Revolution Slider plugin. The slider's documentation may be found here.

#### Typography:

1. Select a suitable font for your main menu or content. (for example we can choose any font from google fonts: http://www.google.com/webfonts#ChoosePlace:select)
2. Let's choose Happy Monkey font as example.
3. All you need is to import the font at the beginning of the styles.css file:

       @import url(http://fonts.googleapis.com/css?family=Happy+Monkey);

   and edit the according class or ID.
   In case of changing the menu text font, we need to find and replace font-family here:

       .inner-nav ul li a, .inner-nav ul li .search-menu {
           font-family: 'Lato', sans-serif;
           height: 80px;
           line-height: 80px;
           display: inline-block;
           text-decoration: none;
           -webkit-transition: all 0.3s;
           -moz-transition: all 0.3s;
           -o-transition: all 0.3s;
           -ms-transition: all 0.3s;
           transition: all 0.3s;
           cursor: pointer;
       }

   Add font family 'Lato' with 'Happy Monkey' in the above code.
   The same steps we should take to change all other fonts;

#### Email setup for contact form:

1. Our PressView template includes working contact form. To change the email address so that all the messages would come to your email you'll need to edit just one file called "contacts-process.php" at line #9 which is located in the "php" folder:

               $ourMail = "your_email@mail.com";

   so, instead of "your_email@mail.com" just input your email address and upload the file to your host. That's all! The contact form, widget and signup page will send all inquiries to your email address.

#### Twitter setup:

1. Now we're ready to go forward and edit the Twitter user ID.

   1. First you will need to create a twitter developer account (if you don't have one). Note: this account is not the one you are retrieving status updates (tweets) from.

   2. Open http://apps.twitter.com and login with your developer account.

   3. Move your mouse to your avatar (the right top corner) and click "My Applications".

   4. Click "Create a new application" and enter the necessary information.

   5. Once your Application has been created, click on "Create my access token" at the bottom of the "Details" tab.

   Please note: there's a nice article showing all the above steps with screenshots: http://bit.ly/1dc3veA. So, it might be helpful if you find the above steps a little complex.

   6. Now, when you have all the keys and tokens necessary for using the Twitter plugin, open the "script.js" file (located in the "js" folder) and find the twitter section. You will find a twitter block, which contains the Twitter ID. Just replace the "username:ID" with your twitter ID. Next edit the "php\twitter\index.php" file and edit the "config" section filling in the following fields: $consumer_key, $consumer_secret, $user_token, $user_secret with your own twitter access keys.

   Be careful while setting up the above keys and tokens. Wrong values might block the whole script.js file which is used throughout the whole template.

   Please don't forget to upload the "index.php" file to your host after you save all changes.

#### Google Map setup:

Google Map setup is a very easy process.

All you have to do is to edit the map address in the code bellow (which is usually located on the page where the map is shown):

That's all, your google map is setup and ready to use!

### JavaScript

This template imports the following Javascript files. You can get more script info when clicking the appropriate link:

1. script.js - main js file.
2. jquery.fancybox.pack.js. Refer to the author's documentation for additional notes on how to use it.
3. jquery.isotope.min.js Refer to the author's documentation for additional notes on how to use it.
4. owl.carousel.js Refer to the author's documentation for additional notes on how to use it.
5. jquery.ui libraries Refer to the author's documentation for additional notes on how to use it.
6. jquery.min.js Refer to the author's documentation for additional notes on how to use it.

### PSD Files

We've included some PSD files to make the re-design process a bit easier.

Please check the PSD folder for all included PSD files.

### Credits

We've used the following images, icons and other resources as listed.

- Flaticon library - Free Vector Icons - http://www.flaticon.com/
- FancyBox - jQuery Plugin - http://fancyapps.com
- jQuery - www.jquery.com
- Maps - Maps.Google.com used in live demo