Frontpage elements
- Written by: Super User
- Published in Template articles
- Hits: 922
The frontpage of the Music State template contains a different structure than the rest of the template. This layout is optional and can be activated by using the frontpage page suffix.
Modules
Modules in the frontpage mode can use two width - normal width specified in the template settings as the template width or the 100% width. The 100% width is default in the frontpage mode. You can activate the normal width for the module using the normal-width module suffix.
Module with 100% width on the frontpage
Module with normal width on the frontpage:
Additional elements
You should also activate the additional element after the mainbody container in the frontpage mode - the dark block with image as background - it can be activated with using the dark-bottom page suffix.
Please remember that in this case it is important to use the white module suffix in the module displayed under the mainbody content.
The newsletter form can be created with using the newsletter module suffix and the following code inside the Custom HTML module:
<p>Small description</p> <form action="#"> <input type="email" placeholder="Your e-mail address"> </form>
Section navigation
You can activate the navigation between sections of the frontpage - just use the section-nav page suffix for the frontpage. The script will automatically create the navigation links.