A Micro Micro CMS

Using the CMS

A few tips for using the system (with particular reference to the default 'White' theme).

(01) Navigation menus

Don't add too many items to the main menu and use only one or a couple of words as [anchor text]. If the menu gets too wide it will stretch beyond the width of the content column and look clumsy, especially on narrow screens. If more links are needed put them in a suitably named page and put the page in the menu.

(02) Video

The following markup adds mp4 video to a page:

<div class="video">
<video width="480" height="750" autoplay controls loop>
<source src="./video/filename.mp4" type="video/mp4">
Your browser does not support the video tag.

Make sure to put a dot in front » ./video/filename.mp4 ...

Note: .mp4 files can't be uploaded in 'Images' due to their larger file sizes. They will need to be uploaded separately via ftp into the /video/ folder or called in externally:

<div class="video">
<video width="480" height="750" controls loop>
<source src="https://example.com/path/video-filename.mp4" type="video/mp4">
Your browser does not support the video tag.

When supermicro CMS is installed under SSL, external .mp4 files must come from a secure https source, not http, or they will not display.

(03) To add a YouTube video to a page:

YouTube video example »

(04) To make images full-width on small screens:

By default, all images are contained in an HTML paragraph. On narrow screens, paragraphs don't extend right to the edges but have a small side margin right and left. That applies to images as well. To let an image extend right to the edges on narrow screens, enclose the image in paragraph class "w" as follows:

<p class="w"><img src="img/filename.jpg" width="xxx" height="xxx" alt=""></p>

Wider screens are not affected.

(05) 'Extra' files

The /inc/ folder contains three 'extra' files: extra-head.php, extra-body.php and extra-content.php which can be used to manually add code, content or a Facebook share button to the standard template. extra-head.php already contains Open Graph meta tags and extra-content.php contains slideshow JavaScript so be careful not to disturb what is already there.

To see exactly where these files are located, see HTML page structure or the source of this page.

(06) Unjustify paragraph text

Paragraph text is 'justified' by default. To unjustify it, add the following to the extra.css stylesheet:

@media screen and (min-width: 798px) {

  #content p {
    text-align: left;


In Styles / Select a stylesheet select Extra styles only, paste it in then Update styles.

(07) Hide pages from site search

To prevent a page from appearing in on-site search results, add two consecutive caret symbols #~~ to the first line of text.

(08) Hide 'Page last modified: ...'

'Page last modified: [date]' can be removed from all pages by adding the following to the extra.css stylesheet:

#content p.meta {
  display: none;

In Styles / Select a stylesheet select Extra styles only, paste it in then Update styles.

(09) Visitor comments

The default installation has commenting enabled for the home page (as an example). Commenting can be enabled or disabled for any page. This is all done manually. The instructions are in /inc/extra-content.php and should be followed with care.

(10) Using images wider than 740 pixels

Some of the features illustrated below may not be visible on narrow screens, eg: mobile phones and some tablets in portrait mode.

On screens with a width of 1257 pixels and over, a 1200px wide image will show full-size but will reduce in stages on narrower screens to 1024 pixels, 860 pixels, 740 pixels, then shrinking further on smaller devices. Read more »

Example image 1200 pixels wide

The markup:

<div class="w1200">

<p class="w"><img src="img/filename.jpg" width="1200" height="628" alt="" ></p>


Set image filename and size as actual image.

(11) Put rounded corners on an image

Add class="rc"

<img src="img/filename.jpg" width="1200" height="628" alt="" class="rc">

As the image above.

(12) Full width backgrounds

From 16th July 2020 the download stylesheets allow a full width background to be added to any block-level element (including most images). This is done by adding a class of bgmaxw1 or bgmaxw2. Example:

The markup:

<img src="img/filename.jpg" width="1200" height="628" alt="" class="bgmaxw4">

Read more »

From 14th July 2020 either of the updated stylesheets: (i) default.css or (ii) white.css will need to be saved in admin as stylesheet.css.

Page last modified: 11 September, 2020