All things Shopify and commerce
Hello! I am looking to hide the page titles and description underneath the title from our men's and women's pages without affecting our SEO. I have tried several suggestions that the Shopify community recommended (like adding the following code at the bottom of our theme.css.liquid code.
.main-page-title {
display: none !important;
}
I have been in touch with Shopify's customer service and PageFly's customer service. No one has been able to help me. The theme we are using is Impulse.
Any help or advice would be greatly appreciated.
Solved! Go to the solution
This is an accepted solution.
Hi There, I installed Impulse theme in my store and it worked for me:
Go to Code Editor an search for layout/theme.liquid not assets/theme.css.liquid and paste it approx in line 14,15,..
Guide image:
Code:
{% if page.handle == "men" or page.handle == "women" %}
<style>
.page-content{
display: none !important;
}
</style>
{% endif %}
in Addition, code only affect on women and men pages and other pages will be visible, if you want that all the pages should be same so just use this code in same address:
<style>
.page-content{
display: none !important;
}
</style>
Hi @FREEDS1
Please share store url and page link as well where you want to hide it and please share password as well if store is password protected
Thanks!
Hello! The Store URL is: https://freeds.com/
The page we are looking to hide the page titles on are: https://freeds.com/pages/women and https://freeds.com/pages/men.
The site is not password protected
Hi @FREEDS1
use this code:
.page-content{
display: none !important;
}
Hi @FREEDS1
Put this code in theme.liquid before body closing tag
{% if page.handle == "men" or page.handle == "women" %}
<style>
.page-content {
display: none;
}
{% endif %}
Thanks!
I don't have a section called theme.liquid. I have a called "theme.css.liquid." I put it in the bottom of our code, and it's still not working
theme.liquid is base layout in shopify, If you search for theme, you will find that in code editor
Thanks!
Hi @FREEDS1
Please share store url and page link as well where you want to hide it and please share password as well if store is password protected
Thanks!
Hi @FREEDS1
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
This is an accepted solution.
Hi There, I installed Impulse theme in my store and it worked for me:
Go to Code Editor an search for layout/theme.liquid not assets/theme.css.liquid and paste it approx in line 14,15,..
Guide image:
Code:
{% if page.handle == "men" or page.handle == "women" %}
<style>
.page-content{
display: none !important;
}
</style>
{% endif %}
in Addition, code only affect on women and men pages and other pages will be visible, if you want that all the pages should be same so just use this code in same address:
<style>
.page-content{
display: none !important;
}
</style>
@FREEDS1
Have a look on my comment, that will work 100%
This worked! Thank you!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025