startbootstrap-scrolling-nav theme
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
fonts
js
lang
CHANGELOG.md
README.md
body.php
footer.php
head.php
startbootstrap-scrolling-nav.css.php
theme.php

README.md

StartBootstrap-Scrolling-Nav theme

The StartBootstrap-Scrolling-Nav theme is a single-page theme for Urlaube that is based on the Scrolling-Nav theme created by Start Bootstrap.

Installation

Place the folder containing the theme into your themes directory located at ./user/themes/.

Finally, add the following line to your configuration file located at ./user/config/config.php to select the theme:

Main::set(THEMENAME, StartbootstrapScrollingNav::class);

Configuration

To configure the theme you can change the corresponding settings in your configuration file located at ./user/config/config.php.

Colors

You can set the following values to change the color scheme of the theme:

Themes::set("dark_color",  "#666");
Themes::set("light_color", "#ccc");

Author name

You can overwrite the auto-generated author header:

Themes::set(AUTHOR, $static::getDefaultAuthor());

Canonical URL

You can overwrite the auto-generated canonical URL header:

Themes::set(CANONICAL, static::getDefaultCanonical());

Charset

You can overwrite the auto-generated charset header:

Themes::set(CHARSET, static::getDefaultCharset());

Copyright text

You can set the following values to change the copyright text in the footer area. You can either choose auto-escaped text by setting COPYRIGHT or you can choose HTML by setting "copyright_html":

Themes::set(COPYRIGHT, static::getDefaultCopyright());
Themes::set("copyright_html", null);

Description

You can overwrite the auto-generated description header:

Themes::set(DESCRIPTION, static::getDefaultDescription());

Favicon URL

You can set the URL of the favicon:

Themes::set(FAVICON, null);

Keywords

You can overwrite the auto-generated keywords header:

Themes::set(KEYWORDS, static::getDefaultKeywords());

Language

You can overwrite the auto-generated language header:

Themes::set(LANGUAGE, static::getDefaultLanguage());

Logo image file

You can set the URL of an image file that is used as a website logo:

Themes::set(LOGO, null);

Pagename

You can overwrite the auto-generated page name that is used as an H1 headline:

Themes::set(PAGENAME, static::getDefaultPagename());

Sitename

You can overwrite the preset site name that is used a text logo and in the auto-generated title header:

Themes::set(SITENAME, t("Deine Webseite", static::class));

Siteslogan

You can overwrite the preset site slogan that is used in the auto-generated title header:

Themes::set(SITESLOGAN, t("Dein Slogan", static::class));

Title

You can overwrite the auto-generated title header:

Themes::set(TITLE, static::getDefaultTitle());