You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.9 KiB

Themes consist of basic css located in www/html/_assets/themes. The css folder names represent the themes. Each folder should have the following files :

Files (.css extensions)
Description
borders
styling of borders (top,bottom,right,left,round)
footer
styling the footer
header
styling the footer
layout
The general layout for a site and how to organize different panes
menu
styling the menu
pane
styling secondary pane, it's position and visibility depends on the theme

Setup themes

QCMS CLI interface allows to query the backend to determine available themes, in three simple phases described below

#1. Listing available themes
$ qcms list-themes
#2. Selecting and applying theme
$ qcms set-theme magazine
# Verifying themes set
$ ls www/html/_assets/themes

Custom Themes

QCMS supports custom themes or user-defined themes. Build custom theme manually in three simple steps:

# 1. copy default theme to new folder (www/html/_assets/theme/mytheme)
$ cp -r www/html/_assets/themes/default www/html/_assets/themes/mytheme
# 2. update configuration file to enable configuration
{ "system":{ "theme":"mytheme" ... } }
# 3. set the theme and reload the your app (from the app folder)
$ qcms set-theme magazine