Dawn theme center the blog section main heading

Solved

Dawn theme center the blog section main heading

castlefurniture
Excursionist
15 0 3

I'm trying to center all of the main headings of each section of my shop but it I can't seem to center the one for the blog section.

 

Store link: https://2bb416.myshopify.com/

 

I'm using these codes to center the collections and featured.

 

.collection__title .title, .collage-wrapper-title {
    text-align: center!important;
}

.collection-list-wrapper .title-wrapper-with-link {
    justify-content: center!important;
}

.main-blog .title--primary {
    text-align: center!important;
}

 

 

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
11333 2222 2391

This is an accepted solution.

Update code

.collection__title .title, .collage-wrapper-title {
    text-align: center!important;
}
.blog .title-wrapper-with-link,
.collection-list-wrapper .title-wrapper-with-link {
    justify-content: center!important;
}

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

View solution in original post

Replies 6 (6)

Dan-From-Ryviu
Shopify Partner
11333 2222 2391

Update your code 

.collection__title .title, .collage-wrapper-title {
    text-align: center!important;
}
.main-blog .title--primary,
.collection-list-wrapper .title-wrapper-with-link {
    justify-content: center!important;
}

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

castlefurniture
Excursionist
15 0 3

Blog section still seems to be not affected

castlefurniture_0-1703059622800.png

 

Dan-From-Ryviu
Shopify Partner
11333 2222 2391

This is an accepted solution.

Update code

.collection__title .title, .collage-wrapper-title {
    text-align: center!important;
}
.blog .title-wrapper-with-link,
.collection-list-wrapper .title-wrapper-with-link {
    justify-content: center!important;
}

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

castlefurniture
Excursionist
15 0 3

This worked thank you!

devmont-digital
Shopify Partner
173 33 43

Hi @castlefurniture,
Just write the below CSS in the style file it will center the BLOG POSTS heading.

 

.title-wrapper-with-link.title-wrapper--self-padded-tablet-down.title-wrapper--no-top-margin {
    justify-content: center;
}

 

blog-center.PNG

Found our answer helpful? If so, Don't forget to show your support by liking and accepting the solution.
Looking for more help and expert consultation? Feel free to contact us at Shopify Expert or visit our website www.devmontdigital.io
Hire us for your project by simply emailing us at sales@devmontdigital.io

sahilsharma9515
Shopify Partner
1270 165 246

Hi @castlefurniture Please add the code in your theme.css/base.css/style.css file which is available in your theme.

h2#SectionHeading-template--16213242708165__df4d2f4a-0699-43e1-b753-fd4fcc8a719f {
    display: grid;
}

.title-wrapper-with-link.title-wrapper--self-padded-tablet-down.title-wrapper--no-top-margin {
    justify-content: center !important;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1703063461599.png

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️