Theme Name: Tejarat - Multipurpose Business & Corporate HTML Template
Author: AazzTech
Author URI: http://aazztech.com
Created: 31-Jan-2019
Version: 1.0.2
License: © AazzTech
BIG THANKS for purchasing this template, your support is truly appreciated! This document covers the installation and use of this template and often reveals answers to common problems and issues - read this document thoroughly if you are experiencing any difficulties. If you have any questions that are beyond the scope of this document, Please feel free to contact with our dedicated Support team via contact@aazztech.com
Tejarat is multipurpose business, agency HTML template built with Bootstrap 4. Clean professional design and a huge number of shortcode elements are the main features of Tejarat. We've developed it using latest trend-tools and best practices to leverage the development time and complexity also to ease customization process. We've used configurable SCSS for more control over templates style and layout. We structured it such a way that user can easily compose a new page using our component and customize it without too much hassle.
After unzip the download pack, you'll find a Template Folder ( Tejarat ) with all the files. You can view this Template in any browser, you can display or edit the Template without an internet connection.
Now open your FTP Client (like Filezilla) and upload the content of the Template on your server root. Once the files are done uploading go to www.yourdomainname.com/index.html
├── src
│ ├── img/
│ ├── maps ( contains the sourcemap files of scss )
│ ├── vendor_assets (third party plugins ans assets)
│ │ ├── css
│ │ │ ├── bootstrap
│ │ │ ├── config.bs.scss (This file controls the style configuration of the entire theme)
│ │ ├── js
│ │ ├── Fonts
│ │
│ ├── theme_assets (Themes own assets)
│ │ ├── sass (This directry contains all the styles of this theme)
│ │ ├── js (Custom script and initialization)
│
├── .gitignore
├── gulpfile.js
├── package.json
├── package-lock.json
This Template has a Responsive layout and is based on the Bootstrap Framework. For more information about this visit Bootstrap Scaffolding.
All the files and folders are organized appropriately. These files are essential for proper working of the template. You can make changes in the files as shown below in this document but please don't alter the file structure, that is, don't remove or move any files from css, js and images folder unless instructed in this document.
please change mata tag content name description, author, summary, Classification to improve your SEO :)
Gulp requires node to run. And it usages npm packages to perform different task, So install node and npm first.Please fllow the guide
1.Installing node>Go to https://nodejs.org/en/ and download the appropriate version for you OS.
2.Installing Gulp> go to command and run npm install -g gulp it will install gulp globally
> Now navigate to the Tejarat folder and run npm install, it will install
all the dependecies
Instead of overriding Bootstraps components. We have made it compatible with theme using Bootstraps native scss varibles.
and it's recommended by Bootstrap. This way we are able to manage leveraging decent ammount of css , as there is no overriding.
And we made it centrally configurable with config.bs.scss file in vendor_assets/css/bootstrap/ directory
This file contains and controls all the Bootstraps default components.It also contains the color scheme, font, spacing and other common staff.If you want customize anything of Bootstrap, you can literally do it here by overriding bootstrap varibles.
2.Where and to find and how to customize Bootstraps SCSS variablesGo to vendor_assets/css/bootstrap/scss/_variables.scss and search for the variable or component name.
Evey components configurable property will be avaible in this file. You can just copy the variable form there and paste it in config.bs.scss removing the default flag and assigning a new value. For Example, here I've redefined color scheme for this theme:
Gulp is amazing tools for task automation. It automates time-consuming tiresome task for you. It helps keep the concentration on actual work by taking care of many redundant and boring task such as sass compilation, css compression, js/css injection etc. Different version generation. IE (build, dist etc)
> gulp build
this command will take the html, css, js, fonts from the src/ directory to build/ with optimizing the images,
cmpiling the sass, minimizing the css and js file. ready to upload
> gulp build:optimize
this command will take the html, css, js, fonts from the src/ directory to dist/ with optimizing the images,
cmpiling the scss, minimizing the css and js file. Difference between build and build:optimize is on build:optimize command the
css and js files compress into 4 files only. 2 js ile and 2 css file and injected into html files. for better performance
> gulp serve
gulp serve command is handy during development, cause it takes the index.html file from src/ directory and
opens in the browser at localhost:3000/
> gulp rtl
gulp rtl command generate an rtl version of sytle.css and bootstarp.css files. Use this command after adding or editing codes to regenerate those file again if necessary.
> gulp
Gulp command is equivlent to gulp default it runs the default task that has been assigned to it.
In this particular project Gulp serves the project in the browser, watches for sass,css,js,html changes and synchronizes
and excutes task associated with it.
Important note: For better image optimization, We used Tinypng
api based gulp-tinypng-compress package. It requires a API key to perform the task. Please replace the api key with your own API key
like shown in the image below
to get the api key please vist this link https://tinypng.com/developers. Sign up with you email and get the api key from here https://tinypng.com/dashboard/developers
To update your map location please add your map location Longitude and Longitude. to do that go to theme_assets/js/map.js
and change the lat lang of with your desired location lat-lang.
and update
It's easy to add RTL support to your website. Read this section Theming & BS4 compatibility to know how to generate RTL css. We have already generated rtl version of syle.css and bootstrap.css files. Just link those files in place of these (syle.css and bootstrap.css) files. Do not use both version of code at the same time.