Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Center blog post name dawn theme

Solved

Center blog post name dawn theme

JordiP
Explorer
51 0 9

Hello, how do I center the name of my blog post? Thank you!

 

JordiP_0-1728913443503.png

( ^ I want to center the highlighted part )

 

Store: artisimo.es

Pass: pongia

 

Accepted Solution (1)

pawankumar
Shopify Partner
627 93 115

This is an accepted solution.

@JordiP 
Please try this css in theme.liquid before body closing tag </body>

<style>
   h1.article-template__title {
      text-align: center !important;
   }
</style>

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

Replies 4 (4)

comercioservice
Shopify Partner
265 37 31

@JordiP  

 
hi Hope you are well,
I’ve taken a look at what you need—just a little CSS magic, and everything will be fixed! Follow my steps, and you'll have it sorted in no time!

1, from admin, go to Online Store > Themes.
2, Actions > Edit code for your active theme.
3, Find and open the theme.liquid file, maybe in the Layout folder.
4, Look for the </head> tag and paste the code in the end

 

<style>
h1.article-template__title {
    text-align: center;
}
</style>
​

 

result: 

gutenplayer_0-1728917828343.png

 

 

I hope it works for you, let me know, and If you'd like to discuss this more, don't hesitate to send me a PM
Thank you
Was my reply helpful? Click Like to let me know! Was your question answered? Mark it as an Accepted Solution.
Need store customizations, bug fixing or development ? Contact with us -- Support form for quick quote!
BFCM Big Deals: Big savings 25% off -on our Shopify FAQs apps!

Tech_Coding
Shopify Partner
417 110 99

Hello @JordiP 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   h1.article-template__title {
      text-align: center !important;
   }
</style>

Tech_Coding_0-1728918568502.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

pawankumar
Shopify Partner
627 93 115

This is an accepted solution.

@JordiP 
Please try this css in theme.liquid before body closing tag </body>

<style>
   h1.article-template__title {
      text-align: center !important;
   }
</style>

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
JordiP
Explorer
51 0 9

Thank you!