Table of contents
- Folder Structure
- CSS File and Structure
- Using Build Process
- JavaScript
- Manually Overriding Files
- Framework
- Support
Folder Structure
Within the template you’ll find the following folders:
/dist
(production ready HTML/CSS/JS files)
/src
(KIT/SASS/JS source files when using build process)
Navigation
Header navigation link are located within the <nav>
tag, active page link has "uk-active"
class assigned.
Footer
Copyright and social icons can be edited inside the <footer>
tag:
Social icon link example:
<a href="https://www.instagram.com/" data-uk-icon="icon: instagram" class="uk-icon-link"></a>
All available icons are documented here: https://getuikit.com/docs/icon.
Contact Form
Template comes with contact form in contact.html file. You can copy paste the form to any page you need. If you need to add form input fields full documentation is located here https://getuikit.com/docs/form.
Awesomplete Search
Template comes with autocomplete Awesomplete search included, documentation can be found here http://leaverou.github.io/awesomplete/. Awesomplete and demo search JS is included before closing </body>
tag:
Javascript source files are located in src/js/
folder.
CSS File and Structure
To modify the look and feel of the template, edit the SASS files located in src/scss/
folder.
src/scss/main.scss - Main template styles file that imports partial SASS files
If you would like to edit a specific Uikit component, you can either:
override SASS variables in src/scss/_variables.scss
or modify/create a custom class in src/scss/_mixins.scss
.
For the list of all available variables and mixins in Uikit see the following files:
node_modules/uikit/src/scss/variables.scss
node_modules/uikit/src/scss/mixins.scss
Using Build Process
We used CodeKit https://codekitapp.com/ and Npm https://www.npmjs.com/ for build process. Run the following npm commands using terminal in root template directory:
npm install
(run once to install UIKit and awesomplete dependencies)
Note: npm must be first installed globally, see npm site https://www.npmjs.com/. CodeKit is then used to compile template source files (KIT/SASS/JS) in root folder.
JavaScript
The following script is loaded before the body closing tag:
dist/js/awesomplete.js
- Contains Awesomplete search script
dist/js/custom.js
- Contains custom search script
The following script is loaded head tag:
dist/js/uikit.js
- Contains main UIkit scripts and icons
Detailed UIkit script documentation is located here https://getuikit.com/docs/javascript.
Manually Overriding Files
If you decide to manually modify CSS/JS files (not recommended) use /dist
folder. If you would like to edit a specific component of the site, simply check the table of contents in the main.css
template file, and then scroll down until you find the appropriate style that needs to be edited.
If you would like to edit the primary color of the theme you should do “Replace all” color #05c896
with the desired one.
Framework
Template uses UIkit front-end framework version 3, documentation is located here: https://getuikit.com/docs/introduction.
Support
Customer support is provided through our Envato item support tab for up to six months from the purchase date and is provided Monday to Friday during the business week. We aim to answer all support requests daily, most are handled within 24h.
Please note items downloaded from Envato Elements are not supported so you will be unable to get assistance with technical questions, installation, third-party assets or direct guidance.
Before contacting support please:
- Read this documentation
- Describe your problem in detail
- Include links
- Attach screenshot