How to center align page title (Ride theme)

How to center align page title (Ride theme)

WOOFESSENTIAL
Tourist
4 0 1

Hi,

We're using Ride theme for our store. All the page titles are aligned to the left, how can we change all page titles to be center aligned?

And the headings of Collage and Multicolumn are also left aligned, could we also get some help to edit those to be center aligned?

 

Thanks for your help!

Replies 6 (6)

EYCB
Shopify Partner
70 5 13

Hello 
You should try below code in your base.css which makes all page title and heading of collage and multi columns to the center.

h1{
text-align:center;
}
.multicolumn-card h3{
text-align:center;
}

banned

ZestardTech
Shopify Partner
5748 1050 1389

Hello There,

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >base.css and paste this at the bottom of the file:

h1.title--primary {
text-align: center;
}
.main-page-title {
text-align: center;
}
.multicolumn-card__info h3 {
text-align: center;
}
.multicolumn-card__info p {
text-align: center;
}
Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
WOOFESSENTIAL
Tourist
4 0 1

Thank you! It worked for the page title, but the headings of Collage and Multicolumn are still left aligned. 

GemPages
Shopify Partner
5625 1261 1243

Hi @WOOFESSENTIAL,

 

Glad to support you today.

 

To can align center the page title, you can check out my suggestion below to make it:

 

1. Go to Edit code on Online Store:

GemPages_0-1674112049283.png

 

2. add my code  above the </body> tag on Theme.liquid:

<style>

	.multicolumn-card__info p, 
	h1,
	.main-page-title,
	.multicolumn-card__info h3 {
		text-align: center !important;
	}
</style>

 

I hope you find the answer helpful.

Kind & Best regards,
GemPages Support Team.

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
shopuser2
Tourist
3 0 0

If you're coming back to this like I am, this solution works. 

RyanAnderson
Excursionist
30 1 1

Does not work for us