Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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,
Solved! Go to the solution
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 %}
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' %}
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!
Hello, thanks for your response, but it didn't work....
Hello, thanks for your response, but it didn't work....
.page-width h2[data-start='253'] {
display: none !important;
}
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.
- 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.
- Enjoy 1 month of Shopify for $1. Sign up now.
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 %}
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' %}