Solved

How can I align my page titles to the left side?

Justin34
Trailblazer
312 0 82

Hi all,

 

I am using the refresh theme. I want my page titles to be left align. My page width is wider. So I want the page title to match the width of the page. Just think it will look better.

 

You can view my site at www.PennsylvaniaParks.org

 

Thank you!!

ALL I THINK ABOUT IS OUR PARKS 🙂
Accepted Solution (1)

SomeUsernameHe
Shopify Partner
468 53 89

This is an accepted solution.

Hey what's up man, love the site!

I think I get what you are saying. You can try and use this CSS and see if it aligns with what you were thinking: 

h1.main-page-title.page-title.h0 {
    display: flex;
    justify-content: flex-start;
    max-width: 1140px;
    margin: auto;
}

 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee

View solution in original post

Replies 6 (6)

SomeUsernameHe
Shopify Partner
468 53 89

This is an accepted solution.

Hey what's up man, love the site!

I think I get what you are saying. You can try and use this CSS and see if it aligns with what you were thinking: 

h1.main-page-title.page-title.h0 {
    display: flex;
    justify-content: flex-start;
    max-width: 1140px;
    margin: auto;
}

 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Justin34
Trailblazer
312 0 82

Thanks for the code 🙂 where do I put that in my code? At the bottom of base.css?

 

Thanks again!

ALL I THINK ABOUT IS OUR PARKS 🙂
SomeUsernameHe
Shopify Partner
468 53 89

Yeah, you can try there. I always recommend starting in the Theme Customizer and checking your Theme Settings for anything like "Custom CSS". If not, the base.css would be perfect. 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Justin34
Trailblazer
312 0 82

Worked perfectly... Thank you... much appreciated 🙂

ALL I THINK ABOUT IS OUR PARKS 🙂
SomeUsernameHe
Shopify Partner
468 53 89

You are welcome! Message me sometime, I would love to donate some of my time to help out your site. I am an offroading/parks guy but out here on the West Coast! 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Justin34
Trailblazer
312 0 82

Awesome 🙂 I will be in contact sometime... I do plan to be national down the road but that's likely a good three to five years away.

ALL I THINK ABOUT IS OUR PARKS 🙂