DAWN THEME 12.0.0 - Custom Text on homepage image banner (with code)

LuisZen
Visitor
1 0 0

Hello I am using the newest dawn theme, and I want to customize the image banner text but only on the homepage. 

{% if page.url == '/' %}
  <div class="banner">
    <h1> H1-Text </h1>
    <h2>H2-Text</h2>
  </div>
{% endif %}

I tried it like that, but couldnt find where to put it. I tried it in image-banner.liquid but nothing happ

Replies 0 (0)