Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to remove title on pages in origin theme

Solved

How to remove title on pages in origin theme

lelestore1
Tourist
6 0 2

My contact us page and about us page have a mandatory title. How can I remove the title OR center them as they are on the left of the page now. My website is www.boxywallets.com for reference. 

Accepted Solution (1)

Guleria
Shopify Partner
4146 809 1164

This is an accepted solution.

Hello @lelestore1 ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your base.css file and paste the following code below:

To hide the title:

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

 

To center the title:

.main-page-title { 
text-align: center !important; 
}

 

Note: Don't use it in theme.liquid before </head> or </body> tag
it's a good practice to organize your styles into separate CSS files and include them in the appropriate sections of your Shopify theme. This follows best practices for web development, making your code more modular, reusable, and maintainable.


Thanks

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

View solution in original post

Replies 3 (3)

ZenoPageBuilder
Shopify Partner
1052 203 229

Hello @lelestore1 👋

In Shopify Admin, you can go to Edit code, open the file base.css and add one of these code at the bottom

 

Hide the title

.page-title {
    display: none;
}

 

Center the title

.page-title {
    text-align: center;
}

 

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com

Dan-From-Ryviu
Shopify Partner
11693 2292 2472

Hi @lelestore1 

If you wan to hide the title of those pages, please add this code in your Online store > Themes > Edit code > theme.liquid before </head> tag 

<style>
.main-page-title { display: none !important; }
</style>

If you want to align center it, please use this code 

<style>
.main-page-title { text-align: center !important; }
</style>

 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- 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.

Guleria
Shopify Partner
4146 809 1164

This is an accepted solution.

Hello @lelestore1 ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your base.css file and paste the following code below:

To hide the title:

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

 

To center the title:

.main-page-title { 
text-align: center !important; 
}

 

Note: Don't use it in theme.liquid before </head> or </body> tag
it's a good practice to organize your styles into separate CSS files and include them in the appropriate sections of your Shopify theme. This follows best practices for web development, making your code more modular, reusable, and maintainable.


Thanks

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder