Mobile Website Template and PWA
Back to Structure DocsThis area is scrollable and includes multiple chapters, scroll to see all chapters.
Covering the use of our Pages
If you read our documentation up until this point, then using pages will be really simple for you, as these are built in large parts using the Components Available and styled using the Utility Classes providing them a tone of flexibility, and ease of use and editing only by using utility classes and copy pasting componet blocks inside.
With this being said, the following pages only require you to open, and edit them using copy and paste blocks, or adjust your style or content for your specific use case. These pages we will not be covering in the documentation but we will include links towards the components that we used to build them, so you can better understand what's inside.Beautifully Designed using Fixed Height Cards
These are the most important pages we need to explain, because they are super easy to use but can have a small set of things that must be mentioned. First, let's mention the full screen pages.
All these pages work on the same simple concept. We will not include the code that each page has, as each full screen page includes the code below, and within this code, there will be simple components, input fields, buttons and images. These can be used in however way you wish by copy pasting them from the Components Documentations or from the component-VALUE.html you want.
1 2 3 4 5 6 7 8 9 | < div data-card-height = "cover" class = "card bg-VALUE" > < div class = "card-POSITION UTLILTY_SPACING_CLASS" > <!--Enter your content here--> </ div > < div class = "card-overlay bg-black opacity-85" ></ div > < div class = "card-overlay-infinite preload-img" data-src = "images/pictures/_bg-infinite.jpg" ></ div > </ div > |
Note: Carousels/Sliders do not support infinite background effects.
Super simple! In case you want to use a full screen slider/ carousel you will use the code above as a single slide. So, take the code above, and paste it inside the following code.1 2 3 | < div class = "cover-slider owl-carousel mb-0" > <!-- put the card cover here--> < div > |
We use a modified version of Lightbox to achieve PWA compatibility, preloading and ease of use in our product. While the galleries are simple copy and paste images inside columns in the case of Rounded and Square thumbs, we've included a few galleries that we'll explain here to avoid any confusion.
1 2 3 | < a data-lightbox = "gallery-1" href = "images/pictures/2t.jpg" title = "Cream Cookie" > I will show the full screen image in the href attribute and will use the "Title" as the caption. </ a > |
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
< div class = "card card-style" > < div class = "content mt-3 mb-3" > < ul class = "gallery-filter-controls" > < li class = "gallery-filter-active gallery-filter-all" data-filter = "all" >All</ li > < li data-filter = "2" >Tech</ li > < li data-filter = "1" >Food</ li > < li data-filter = "3" >Nature</ li > </ ul > </ div > </ div > < div class = "card card-style" > < div class = "content mb-3" > < div class = "gallery gallery-filter" > < a href = "images/pictures/9t.jpg" data-lightbox = "gal" class = "filtr-item" title = "Text" data-category = "1" > < img src = "images/empty.png" data-src = "images/pictures/9s.jpg" class = "preload-img rounded-s shadow-m" alt = "image" > </ a > < a href = "images/pictures/14t.jpg" data-lightbox = "gal" class = "filtr-item" title = "Text" data-category = "2" > < img src = "images/empty.png" data-src = "images/pictures/14s.jpg" class = "preload-img rounded-s shadow-m" alt = "image" > </ a > < a href = "images/pictures/18t.jpg" data-lightbox = "gal" class = "filtr-item" title = "Text" data-category = "3" > < img src = "images/empty.png" data-src = "images/pictures/18s.jpg" class = "preload-img rounded-s shadow-m" alt = "image" > </ a > </ div > </ div > </ div > |
We wrap both our filter elements and the gallery itself in the card system. Notice that inside here we have a content class. This is used to create a nice margin between the gallery images / filterable buttons and the outside of the card. We modified the distance between these using the Utility Spacing Classes. These are very important in elements like these since they allow you to fine tune distances between elements.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
< div class = "gallery-view-controls" > < a href = "#" class = "color-highlight gallery-view-1-activate" >< i class = "fa fa-th" ></ i ></ a > < a href = "#" class = "gallery-view-2-activate" >< i class = "fa fa-th-large" ></ i ></ a > < a href = "#" class = "gallery-view-3-activate" >< i class = "fa fa-bars" ></ i ></ a > < div class = "clearfix" ></ div > </ div > < div class = "content my-n1" > < div class = "gallery-views gallery-view-1" > < a data-lightbox = "gallery-1" href = "images/pictures/10t.jpg" title = "Vynil and Typerwritter" > < img src = "images/empty.png" data-src = "images/pictures/10t.jpg" class = "rounded-m preload-img shadow-l img-fluid" alt = "img" > < div class = "caption" > < h4 class = "color-theme" >Messy Desk?</ h4 > < p >Some may consider this to be a very messy desk.</ p > < div class = "divider bottom-0" ></ div > </ div > </ a > < a data-lightbox = "gallery-1" href = "images/pictures/11t.jpg" title = "Fruit Cookie Pie" > < img src = "images/empty.png" data-src = "images/pictures/11t.jpg" class = "rounded-m preload-img shadow-l img-fluid" alt = "img" > < div class = "caption" > < h4 class = "color-theme" >Designers Desk</ h4 > < p >With all the gadgets you'd ever wish for.</ p > < div class = "divider bottom-0" ></ div > </ div > </ a > </ div > </ div > |
A gallery collection is a div that holds anchors inside with 4 images at a time. Simply duplicate the a below and replace the icon with your icon and you're good to go!
1 2 3 4 5 6 7 8 9 | < div class = "gallery gallery-collection gallery-collection-round" > < a href = "#" > < i class = "fa fa-heart color-red2-dark" ></ i > < img src = "images/empty.png" alt = "img" class = "preload-img round-small" data-src = "images/pictures/isolated/1.jpg" > < img src = "images/empty.png" alt = "img" class = "preload-img round-small" data-src = "images/pictures/isolated/2.jpg" > < img src = "images/empty.png" alt = "img" class = "preload-img round-small" data-src = "images/pictures/isolated/3.jpg" > < img src = "images/empty.png" alt = "img" class = "preload-img round-small" data-src = "images/pictures/isolated/4.jpg" > </ a > </ div > |
We're always here to help out! Please send us a message!
As we mentioned before, we didn't skip parts of the documentation because we're lazy. We spent days writing this and covering all possible aspects, but it is possible that either we
missed something important to you, or you simply don't know how to do it. But no worries!
Please don't hesitate to open a ticket on our item support forum! We have the fastest reply time (based on customer reviews) on ThemeForest and always
answers to questions in under 2 hours unless we're sleeping or spending time with our families.
Enabled has been around for more than 12 years on Envato, and we always love and cherish all our customers, so please don't hestitate to let us know if you need help! We'll gladly assist!
Contact Support