All things Shopify and commerce
Hi,
Been wanting to remove page titles from all of my pages on every page in Shopify but having diffuculties when inputing the code. I don't have base.css or theme.css.liquid. Where do I input the code and what code exactly? Using the debut theme.
Many thanks,
Andrew Bell
Solved! Go to the solution
This is an accepted solution.
Thanks for the info, do you mean this headers?
If it is try this one.
main#MainContent h1 {
display: none;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
@bellandrew96 Hey, thanks for posting here.
Edit theme.liquid File (Recommended)
<h1 class="page-title">{{ page.title }}</h1>
5. Either delete this line or comment it out like this
{%- comment -%}
<h1 class="page-title">{{ page.title }}</h1>
{%- endcomment -%}
6. Click Save and check if the page titles are removed.
Hi @bellandrew96,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
.page-title {
display: none !important;
}
Hi there @bellandrew96 You should head to the Edit Code section then base.css and then copy and paste this code
.section-template--18140824568087__main-padding > h1.main-page-title.page-title.h0 {
display: none !important;
}
Let me know if it works for you.
Hi, haven’t got base.css
<style>
.section-template--18140824568087__main-padding > h1.main-page-title.page-title.h0 {
display: none !important;
}
.page-title {
display: none !important;
}
</style>
Please, share your store URL. Thanks!
also have an issue with the random code showing at the bottom of the page would you be able to help with that also?
This is an accepted solution.
Thanks for the info, do you mean this headers?
If it is try this one.
main#MainContent h1 {
display: none;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025