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

Moving Product Collection to the center

Solved

Moving Product Collection to the center

TuneToyz
Explorer
91 0 22

Hello,

My website is tunetoyz.com password:tunetoyz123

When you go to my shop page it looks like this, but I want it to be centered and the text to be centered kind of like the other image I attached. 

Screen Shot 2024-10-18 at 11.24.37 PM.png

I want it to look like this

Screen Shot 2024-10-18 at 11.24.19 PM.png

Thank you so much for your help!

Accepted Solution (1)

Tech_Coding
Shopify Partner
520 133 131

This is an accepted solution.

Hello @TuneToyz 

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>
   .collection ul.grid.product-grid {
      justify-content: center !important;
   }
   .collection .card__information, .card-information {
       text-align: center !important;
   }
</style>

Tech_Coding_0-1729322234905.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.

View solution in original post

Replies 3 (3)

devcoders
Shopify Partner
1654 190 520

Hello @TuneToyz 

Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css.
Add the provided code at the end of the file.

.collection .product-grid {
justify-content: center;
}

devcoders_0-1729320297159.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

GTLOfficial
Shopify Partner
881 182 192

Hello @TuneToyz 
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

@media screen and (min-width: 750px) {
.grid {
justify-content: center !important;
}
}

result
12.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

Tech_Coding
Shopify Partner
520 133 131

This is an accepted solution.

Hello @TuneToyz 

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>
   .collection ul.grid.product-grid {
      justify-content: center !important;
   }
   .collection .card__information, .card-information {
       text-align: center !important;
   }
</style>

Tech_Coding_0-1729322234905.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.