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
6944 1313 1339

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;
}

- Helpful? Like or Accept solution, - Coffee Tips or Paypal Tips
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 1 month of Shopify for $1. Sign up now

View solution in original post

Replies 6 (6)

Dan-From-Ryviu
Shopify Partner
6944 1313 1339

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;
}

- Helpful? Like or Accept solution, - Coffee Tips or Paypal Tips
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 1 month of Shopify for $1. 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
6944 1313 1339

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;
}

- Helpful? Like or Accept solution, - Coffee Tips or Paypal Tips
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 1 month of Shopify for $1. Sign up now

castlefurniture
Excursionist
15 0 3

This worked thank you!

devmont-digital
Shopify Partner
31 3 4

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 info@devmontdigital.io

sahilsharma9515
Shopify Partner
601 66 97

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! ❤️