Help to delete page title

Solved

Help to delete page title

PAUL8
Pathfinder
94 0 29

Hello, 
I want to delete the title on a specific page, what is the code to do it ? 
I use dawn theme and my website is womber.fr (password: PROPAGANDAAA)

best regards,

 

Capture d'écran 2025-03-24 230414.png

Accepted Solution (1)

EBOOST
Shopify Partner
1395 351 428

This is an accepted solution.

Hi @PAUL8 ,

May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code
2. Sections/main-page.liquid
3. Refer the screenshot to add code below

{% assign page_title = page.title | escape %}
  {% unless page_title == 'I need to delete this' %}
{% endunless %}

EBOOST_0-1742875253478.png

If you want to ignore another page. You can add more condition in the unless

ex: Code below ignore page's title is 'I need to delete this'  and 'Contact'

{% assign page_title = page.title | escape %}
  {% unless page_title == 'I need to delete this' and page_title == 'Contact' %}

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips

View solution in original post

Replies 6 (6)

Michael-Thomas
Shopify Partner
86 16 22

Hi @PAUL8 

 

Try adding this CSS under the TS > custom CSS

 

h2[data-start="253"][data-end="285"]{display:none}

 

Hope that helps. 

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!

PAUL8
Pathfinder
94 0 29

Hello, thanks for your response, but it didn't work....

PAUL8
Pathfinder
94 0 29

Hello, thanks for your response, but it didn't work....

SafeerAhmed
Excursionist
43 9 11
 
try adding this at the end of your assets/base.css file
 
.page-width h2[data-start='253'] {
 display: none !important;
}
Safeer Ahmed | Shopify Expert & Developer
Specialist in Shopify Development & Custom Shopify Solutions
Let's connect:safeerahmed23901@gmail.com
If my response helped, give it a like & mark it as a solution!

Dan-From-Ryviu
Shopify Partner
11561 2263 2447

Please add this code to Custom CSS in Sales channels > Online Store > Themes > Customize > Settings 

#shopify-section-template--24611489808649__main .main-page-title { display: none; }

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

EBOOST
Shopify Partner
1395 351 428

This is an accepted solution.

Hi @PAUL8 ,

May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code
2. Sections/main-page.liquid
3. Refer the screenshot to add code below

{% assign page_title = page.title | escape %}
  {% unless page_title == 'I need to delete this' %}
{% endunless %}

EBOOST_0-1742875253478.png

If you want to ignore another page. You can add more condition in the unless

ex: Code below ignore page's title is 'I need to delete this'  and 'Contact'

{% assign page_title = page.title | escape %}
  {% unless page_title == 'I need to delete this' and page_title == 'Contact' %}

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free. Github.com/eboost10
- ❤❤DONATE ❤❤Coffee tips