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

Solved

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

asajce
Tourist
8 0 3

 

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
8382 2004 2463

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!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 2 (2)
asajce
Tourist
8 0 3

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
8382 2004 2463

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!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.