Recompiling will overwrite your all changes!
When you will customize with compile files, please do not run the template build tools. If you run the template build tools again, all your changes will be overwritten.
Thank you for purchased our item(s). If you have any questions that are beyond the scope of this help file, please feel free to email via support page here. Thank you so much!
There are many code editors for web code editing. You can use whatever you want. We recommend that you use Visual Studio Code . Because - this template is coded using it.
You need to install package files/dependencies for this project if you want to customize it. To do this, you must have node and npm installed on your computer. Installation guide of the node can be found here.
As npm comes bundled with a node, a separate installation of npm is NOT needed. If you have installed them, just go to the root folder and run the following command in your command prompt or terminal.
Run a command to run Gulp. When you run this command, it also watching at all source and static files. So, you don't need to run another command to watching these.
If you want, just watch the source files. You can run another individual command.
Source files are files that are processed with template build tools to make the browser readable. E.g. SCSS & PUG files always source files.
Files location: affan > "src"
folder
Compiled files are files generated as a result of running a compilation process in the source files. E.g. CSS & standard HTML files always compiled files.
Files location: affan > "dist"
folder
Static files are ones that aren’t processed or generated. E.g. Images, Web Icon Fonts and standard HTML are static files.
Files location:
affan > "static"
folder
"static" folder >
"service-worker.js".
Comment on all codes or remove this file another
location.
Sass stands for Syntactically Awesome Stylesheet. Sass is the most mature, stable, and powerful professional grade CSS extension language in the world. It's gives you variables, nesting, partials, modules, mixins, extend/inheritance & operators, etc.
Visit the official website to learn the details.File | Description |
---|---|
style.scss | Core stylesheet |
_fonts.scss | Font family name |
_colors.scss | All global colors |
_responsive.scss | Responsive breakpoint |
_preloader.scss | Preloader css |
_bootstrap-color-reset.scss | Bootstrap colors reset css |
_shortcode.scss | Template shortcode css |
_miscellaneous.scss | Template miscellaneous css |
_animation.scss | Animation css |
_register.scss | Register page css |
_header.scss | Header css |
_sidenav.scss | Sidenav left & right css |
_footer.scss | Footer css |
_btn.scss | Template button css |
_badge.scss | Template badge css |
_breadcrumb.scss | Breadcrumb css |
_alerts.scss | Alert css |
_divider.scss | Template divider css |
_coming-soon.scss | Coming soon page css |
_card.scss | All card css |
_chats.scss | Chats page css |
_carousel.scss | Bootstrap carousel & Owl carousel css |
_countdown.scss | Countdown css |
_counterup.scss | Counter Up css |
_form.scss | All form input css |
_hero-block.scss | Hero block page css |
_image-gallery.scss | Image gallery css |
_list-group.scss | List group card css |
_loader.scss | All preloader css |
_modal.scss | Modal css |
_notification.scss | Notifications page css |
_pagination.scss | All pagination css |
_partner.scss | Business partner css |
_price-table.scss | Price table css |
_progress.scss | Progress bar css |
_rating.scss | Client rating css |
_scrollspy.scss | Scrollspy css |
_testimonial.scss | Testimonial css |
_timeline.scss | Timeline page css |
_toast.scss | Toast css |
_tabs.scss | Tabs css |
_blog.scss | All blog pages css |
_cart.scss | Cart page css |
_invoice.scss | Invoice page css |
_language.scss | Language page css |
_product.scss | Product page css |
_service.scss | Service page css |
_team.scss | Team page css |
_user-profile.scss | User profile page css |
_demo.scss | Demo page css |
_rtl.scss | RTL mode css |
_dark.scss | Dark mode css |
With Pug you can easily write HTML code. You have many powerful features at Pug. It's has powerful features like conditions, loops, includes, mixins. When you write HTML code in Pug, it is processed by the template engine into standard HTML code. So that web browsers can understand the code.
Visit the official website to learn the details.File | Description |
---|---|
inc/back-btn.pug | Header left side back button code |
inc/dark-rtl-loader.pug | Dark & rtl code |
inc/footer.pug | Footer all plugins code |
inc/footer-chart.pug | Chart page footer all plugins code |
inc/footer-form-autocomplete.pug | Form autocomplete all plugins code |
inc/footer-nav.pug | Footer nav code |
inc/footer-otp.pug | OTP page all plugins code |
inc/footer-register.pug | Register page all plugins code |
inc/head.pug | Global page head code |
inc/header.pug | Header 1 code |
inc/header-2.pug | Header 2 code |
inc/header-3.pug | Header 3 code |
inc/header-4.pug | Header 4 code |
inc/header-5.pug | Header 5 code |
inc/header-6.pug | Header 6 code |
inc/internet-status.pug | Offline & Online status code |
inc/loader.pug | Preloader code |
inc/tiny-slider-one.pug | Owl carousel one code |
inc/tiny-slider-two.pug | Owl carousel two code |
inc/tiny-slider-three.pug | Owl carousel three code |
inc/setting-btn.pug | Setting icon code |
inc/setting-popup.pug | Dark & RTL mode setting popup code |
inc/sidenav.pug | Left sidenav code |
inc/sidenav-right.pug | Right sidenav code |
*.pug | All elements & pages code |
Open the mail file (affan) in your code editor. Then open head.pug
file & customize
as your desire.
File location: affan > src > pug >
inc > head.pug
Open any *.html
file & customize as your desire.
File location: affan > dist >
*.html
Open the mail file (affan) in your code editor. Then open header.pug/header*.pug
file
& customize as your desire.
File location: affan > src > pug >
inc > header.pug/header*.pug
Open any *.html
file & customize as your desire.
File location: affan > dist >
*.html
Open the mail file (affan) in your code editor. Then open sidenav.pug/sidenav-right.pug
file & customize as your desire.
File location: affan > src > pug >
inc > sidenav.pug/sidenav-right.pug
Open any *.html
file & customize as your desire.
File location: affan > dist >
*.html
Open the mail file (affan) in your code editor. Then open footer-nav.pug
file &
customize as your desire.
File location: affan > src > pug >
inc > footer-nav.pug
Open any *.html
file & customize as your desire.
File location: affan > dist >
*.html
Open the mail file (affan) in your code editor. Then open _colors.scss
file &
customize as your desire.
File location: affan > src > scss >
_colors.scss
Open style.css
file & customize as your desire.
File location: affan >
dist > style.css
A progressive web application (PWA) is a type of application software delivered through the web, built using common web technologies including HTML, CSS and JavaScript. It is intended to work on any platform that uses a standards-compliant browser, including both desktop and mobile devices.
Open manifest.json
file &
customize as your desire.
File location: affan > static >
manifest.json
Open manifest.json
file &
customize as your desire.
File location: affan >
dist > manifest.json
Dark mode are becoming very popular nowadays. So we have given dark mode in this template. If you want, you can use it as toggle switch mode or by default. Or, you can delete this.
If you want to use it in default mode, use the following code
in the <html>
tag.
data-theme="dark"
If not, delete the Dark code and toggle switch code from the template.
affan > src > scss
> _dark.scss
The languages of many countries of the world are written in RTL mode. So RTL mode has been given in it. If you want, you can use it as toggle switch mode or by default. Or, you can delete this.
If you want to use it in default mode, use the following code in the
<html>
tag.
view-mode="rtl"
If not, delete the Dark code and toggle switch code from the template.
affan > src > scss
> _rtl.scss
Working with compiled files is very easy. You don't need any build tools or local setup to edit the template. A folder (affan/dist) is already provided with the template. Open this folder and edit it as your desired.
When you will customize with compile files, please do not run the template build tools. If you run the template build tools again, all your changes will be overwritten.
Name | Plugins Activation Code |
---|---|
Tiny Slider |
|
Magic Grid |
|
BaguetteBox |
|
Countdown |
|
ion Range Slider |
|
Data Table |
|