Boxed-in Photo

Short amounts of text and a link with a contained image.

On this page:

Best Practice

  • The large text should be succinct.
  • The smaller text can be longer, but try to keep it brief. Lengthy text will defeat the purpose of a Hero Block.
  • Don’t use more than the number of buttons shown in this Hero Block.
  • Do not use a random or decorative image.

Usage

Big text.

This is smaller text which explains this block. This is smaller text which explains this block.

ButtonText
Enter some Alt Text.
<div class="hero-boxed-in-photo">
  <div class="container-fluid">
    <div class="row justify-content-center align-items-center">
      <div class="col-10 col-md-6 col-lg-5">
        <h1 class="hero-big-text">Big text.</h1>
        <p class="hero-small-text">This is smaller text which explains this block. This is smaller text which explains this block.</p>
        <a href="#" class="btn btn-primary">ButtonText</a>
      </div>
      <div class="col-12 col-md-6 col-lg-7">
        <img class="img-fluid rounded shadow-sm" src="/img/photos/pexels-photo-275030.jpeg" alt="Enter some Alt Text.">
      </div>
    </div>
  </div>
</div>