How to hide a page title

Solved
MichelleClark
Tourist
9 0 2

Hey there!

I'm wanting to hide titles on pages.  If anyone can help me that would be amazing!

 

Here is my page.liquid file:

<div class="grid">

<div class="grid__item post-large--two-thirds push--post-large--one-sixth">

<div class="section-header">
<h1 class="section-header--title">{{ page.title }}</h1>
</div>

<div class="rte">
{{ page.content }}
</div>

</div>

</div>

dmwwebartisan
Shopify Partner
7361 1742 2329

This is an accepted solution.

@MichelleClark 

You can comment out the title code using {% comment %} and {% endcomment %}

<div class="grid">

<div class="grid__item post-large--two-thirds push--post-large--one-sixth">

<div class="section-header">
{% comment %}
<h1 class="section-header--title">{{ page.title }}</h1>
{% endcomment %}
</div>

<div class="rte">
{{ page.content }}
</div>

</div>

</div>

Hope this works.

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
MichelleClark
Tourist
9 0 2

You're a legend thank you so much!

0 Likes