Solved

Could someone tell me how do i center this or any section?

asajce
Visitor
3 0 1

 

asajce_1-1714405399737.png

 

(The section that needs to be centered)

 

www.tuttocapsule.lt (websites link)

 

I tried all the custom code I found on this page, doesn't seem to work...

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6035 1448 1784

This is an accepted solution.

Hi @asajce 

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:

 

section#shopify-section-template--19337829515531__collection_list_1 .collection-list__collections {
    display: flex;
    justify-content: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1714407875777.png

Note; this will be center on this specific collection only. 

 

 

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


View solution in original post

Replies 2 (2)
asajce
Visitor
3 0 1

Thank you for your quick answer! I'm not sure how to formulate my question correctly, could I just change the code for this specific section to be 3 column?

Made4uo-Ribe
Shopify Partner
6035 1448 1784

This is an accepted solution.

Hi @asajce 

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:

 

section#shopify-section-template--19337829515531__collection_list_1 .collection-list__collections {
    display: flex;
    justify-content: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1714407875777.png

Note; this will be center on this specific collection only. 

 

 

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