Joomla & WordPress Tutorials, Info, Discussion, Tips | GavickPro Blog

Quark v.1.0.2 released! Classic main menu alongside safe view and less file overrides are now available.

The second update for our Quark template includes two important functions – support for a classic main menu and the ability to safely override views and *.less files. Additionally, we’ve prepared a dozen smaller improvements on the basis of our users’ suggestions.

Classic main menu

One of the most requested additions from our users – many thanks for your great feedback on this!
With this update you’ll be able to find a lot of new features in the “Menu” tab of the template settings:

With the “Fixed menu” option the classic menu can appear on a separate top-bar when the page is scrolled-up – this is the same effect we’ve used on our gavick.com site:

For mobile devices the classic menu appears as an overlay menu:

With both the template options and a plugin with extended menu parameters combined, the user has full control over the menu animations and structure.

See the new classic menu in actionTo see the classic menu, click on the aside bar (the cog icon) and choose this feature from the toolbar.

Safe view and less files overrides

Since Quark is a template which will be updated frequently, we decided to create a mechanism to protect the views and overwrite *.less files. The mechanism is very simple:

  1. In the templates folder we create another folder; gk_overrides
  2. In this newly-created folder we create another subfolder with any name, as long as it doesn’t have any whitespace e.g. my-test
  3. We create two more subfolders in the created subfolder, named html and less, where we can put modified files

Once these folders have been created we should have something similar to the below folder structure:

We can then enable file override in the template settings:

What are the benefits of overwriting files?

The purpose of this new mechanism is to solve potential problems:

  1. Issues with overridden view files
  2. Challenges with creating different color versions of the template

With the ability to overwrite less files, we can create multiple instances of the Quark template and assign each different basic colors.

Furthermore, each instance of the template may use different component and module views, making it possible to create several different post layouts using one template and its multiple instances.

Other improvements

Ideas, suggestions?

As always, we look forward to any new ideas and suggestions that our users can provides for our Quark template – share them with us in the comments section of this post below and we’ll look into it!

Quark v.1.0.2 released! Classic main menu alongside safe view and less file overrides are now available. 5.005 (100.00%) 17 votes
Share