Re: Collection Title is centered on desktop but not mobile | Dawn

Solved

Collection Title is centered on desktop but not mobile | Dawn

minoritywetrust
Excursionist
18 0 6

Screenshot 2024-03-20 at 1.40.13 AM.pngIMG_0061.PNG

 

 

Also would it be possible to center the "drop 1.2.3" text as well. 

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
11754 2305 2488

This is an accepted solution.

Hi @minoritywetrust 

Please add this code to your theme.liquid file, after <head>, in Online Store > Themes > Edit code 

<style>
.collection-list .card__heading {
    text-align: center;
}
.section-collection-list .collection-list-wrapper .title-wrapper-with-link {
    justify-content: center !important;
}
</style>

- Helpful? Like & Accept solution! - Support me: Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

View solution in original post

Replies 7 (7)

dmwwebartisan
Shopify Partner
12369 2558 3744

@minoritywetrust 

Please share your store URL!

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
minoritywetrust
Excursionist
18 0 6

sahilsharma9515
Shopify Partner
1280 165 250

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

 

.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-1710915704741.png

 

Regarding Changing the Text: You can change the text by editing it through the collection as it seems like you have attached your collections in this section and the text is rendering from there.

 

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


Dan-From-Ryviu
Shopify Partner
11754 2305 2488

This is an accepted solution.

Hi @minoritywetrust 

Please add this code to your theme.liquid file, after <head>, in Online Store > Themes > Edit code 

<style>
.collection-list .card__heading {
    text-align: center;
}
.section-collection-list .collection-list-wrapper .title-wrapper-with-link {
    justify-content: center !important;
}
</style>

- Helpful? Like & Accept solution! - Support me: Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

minoritywetrust
Excursionist
18 0 6

thank you kindly. 

Dan-From-Ryviu
Shopify Partner
11754 2305 2488

Very welcome!

- Helpful? Like & Accept solution! - Support me: Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

niraj_patel
Shopify Partner
2391 516 516

Hello @minoritywetrust 

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>
@media screen and (min-width:767px){
  .title-wrapper-with-link {
     justify-content: center !important;
     align-items: center !important;
  }
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com