How to center the date on new blog posts in Brooklyn theme?

LauraCortes
Shopify Partner
3 0 3

Hi, I need help centering the date. The old blog posts have the date centered, but when I add a new one, it is on the left side of the page and looks ugly. this is Brooklyn template.

Screenshot 2024-02-14 at 9.31.34 AM.pngScreenshot 2024-02-14 at 3.08.21 PM.png

Replies 7 (7)

Made4uo-Ribe
Shopify Partner
5966 1433 1770

Hi @LauraCortes 

Would you mind to share your store URL? Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


LauraCortes
Shopify Partner
3 0 3
Made4uo-Ribe
Shopify Partner
5966 1433 1770

Thanks for the info, check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

header.section-header.text-center p {
    text-align: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1707948344171.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


ZenoPageBuilder
Shopify Partner
1052 203 218

Hello @LauraCortes 👋

In Shopify Admin, you can go to Edit theme code, open file theme.scss.liquid and add this code at the bottom

#shopify-section-article-template .section-header p {
    text-align: center !important;
}

The result

Screenshot 2024-02-15 at 07.48.51.png

Hope that helps!

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

hey, thanks! can you confirm if would be here:Screenshot 2024-02-15 at 9.13.15 AM.png

Made4uo-Ribe
Shopify Partner
5966 1433 1770

Go to Asset folder, find the theme.scss.css file and paste the code on the very last line. 

 

Thanks! 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


SaPl
Tourist
7 0 0

Hi, how are you, Made4uo-Ribe?

I hope you are doing well . .

 

I'm trying to figure out,

 

How to Remove the DATE on blog post Pages in 'Brooklyn theme'?

 

Thank you very much & look forward to hearing from you Soon . . 🙂

 

How to Remove the DATE on blog post Pages in 'Brooklyn theme'.jpg