Welcome to Geeklog Tuesday, July 17 2018 @ 01:33 am EDT

Geeklog Forums

How to add front-end framework UIkit to your theme


Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 301
Location:Tokyo Japan
1.download UIkit from http://getuikit.com/

2.upload /layout/(theme)/vendor/

3. edit header.thtml before {rel_links}

PHP Formatted Code
<link rel="stylesheet" href="{layout_url}/vendor/uikit/css/uikit.css"{xhtml}>


4. edit footer.thtml after {plg_footercode}

PHP Formatted Code
<script type="text/javascript" src="{layout_url}/vendor/uikit/js/uikit.js"></script>




e.g.
PHP Formatted Code
<form class="uk-form"  ...
<div class="uk-grid" ...

very simple

--
http://www.ivysoho.net/article.php/geeklog-add-uikit
(Japanese)
Geeklog Japan https://www.geeklog.jp

All times are EDT. The time is now 01:33 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content