How can I hide specific page titles on my website?

I would like to hide the page title on two pages of my shopify site.

The ‘Thank You’ page and ‘Landing Page’.

my website is www.sweetnutrients.com.au

Could anyone help?

I have done alot of googling but the code in my page.liquid is a little too complex for me to understand fully.

Hello,

Simply add the following to your page.liquid…

{% if page.title contains ‘Thank You’ %}

.banner { display: none; }

{% endif %}

Thank You

"Want to customise or develop your Shopify store, Get in touch.

If this comment was helpful please Like and Accept Solution .

Email: [email removed]

northwoodstudio.com.au"

Thank you, however this did not work.

Hi @tendtome ,

Can you send me the link to these 2 pages? I will help you check it.

https://www.sweetnutrients.com.au/pages/landing-page

I’m Richard Nguyen - CRO Expert at PageFly- Free Landing Page Builder.

You can add my code as follows: theme → Edit > Search “theme.liquid”. Then paste the code before the tag:

{% if handle contains “landing-page” or handle contains “thank-you” %}

.page-title { display: none !important; }

{%endif%}

If you find my comment useful, please let me know by giving it a Like. Thank you!

Richard - PageFly

Hmmm…that also did not work. :disappointed_face:

Hi, if you can just send me a personal message and staff access i will get it done for you.. it is 2 min job…

https://prnt.sc/T1PeAEa5pzUh

you can change it by “” . because when you copy paste it shows wrong

Hi @tendtome ,

Please go to sections > main-page.liquid file and change code here:

Code:

{%- if page.handle != 'landing-page' -%}
    # 
      {{ page.title | escape }}
    
{%- endif -%}

Hope it helps!

Yes this worked now! Thank you!