Welcome to StayFit - MultiPurpose Responsive Magento 2 Theme!

We would like to thank you for purchasing StayFit Magento 2 Theme! We are very pleased you have chosen StayFit Magento 2 Theme for your website, you will be never disappointed! Before you get started, please be sure to always check out this documentation.


Compatible with Magento:

StayFit is fully compatible Magento Community Edition 2.1.x, 2.2.x


Magento 2 Help:

System Requirements

Installation Guide

Online Magento 2 guide

Magento Forum

magento.stackexchange.com

HiddenTechies Blog

StayFit is a clean code and rich feature Magento 2 theme for any Ecommerce store like Fashion Store, Accessories Store, Shoes Store, Apparel Store.

This Magento 2 theme has advanced features which will make your website becomes more professional with clean and classy layouts. It is fully responsive and looks stunning on all types of screens and devices.

Key Features

  • Magento 2.0 Ready!
  • Fully Responsive
  • Touch Optimized Slideshow
  • Cross Browser Compatibility
  • Featured Product List
  • Off Canvas Menu
  • Powerful Admin Panel
  • Auto Install Demo Content
  • Avoid Javascript Confliction
  • No Core Modifications
  • Easy Use and Easy Customize
  • Well-structured and commented code for easy customization

Unleash your creativity and build something amazing with StayFit - MultiPurpose Responsive Magento 2 Theme

To install the Magento 2 follow the instructions below:


1. Create an empty database with correct permissions in phpmyadmin.

2. Enter your Magento 2 url in browser and hit Enter.

Magento 2 Installation

3. Click on "Agree and Setup Magento".

Magento 2 Installation

4. Now Magento 2 will check your environment for readiness for the setup. Click on "Start readiness check".

Magento 2 Installation

4.1. If you pass all the checks, you can continue. Have you not, you must fix the error to continue. The 2 most often errors are php Settings Check and php Extensions Check.

Magento 2 Installation

PHP Settings Check: always_populate_raw_post_data error. To resolve this error, you need to access php.ini file. Using XAMPP, open this file like that:

PHP Settings Check: Search this line: always_populate_raw_post_data = -1 Make sure the number is -1, then remove the semicolon “;? at the beginning of the lines.

PHP Extensions Check: The usual missing extensions are xsl and intl. To resolve this, search extension=php_intl.dll as well as extension=php_xsl.dll, then both remove the beginning semicolon “;?.


Note: Now you need to stop both Apache and MySQL in XAMPP, then restart them again for new effects to be activated and resolved. Click Try Again in localhost for new result, after checking, hit Next.


5. Now enter Empty database that you created previously, where you want to install Magento2.

Magento 2 Installation

6. Click Next, now you will be asked for web configurations like store url, admin url, Apache rewrites, https options.


7. Click Next, now you can select Timezone, Currency and language in "Customize Your Store" section.

Magento 2 Installation

8. Click Next, Enter Admin username, email and password to setup Admin credentials.

Magento 2 Installation

9. Now Magento 2 is ready to be installed on localhost. Click on "Install Now". Don’t close your browser until setup is done.

Magento 2 Installation Magento 2 Installation

10. After the installer has completed the setup, it will show Success page.

Magento 2 Installation

10. Open Magento Admin panel, enter your admin credentials given at the time of setup.

Magento 2 Installation

To install the theme follow the instructions below:


Prepare Installation

We recommend you to duplicate your live store on a development store and try installation on it in advance.

Backup Magento files and the store database.

Disable all cache related section that you have in your Magento.


Theme Installation

1. Download theme package from your my account page

2. Copy(upload) files and folders from theme archive to your Magento 2 root directory

3. In command line, using "cd", navigate to your Magento 2 root directory

4. Run below commands

  • php bin/magento setup:upgrade
  • php bin/magento setup:static-content:deploy -f

5. Flush store cache and log out from the backend and log in again to see changes./p>

6. Your theme is now installed and ready for work.

7. Select your HiddenTechies StayFit theme in Content > Design > Configuration page for Magento 2.1.x, 2.2.x version.

Step 1 StayFit - MultiPurpose Responsive Magento 2 Theme Settings
Step 2 StayFit - MultiPurpose Responsive Magento 2 Theme Settings
Step 3 StayFit - MultiPurpose Responsive Magento 2 Theme Settings

Note: Once you done with the theme selection than save settings and clear cache.

StayFit provides very easy one click demo installation.

In order to do demo installation, first you should import CMS Pages and Static Blocks.

To Import CMS Page and Static Blocks, follow the steps.

Step 1: Now go to StayFit > Theme Configuration > Installation.

Step 2: If you want to import page and blocks for specific demo then select the "Demo Version" or select "All" to install all page and blocks.

StayFit - Select Demo Version

After selecting Demo Version, click on  Save Config  button.

Step 3: If you want to override existing CMS Pages and Static Blocks, then select "Yes" for "Overwrite Existing Blocks" and "Overwrite Existing Pages".

StayFit - Import Static Blocks and CMS Pages

Now click on  Save Config  button.

Step 4:

Now Click  Import Static Blocks  to import all Static Blocks.

And click  Import CMS Pages  to import all CMS Pages.

Step 5: Click  Demo X  button to install demo version that you prefer to install.

StayFit - Import Static Blocks and CMS Pages

Next to that flush the cache.

Note: After demo import do not save the config. First flush the cache.

If you need to customize the theme, we recommend you to create the child theme.

How To Create A Child Theme?

StayFit - Child Theme

Below steps define how to create a Magento 2 child theme.

For StayFit Theme

Vendor name: Hiddentechies

Parent Theme name: atmag014

Step 1: Create child theme folder named as {parent-theme-name}_child in the below folder path.

"app/design/frontend/{theme-vendor-name}/{parent-theme-name}_child"

Ex: Magento root folder/app/design/frontend/Hiddentechies/atmag014_child

Step 2: Create file theme.xml inside the child theme.


<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
    <title>Hiddentechies StayFit Child</title>
    <parent>Hiddentechies/atmag014</parent>
    <media>
        <preview_image>media/preview.jpg</preview_image>
    </media>
</theme>

                    

Step 3: Create a registration.php file for registering your child theme.


<?php

\Magento\Framework\Component\ComponentRegistrar::register(
    \Magento\Framework\Component\ComponentRegistrar::THEME,
    'frontend/Hiddentechies/atmag014_child',
    __DIR__
);

                    

Step 4: Create composer.json.


{
    "name": "hiddentechies/theme-frontend-atmag014-child",
    "description": "N/A",
    "require": {
        "php": "~5.6.5|7.0.2|7.0.4|~7.0.6",
        "magento/theme-frontend-blank": "100.1.*",
        "magento/framework": "100.1.*"
    },
    "type": "magento2-theme",
    "version": "100.1.3",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "autoload": {
        "files": [
            "registration.php"
        ]
    }
}

                    

Step 5:

Add preview.jpg in "app/design/frontend/Hiddentechies/atmag014_child/media" folder.

Add view.xml in "app/design/frontend/Hiddentechies/atmag014_child/etc" folder.

You can copy both file and image from parent theme.

How To Use A Child Theme?

Go to Admin > Content > Design > Configuration

StayFit - Use Child Theme

Now click on "Edit"

StayFit - Use Child Theme

Choose the child theme(Hiddentechies StayFit Child) from dropdown menu.

StayFit - Use Child Theme

And click on  Save Configuration  button.

Homepage Content Configuration

How to select or change a Homepage?

In order to select or change Homepage, Go to Admin > Store > Configuration > General > Web > Default Pages tab, choose the page in CMS Home Page field.

StayFit - Select Or Change Homepage

And click on  Save Config  button.

How to edit Homepage content?

Homepage content structure.

StayFit - Homepage Content Structure

In our StayFit theme, you can add content from 2 places.

1. From CMS Homepage, go to Content > Elements > Page, open and edit active home page. Content can be found in the main field of the Content tab.

2. From Static Blocks, go to Content > Elements > Blocks.

StayFit theme have configuration options to add content Above CMS Page content and Below CMS Page content on home page.

Demo of StayFit theme contains above and below static blocks.

i.e StayFit demo contains "Home Gym & Spa Content Block (Above main content)" and "Home Gym & Spa Content Block (Below main content)."

StayFit - Homepage Static Blocks

StayFit theme contains config options to set content blocks for home page.

Go to Admin > Stores > Configuration > Hiddentechies - StayFit > Theme Configuration > Content Blocks

StayFit - Homepage Content Options

Home Content Block Above: Set static block identifier to display content above the CMS Page content on home page.

Home Content Block Below: Set static block identifier to display content below the CMS Page content on home page.

How to edit homepage slider?

To edit home page slider, please go to Admin > Content > Elements > Blocks and select the necessary static block(Home Gym & Spa Slider).

StayFit theme contains one static block for slider.

1. Home Gym & Spa Slider

You can add the slider block code into the cms content field like below.

                        
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="atmag014_home_gym_spa_slider"}}
                        
                    
StayFit - Home StayFit Slider
How to show "Popular Products" in homepage?

Add "Popular Products"

To add featured(popular) products on home page, you need to add product widget in home page.

In order to add widget follow the below steps.

Step 1: Go to edit CMS home page or static block that displays content on home page.

Step 2: Click on  Insert Widget...  button and select the widget type "Catalog Products List".

StayFit - Homepage Insert Widget StayFit - Homepage Select Fatured Product Widget

Step 3: Add necessary details.

Title: Add title.

Number of Products to Display: Add how many products you want to display in widget.

Enable Slider ?: If yes, it will enable slider.

Conditions: Select "Is Featured" to "Yes". (Note: You need to select "Is Featured" attribute "Yes" in the products.)

StayFit - Homepage Insert Featured Product Widget

And click on  Insert Widget  button.

Or you can add the block code into the cms content field like below.

                        
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Popular Products" show_pager="0" products_count="8" template="Hiddentechies_Productlayoutmanager::product/widget/content/grid.phtml" enable_slider="0" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`all`,`value`:`1`,`new_child`:``^],`1--1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`is_featured`,`operator`:`==`,`value`:`1`^]^]"}}
                        
                    
StayFit - Homepag Featured Product Widget
How to show latest(new) products in homepage?

Add New Products

To add new products on home page, you need to add new product's widget in home page.

In order to add widget follow the below steps.

Step 1: Go to edit CMS home page or static block that displays content on home page.

Step 2: Click on  Insert Widget...  button and select the widget type "Catalog New Products List".

StayFit - Homepage Insert Widget StayFit - Homepage Select New Product Widget

Step 3: Add necessary details.

Number of Products to Display: Add how many products you want to display in widget.

Enable Slider ?: If yes, it will enable slider.

StayFit - Homepage Insert New Product Widget

And click on  Insert Widget  button.

Or you can add the block code into the cms content field like below.

                        
{{widget type="Magento\Catalog\Block\Product\Widget\NewWidget" display_type="all_products" show_pager="0" products_count="8" template="Hiddentechies_Productlayoutmanager::product/widget/new/content/new_grid.phtml" enable_slider="1"}}
                        
                    
StayFit - Homepage New Product Widget
Blog Posts Block

To edit this block, go to Admin > Content > Elements > Blocks and edit "Home Gym & Spa Blogs Block".

To add latest news block, use below code into the cms content field.

                        
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="atmag014_home_gym_spa_blogs"}}
                        
                    
StayFit - Homepage StayFit Blogs
Testimonials Block

To edit this block, go to Admin > Content > Elements > Blocks and edit "Home Gym & Spa Testimonials Block".

To add testimonials block, use below code into the cms content field.

                        
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="atmag014_home_gym_spa_testimonials"}}
                        
                    
StayFit - Home StayFit Testimonials
Shop By Brand Block

To edit this block, go to Admin > Content > Elements > Blocks and edit "Home Gym & Spa Brands Block".

To add brands block, use below code into the cms content field.

                        
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="atmag014_home_gym_spa_brands"}}
                        
                    
StayFit - Homepage Brands
Other Content Blocks

1. To edit below block, go to Admin > Content > Elements > Blocks and edit "Home Services Block".

To add, use below code into the cms content field.

                        
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="atmag014_home_services"}}
                        
                    
StayFit - Home StayFit Promotion Block

2. To edit below block, go to Admin > Content > Elements > Blocks and edit "Home Gym & Spa Promotion Block".

To add, use below code into the cms content field.

                        
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="atmag014_home_gym_spa_promotion"}}
                        
                    
StayFit - Home StayFit Promotion Block

How to change Logo?

Go to Admin > Content > Design > Configuration > Edit your theme > Header Tab

Logo Image: Upload your logo.

Logo Attribute Width: Add logo width.

Logo Attribute Height: Add logo height.

Welcome Text: Welcome texts in header.

Logo Image Alt: Logo Alt texts. It will display if in case logo image is not found.

StayFit - Change Logo

Click on  Save Configuration  button.

How to change Favicon?

Go to Admin > Content > Design > Configuration > Edit your theme > HTML Head Tab

Favicon Icon: Upload your favicon icon with one of below file types.

Allowed file types: ico, png, gif, jpg, jpeg, apng.

StayFit - Change Favicon

Click on  Save Configuration  button.

Megamenu Configuration

StayFit theme comes with advanced mega menu. Please read detailed instructions to use menu as per our demo site.

Megamenu Settings

Plase Go to Admin > StayFit > Header Manager > Configuration

StayFit - Menu Configuration

1. Set/Change the header type.

2. Enable/Disable sticky menu.

3. Enable/Disable home link and you can also display icon for home link.

4. Set default menu type for all menu items.

5. Show custom links in your menu. You can add the custom url, other external url and CMS page url. You can also show the Static block content in menu dropdown.

6. Show category labels such as "New", "Hot!", "Sale" as our demo site.

How to add menu with Full-Width mega menu?

Follow the steps.

Step 1: Add new category and its sub-categories for downdown content.

Step 2: Now select the 1st level category. And expand the "Mega Menu" tab.

StayFit - Full-Width Menu

Step 3:

Set the "Menu Style" Full Width.

Set the "Sub Category Columns" to display number of sub category columns in downdown. For ex, 4 Columns.

How to add menu with Static Width mega menu?

Follow the steps.

Step 1: Add new category and its sub-categories for downdown content.

Step 2: Now select the 1st level category. And expand the "Mega Menu" tab.

StayFit - Static-Width Menu

Step 3:

Set the "Menu Style" Static Width.

Set "Static Width" for the static width mega menu as your requirement. For ex, 600px.

Set the "Sub Category Columns" to display number of sub category columns in downdown. For ex, 3 Columns.

How to add menu with Classic dropdown menu?

Follow the steps.

Step 1: Add new category and its sub-categories for downdown content.

Step 2: Now select the 1st level category. And expand the "Mega Menu" tab.

StayFit - Classic Menu

Step 3:

Set the "Menu Style" Classic.

How to add static content or image in mega menu?

You can also add the custom content like text or images in menu downdown. The possible options are Header Block, Left Block, Right Block and Footer Block of the link's columns.

StayFit - Menu Add Custom Blocks

You can set with for Left and Right blocks. Set Block Width that you prefer to add image or custom content as right/left of the columns. For example, set 4/12 (means it will take 4 columns area from 12 columns).

StayFit theme provides advanced and most powerful "Footer Manager".

Footer Settings

Plase Go to Admin > StayFit > Footer Manager > Configuration

General Settings
StayFit - Footer General Config

1. Enable/Disable footer.

2. Set your footer style.

Footer Layout Settings
StayFit - Footer Layout Config

Footer Top

You can Enable/Disable footer top section.

You can add footer top section with two possible ways.

1. Newsletter Block

StayFit - Footer Top Mewsletter

2. Add Static Block

StayFit - Footer Top Static Block

Footer Columns

StayFit - Footer Columns

Enable/Disable footer columns block.

The possible options to add content or links in footer columns.

1. Newsletter: Display newsletter form.

2. Quickliks: Display magento 2 default links.

3. Static Block: Display Static Block content/links in footer column.

3. None: Hide column.

You can set necessary footer width for each column. For example,if you set 3/12 (means it will take 3 columns area from 12 columns).

Frontend

StayFit - Footer Columns Frontend

Footer Columns Above and Below

StayFit - Footer Columns Below

Static Block (below columns)Add the static block identifier to display static content below the footer columns section.

Footer Newsletter (In Columns)

StayFit - Footer Newsletter (In Columns)

Add newsletter block title and text for newsletter block display in footer column.

Footer Bottom

StayFit - Footer Bottom

Enable/Disable footer bottom.

Adds copyright texts.

Add static block identifier to display static content right to the text.

Installation
StayFit - Footer Installation

Choose the footer demo version for which you want to import the static blocks.

After selecting "Demo Version", Save the config.

If you want to override existing static blocks then select "Overwrite Existing Blocks" to "Yes". And save the config.

Click on  Import Static Block button to import static blocks.

Click  Demo X  button to install footer demo version that you prefer to install.

Go to Admin > StayFit > Product Manager > Configuration > Product List tab

StayFit - Category Page Configuration

Go to Admin > StayFit > Product Manager > Configuration > Product View tab

StayFit - Product Page Configuration

StayFit is equipped with administrative module which gives you the ability to configure most of the functionality in powerful admin panel. Using this powerful settings panel, you can configure your store easily without any coding.

Go to Admin > StayFit > Theme Manager > Configuration

Theme Layout
StayFit - Theme Layout

Boxed/Wide: You can choose boxed or wide layout of entire store. You can also set background color or image for boxed layout.

Maximum Page Width: You can choose your preferable max-width from two possible options. 1170px and 1280px.

Contact Info
StayFit - Contact Info

Show your store contact info on Contact Us page.

You can also show content from static blocks on contact page.

Add static block identifier in "Custom Static Block Top" and "Custom Static Block Bottom" filed to show static block content above and below to contact form.

Google Map
StayFit - Google Map

You can enable/disable google map in Contact Us page.

Add Google Map api key, store address, latitude and longitude value of your store position and set zoom value to configure the map.

Note: You can get an API key from https://developers.google.com/maps/documentation/javascript/get-api-key

Add This (Socials)
StayFit - Add This (Socials)

You can enable/disable "Add This" socials.

Add "Add This" Pub Id.

Note: You will get pub id from http://www.addthis.com

Scroll To Top
StayFit - Scroll To Top

You can enable/disable scroll to top button.

Newsletter Popup
StayFit - Newsletter

Enable Newsletter Popup: Enable/Disable newsltter popup.

Display Only On Home Page?: If "Yes", then newsletter popup display only on home page.

Popup Delay(in miliseconds): Set popup initialization delay. For example, 500.

Newsletter Title/Text: Add title and text for popup.

Popup Image: Upload the image to show image in popup.

Popup Height/Width: Set popup height and width. For example, 750px.

Popup Backgroud Color: Set popup background color.

Popup Background Image: Set popup background image.

Custom Style: Add Custom CSS for popup and its content.

Custom CSS
StayFit - Custom CSS

You can put your own CSS styles without touching theme files.

StayFit theme also provides options to add CSS global and device wise.

Custom JS
StayFit - Custom CSS

You can put your own js scripts without touching theme files.

StayFit theme provides rich design configuration options to configure visual appearance of your store. You can change any colors for each elements by using color pickers or by specifying color value manually.

Go to Admin > StayFit > Theme Manager > Design Configuration

Basic

In this section you can set color values of general elements like theme main color, text, link and primary button etc.

Refer below screenshot. it will make you easy to understand.

StayFit - Basic Color Config
Header

In this section you can set color values for each elements inside header area in detail.

Refer below screenshot. it will make you easy to understand.

StayFit - Header Color Config
Topmenu

In this section you can set color values for each elements in menu area in detail.

Refer below screenshot. it will make you easy to understand.

StayFit - Topmenu Color Config
Footer

In this section you can set color values for each elements inside footer area in detail.

Refer below screenshot. it will make you easy to understand.

StayFit - Footer Color Config
Scroll to Top

In this section you can set color values for scroll top top link.

Refer below screenshot. it will make you easy to understand.

StayFit - Scroll top Top Color Config

Please, if you have any questions, run into any issues or just need some help, do not hesitate to contact us via our Support Center.
We believe in providing the best support possible, and we monitor our Support center just about 24/7.

Your feedback is absolutely welcome!

//