Coming soon: Landing Framework - White label marketing for agencies.

Documentation

Mobile Platform

Add a theme

A theme consists of a background image (PNG, 640 × 1136) and a stylesheet with the Ionic CSS.

Themes can be found in the /themes directory. To create a new theme, copy one of the theme directories (except for the _boilerplate directory) and change the files.

/assets/css/style.css

The style.css file contains the Ionic CSS. Ionic uses Sass to compile its stylesheets. Read more about this here.

/assets/css/custom.css

This file is empty by default, but can be used for custom CSS to override or add to style.css.

/assets/img/background-phone.png

This is the default background image. It should be named background-phone.png and is 640 × 1136 pixels.

/config/theme.php

Here you can set some basic configurations for the theme. You can set it active or disabled and you can define in what categories the theme will be shown.

return array(

	/*
	|--------------------------------------------------------------------------
	| Theme
	|--------------------------------------------------------------------------
	*/

	'active'                 => true,

	/*
	|--------------------------------------------------------------------------
	| Categories
	|--------------------------------------------------------------------------
	|
	| 1 = business
	| 2 = music
	| 3 = events
	| 4 = restaurants
	| 5 = blog
	| 6 = education
	| 7 = photography
	| 8 = other
	|
	*/

	'categories'             => array(1),
	'name'                   => trans('theme::global.name')
);

/lang/en/global.php

This file contains the name of the theme.