The Tikva Theme is for Grav CMS. Tikva is a minimalistic Grav theme, based on Bootstrap 4 framework.
Installing the Tikva theme can be done in one of two ways. Our GPM (Grav Package Manager) installation method enables you to quickly and easily install the theme with a simple terminal command, while the manual method enables you to do so via a zip file.
The theme is designed to be used to provide a documentation site. You can see this in action at
The simplest way to install this theme is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:
bin/gpm install Tikva
This will install the Tikva theme into your /user/themes
directory within Grav. Its files can be found under /your/site/grav/user/themes/tikva
.
To install this theme, just download the zip version of this repository and unzip it under /your/site/grav/user/themes
. Then, rename the folder to tikva
. You can find these files either on GitHub or via GetGrav.org.
You should now have all the theme files under
/your/site/grav/user/themes/tikva
NOTE: This theme is a modular component for Grav which requires the Grav, Error and Problems plugins.
As development for the Tikva theme continues, new versions may become available that add additional features and functionality, improve compatibility with newer Grav releases, and generally provide a better user experience. Updating Tikva is easy, and can be done through Grav's GPM system, as well as manually.
The simplest way to update this theme is via the Grav Package Manager (GPM). You can do this with this by navigating to the root directory of your Grav install using your system's Terminal (also called command line) and typing the following:
bin/gpm update tikva
This command will check your Grav install to see if your Tikva theme is due for an update. If a newer release is found, you will be asked whether or not you wish to update. To continue, type y
and hit enter. The theme will automatically update and clear Grav's cache.
Manually updating Tikva is pretty simple. Here is what you will need to do to get this done:
your/site/user/themes/tikva
directory.your/site/user/themes
and rename the resulting folder to Tikva
.bin/grav clear-cache
.Note: Any changes you have made to any of the files listed under this directory will also be removed and replaced by the new set. Any files located elsewhere (for example a YAML settings file placed in
user/config/themes
) will remain intact.
If you want to set Tikva as the default theme, you can do so by following these steps:
/your/site/grav/user/config
.theme:
setting to theme: tikva
.bin/grav clear-cache
.Once this is done, you should be able to see the new theme on the frontend. Keep in mind any customizations made to the previous theme will not be reflected as all of the theme and templating information is now being pulled from the tikva folder.
You can reach all configuration options in the admin interface, so it's recommended to use it. Since version 0.1.1 the configuration options are splitted into tabs. You'll find the global or general options in the first tab, the footer and sub-footer options in the second tab and the Social Media settings beside it.
Most websites need a special area at the bottom with common contents - the footer. The Tikva theme supports this in a flexible, but simple manner. In the admin interface (or by the option "footer.columns") you can set the number of columns the footer should have. Due to Bootstrap's grid system you can choose between 1, 2, 3, 4 or 6 columns.
Every column is represented by a special page, so the content can be edited with the usual interfaces (or with the help of a text/markdown editor).
The simplest way to create the footer is to use the admin user interface.
At first, create a folder named "footer" in the page area.
The name is important, so please use the folder name "footer". This folder must not be publish, so please switch the "published" option to "no" and save the page.
At last, create the content area pages.
As parent page use the previously created "footer" folder. The page template should be "footer". After finished you can edit the footer sections in the same manner as you edit pages.
Tikva offers 25 themes! Most of them originate in Bootswatch by Thomas Park. But you can also customize header and footer settings by the following options.
navbar.invert: true/false - Invert navigation bar. This changes the text color.
navbar.background: Choose between seven options, in Bootstrap they are described as ".bg- * utils".
navbar.background_color: If the previous option is not enough, you can pick your own color.
navbar.fixed_top: true/false - Navigation bar fixed to top or place it in a classical way after the site logo and title
navbar.navigation.alignment: - left (default), center, right: Navigation bar text alignment
theme.adjust_header: Adjust header by adding a distance between navigation and content. Some of the styles need more space, so you can use this option to adjust. As an example, to add 20 pixel, enter "20", the value has to be numeric.
dropdown.enabled: true/false - show dropdown links in navigation
dropdown.enable_mouseover: true/false - Show dropdown on mouseover. Warning - this breaks the ability to handle the responsive feature of the theme. The theme uses Bootstrap v4 framework, and per default there is no option to drop a menu automatically on mouseover. So it is not recommended to activate this option.
theme.file_logo: Logo image in header.
favicon_file: Change the favicon by uploading your own.
Both image files have to be stored in a folder in user/pages/images/:
In the first Social Media tab you can set generic options:
In the second tab you can add preconfigured and custom Social Media sites.
For Facebook, LinkedIn etc. just add your profile URL.
For custom sites, you have to add the site name, Font Awesome Icon and the page URL. You can add as many buttons as you want.
Tikva supports an image slider, which is a component of Bootstrap framework. The slider is fully configurable by the admin plugin, so it's strong recommended to use it. In the first tab you will find the generic options to configure the slider. You can switch in on or off and choose the place where the slider will be displayed.
Usage: The slider is embeddable in every page. To enable the slider view, please choose the page template "Default with slider". You can switch the slider on and off in the slider options, but without choosing the right page template, it will never be displayed.
The slider items (images) are stored in a list, so you can add as many as you want. The itemss can be configured by the following fields: