Sense Theme: how to center featured collection tiles/cards

Solved

Sense Theme: how to center featured collection tiles/cards

ZeusTeck
Visitor
2 1 1

Hi! I've tried so many things in my collections, Base.css, sections/template files and can't get my featured collections cards on the home page to be centered on the page. Giving up hope, please help! any help would be greatly appreciated.

 

https://zeusservices.org/

 

Screenshot 2024-09-30 095217.png

Accepted Solutions (2)

ZeusTeck
Visitor
2 1 1

This is an accepted solution.

That code Solved it! THANK YOU! I appreciate your time and effort.

 

It didn't work in the base.css but I tried in the custom code CSS section in the website editor and it worked. 

Screenshot 2024-09-30 101634.png

View solution in original post

gutenplayer
Shopify Partner
195 28 24

This is an accepted solution.

@ZeusTeck hi, if its helpful please 

Mark it as an Accepted Solution.
Thank you
Was my reply helpful? Click Like to let me know! Was your question answered? Mark it as an Accepted Solution.

View solution in original post

Replies 4 (4)

gutenplayer
Shopify Partner
195 28 24

@ZeusTeck 



Please go to
1) Online store
2) Themes -> Edit theme
3) asstes
4) base.css and add this code end of the file

 

.slider-mobile-gutter .grid {
    justify-content: center !important;
}

result:
gutenplayer_0-1727705391316.png

 

 

I hope it works for you, let me know, and If you'd like to discuss this more, don't hesitate to send me a PM
Was my reply helpful? Click Like to let me know! Was your question answered? Mark it as an Accepted Solution.

websensepro
Shopify Partner
1217 135 156

Hi @ZeusTeck 
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
ul#Slider-template--18680492785900__featured_collection_HW6YwF {
    display: flex !important;
    justify-content: center !important;
}

h2.title.inline-richtext.h1.scroll-trigger.animate--slide-in {
    text-align: center !important;
}
</style>

websensepro_0-1727705637642.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

If you like my help, you can help me buy a COFFEE

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

ZeusTeck
Visitor
2 1 1

This is an accepted solution.

That code Solved it! THANK YOU! I appreciate your time and effort.

 

It didn't work in the base.css but I tried in the custom code CSS section in the website editor and it worked. 

Screenshot 2024-09-30 101634.png

gutenplayer
Shopify Partner
195 28 24

This is an accepted solution.

@ZeusTeck hi, if its helpful please 

Mark it as an Accepted Solution.
Thank you
Was my reply helpful? Click Like to let me know! Was your question answered? Mark it as an Accepted Solution.