0
Welcome Guest! Login
0 items Join Now

Citadel: Recreating the Demo

Your Guide to Recreating Elements of the Citadel Demo for Grav


Introduction

Recreating features of the demo site used to show off some of the more interesting aspects of Citadel can be done fairly easily. All you settings, and you should be able to reproduce most (if not all) of the elements found in our demo site.

Below, we will break down some of these elements and give you the information you need to know to recreate them on your own site using the Citadel Theme.

Keep in mind that a lot of the detail that makes our demos look so good is the result of many hours of hard work by our team, and some of them will require a moderate level of experience working with the Grav back end. We have added most of these elements into the theme's core files in order to make them easily accessible without having to edit any code.

NOTE: We recommend downloading a copy of the RocketLauncher whenever you are attempting to replicate demo content. This allows easy referencing, whether on your site in a subdirectory, development server, or on a localhost. This will allow you to see all of our demo content in context, making it easier to replicate.

Particle Settings

Below, you will find the particle placement and settings for the various positions as they appear on the front page of our demo. Not all of these position assignments are unique to the front page.

1
Navigation Main
Logo (Particle)
2
Navigation Main
Menu (Particle)
3
Slideshow Main
Simple Content (Particle)
4
Slideshow Main
Video (Particle)
5
Header Main
Simple Content (Particle)
6
Header Main
Info List (Particle)
7
Above Main
Owl Carousel (Particle)
8
Above Main
Owl Carousel (Particle)
9
Showcase Main
Simple Content (Particle)
10
Showcase Main
Video (Particle)
11
Showcase Main
Custom HTML (Particle)
12
Feature Main
Owl Carousel (Particle)
13
Feature Main
Block Content (Particle)
14
Expanded Main
Info List (Particle)
15
Extension Main
Info List (Particle)
16
Footer Main
Custom HTML (Particle)
17
Footer Main
Simple Form (Particle)
18
Copyright Main
Logo / Image (Particle)
19
Copyright Main
Bottom Menu (Particle)
20
Copyright Main
Copyright (Particle)

Not pictured here is an Offcanvas position which hosts the mobile menu. You can find out more about the Offcanvas position in the Gantry 5 documentation.

Particles

Here is a list of particles that are available in Citadel, as well as links to documentation to help you get started:

Core Gantry Particles (Documented on Gantry's Website):

Recreating the Front Page

The front page of the Citadel demo sits apart from the rest of the page layouts in that it features the latest and greatest features of the theme. It is because of this that several layout overrides were done. In this section, we will break down the settings you will need to recreate elements present in the front page of the Citadel demo.

Home Page Layout Presets

Layout Presets

We have included a layout preset for the home page within the theme if needed. The Home - Particles preset includes all of the particle-based home page demo content so you can hit the ground running with a copy of our demo to work from loaded directly into the layout.

You can access the presets by selecting Load in the Layout Manager.

Menu Editor

Citadel has its own built-in Menu Editor which takes full advantage of Grav's menu system, taking your Grav menus and enhancing them before passing them to visitors on the front end. Any changes made in the Menu Editor will only affect the way it appears to the visitor, and not the way Grav sees or uses it.

You can access the Gantry Menu Editor by navigating to Admin > Gantry 5 > Menu. You can find out more about navigating and using the Gantry Menu Editor in our documentation.

Assignments

Assignments are also managed in the Gantry Administrator. This administrative panel enables you to assign theme outlines to specific menu items, pages, and other areas of your site. By navigating to Admin > Gantry 5 and selecting an outline other than the Base Outline, you will be able to assign that outline by navigating to the Assignments panel. Simply switch any menu items to on (green) that you want to assign that outline to. In the case of the Home page, this would be your default Home page in your default (main) menu.


Found errors? Think you can improve this documentation? Please edit this page. You can also view the history of this page.