Want to make your homepage stand out? Follow these simple steps to create eye-catching visuals and engaging content.
In this example, we'll show you how to copy the layout and styling of this exact full-width example, allowing you to customize the background image, text and link. Some coding experience is necessary, as you'll need to know where to place the code to insert the full-width section into your homepage.
If you're just looking for the magic, it's in the CSS. You can add this styling to almost any section you want to display full-width. This is just one of the many ways to apply this style to the Lionheart2 theme.
Let's get started.
{{#each records.GridFlex_created_asc_all}}
<div class="boxed-section" style="{{#if Image}}background-image: url('{{Image}}');{{/if}}{{#if Class}}grid-area:{{Class}}{{/if}}">
<h2>{{Headline}}</h2>
<p>{{Description}}</p>
<a href="{{URL}}">{{CTA}}</a>
</div>
{{/each}}
Voila! You've successfully created captivating full-width sections on your homepage.