Articles in this section
Category / Section

Hero Slides

Published:

How Do the Default Hero Slides Work:


The generated hero slides will show up for movies whose release dates fall within the set range. We have two settings for this: days before release and days after. This by default is set to 7 for both. So a movie will show starting 7 days before it’s release date through 7 days after its release date. The slides themselves are sorted based on the associated movies’ release dates.

How To Add Custom Hero Slides


Click on the HERO SLIDES section under the CMS tab

Admin Portal Hero Slides Nav.png

Next, click the “+” button in the top, right corner of the page.

Admin Portal Hero Slide Add.png

On this page, name the slide, and enter a number for the sort order. The higher the number the later it will show in rotation.

If you have custom slides setup, they are shown first in the sort order provided. If you have generated movie slides enabled on your website, they are shown after the custom slides sorted based on the configuration of simple “Release Date” or the absolute value of “Days from Release Date”.

Using the uploads, add a desktop and mobile image. Images that are uploaded are saved in your media gallery under the HERO folder.

If you want the hero to link, provide a link URL, and if you want the hero entry to show during a specific time frame, enter in the appropriate date ranges.

Admin Portal Add Hero Slide.png

For the hero content, enter in text and it will display over the image. If you want the content styled like the generated heroes, you can use this template and replace the values:

Content Template

<h2 class="heroSlider__title">ENTER TITLE</h2>
<p>ENTER YOUR TEXT</p>
<a class="button button--prime" href="ENTER WEBSITE OR PAGE URL" />LINK TEXT HERE</a>

Finally, select which locations the hero should be shown, and save the new entry.

As of 12/2/22, the HeroMaxSlideCount component has been deployed! This allows the ability to set/lower a maximum number of Hero Slides present on the site and potentially increase performance of the site.

Default Slides: 10

If the Slides need to be lowered, please submit a request to support@theatertoolkit.com and we’d be happy to assist you.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied