We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Center blog post name dawn theme

Solved

Center blog post name dawn theme

JordiP
Explorer
53 0 10

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
762 112 129

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 3 (3)

Tech_Coding
Shopify Partner
520 133 131

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
762 112 129

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
53 0 10

Thank you!