Skip to main content

Custom Heroes

Custom Heroes let you create standalone hero-like sliders that are not tied to your product catalog. They are ideal for non-product hero sections, landing pages, seasonal promotions, or any page where you want a full-featured slider without product dependencies.

Accessing the Custom Heroes Tab

Navigate to SyteHero > Custom Heroes in your WordPress admin menu.

Creating a Custom Hero

  1. Open the Custom Heroes tab.
  2. Click Add Custom Hero (or the equivalent button).
  3. Configure the hero section using the settings described below.
  4. Save your changes.

Custom Hero Settings

Each Custom Hero supports the following options:

SettingDescription
EnableToggle the hero section on or off. A disabled hero section will not render even if its shortcode is placed on a page.
NameAn optional label for your reference (not displayed on the front end).
Background Media URLThe URL of the image or video to use as the slide background.
Image URLA fallback background image shown when the Background Media URL is empty or fails to load.
CTA URLThe link destination for the call-to-action button.
CTA Button TextThe label displayed on the CTA button.
CTA Open in New TabWhen enabled, clicking the CTA button opens the link in a new browser tab instead of the current one.
Text Area 1Primary overlay text (headline, title, etc.).
Text Area 2Secondary overlay text (tagline, description, etc.).
IntervalTime in milliseconds before transitioning to the next slide (if the hero section has multiple slides).
AnimationTransition style between slides: Fade or Slide.

Placing a Custom Hero on a Page

Use the shortcode to embed a Custom Hero anywhere on your site:

[sytehero_custom id="X"]

Replace X with the ID of the Custom Hero you want to display. The ID is shown in the Custom Heroes tab next to each entry.

View-Locked Variants

To display a Custom Hero only on a specific device size, use the view-locked shortcodes:

  • Desktop only: [sytehero_custom_desktop id="X"]
  • Tablet only: [sytehero_custom_tablet id="X"]
  • Mobile only: [sytehero_custom_mobile id="X"]

This lets you show different heroes (or hide them entirely) depending on the visitor's screen size.

CSS Classes for Styling

Each Custom Hero generates CSS classes that you can use for targeted styling. These classes are shown in the Custom Heroes tab -- copy them and use them in the Custom CSS tab to apply your own styles.

Use Cases

  • Landing pages: Create a hero section with custom imagery and messaging, independent of your product catalog.
  • Seasonal promotions: Build a holiday or event-themed slider and activate it only during the relevant period.
  • Non-product pages: Add polished hero sliders to About, Contact, or informational pages.
  • A/B testing layouts: Create multiple heroes with different content and swap them by changing the shortcode ID.