Show Options

Hero Content:

This section contains two columns one with image and other with text.

Available Options:

  • Hero content image left and content right.
  • Hero content image right and content left.
  • Hero content mobile image order.

Hero content image left and content right:

Output:

Video Title

This is a short description of the video. Simply put in the embed code for whatever video you want here. This is an HTML template, so whatever you want put here will work just fine.

Get your point across with video and a little bit of text.

Code:


<div class="darkout-section">
{% include do-hero-content.html layout="image-left" tag="samples" vertical-alignment="center" %}
</div>


How to add content:

  • Step1: Navigate to the data file for Hero content in _data > do-hero-content.yml
  • Step2: Add content to the data file as shown in the below example.
- title: Drive impact faster and with confidence  # Use hero-content title here
  description: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.  # Use hero-content description here
  image: /assets/images/platform/platform_module3.png  # Use hero-content image path here
  button:
    - button-name: read more  # Use hero-content button name here
      button-href: "#" # Use hero-content url path here
      icon-button-name: Learn More  # Use hero-content icon-button name here
      icon-button-href: "#"  # Use hero-content icon-button-url path here
  tag: samples  # Use hero-content tag here
  • Step3: In the data file tag is a mandatory value. Without using tag Hero content will not be displayed.

How to add in page:

  • Step1: Add Hero content to the page using the include statement.
  • Step2: On the page use

<div class="darkout-section">{% include do-hero-content.html layout="image-left" tag="samples" vertical-alignment="center" %}</div>

  • Attributes:
    • Hero-content-type. (Mandatory)
      • Type-1.
    • Layout. (Mandatory)
      • Image-left.
    • Tag. (Mandatory)
      • Tag name eg: samples.
      • Use only one tag.
    • Class
      • Additional class can be used here.

Hero content image right and content left:

Output:

Video Title

This is a short description of the video. Simply put in the embed code for whatever video you want here. This is an HTML template, so whatever you want put here will work just fine.

Get your point across with video and a little bit of text.

Code:


<div class="darkout-section">
{% include do-hero-content.html layout="image-right" tag="samples" vertical-alignment="center" %}
</div>


How to add content:

  • Step1: Navigate to the data file for Hero content in _data > do-hero-content.yml
  • Step2: Add content to the data file as shown in the below example.
- title: Drive impact faster and with confidence  # Use hero-content title here
  description: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.  # Use hero-content description here
  image: /assets/images/platform/platform_module3.png  # Use hero-content image path here
  button:
    - button-name: read more  # Use hero-content button name here
      button-href: "#" # Use hero-content url path here
      icon-button-name: Learn More  # Use hero-content icon-button name here
      icon-button-href: "#"  # Use hero-content icon-button-url path here
  tag: samples  # Use hero-content tag here
  • Step3: In the data file tag is a mandatory value. Without using tag Hero content will not be displayed.

How to add in page:

  • Step1: Add Hero content to the page using the include statement.
  • Step2: On the page use

<div class="darkout-section">{% include do-hero-content.html layout="image-right" tag="samples" vertical-alignment="center" %}</div>

  • Attributes:
    • Hero-content-type. (Mandatory)
      • Type-1.
    • Layout. (Mandatory)
      • Image-right.
    • Tag. (Mandatory)
      • Tag name eg: samples.
      • Use only one tag.
    • Class
      • Additional class can be used here.

Hero content mobile image order:

Output:

Video Title

This is a short description of the video. Simply put in the embed code for whatever video you want here. This is an HTML template, so whatever you want put here will work just fine.

Get your point across with video and a little bit of text.

Code:


<div class="darkout-section">
{% include do-hero-content.html layout="image-right" tag="samples" vertical-alignment="center" mobile-image-order="top" %}
</div>


How to add content:

  • Step1: Navigate to the data file for Hero content in _data > do-hero-content.yml
  • Step2: Add content to the data file as shown in the below example.
- title: Drive impact faster and with confidence  # Use hero-content title here
  description: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.  # Use hero-content description here
  image: /assets/images/platform/platform_module3.png  # Use hero-content image path here
  button:
    - button-name: read more  # Use hero-content button name here
      button-href: "#" # Use hero-content url path here
      icon-button-name: Learn More  # Use hero-content icon-button name here
      icon-button-href: "#"  # Use hero-content icon-button-url path here
  tag: samples  # Use hero-content tag here
  • Step3: In the data file tag is a mandatory value. Without using tag Hero content will not be displayed.

How to add in page:

  • Step1: Add Hero content to the page using the include statement.
  • Step2: On the page use

<div class="darkout-section">{% include do-hero-content.html layout="image-right" tag="samples" vertical-alignment="center" mobile-image-order="top" %}</div>

  • Attributes:
    • Hero-content-type. (Mandatory)
      • Type-1.
    • Layout. (Mandatory)
      • Image-right.
    • Tag. (Mandatory)
      • Tag name eg: samples.
      • Use only one tag.
    • Mobile Image Order: Use the order for hero content responsive image.
      • By default the image will be ordered based on column order.
      • Top:
        • Image will be displayed on the top for mobile devices.
      • Bottom:
        • Image will be displayed on the top for mobile devices.
    • Class
      • Additional class can be used here.