Shopify themes, liquid, logos, and UX
Hello
I've been having trouble for a while now getting my collection centered here on my home page. I have tried a lot of code in base.css but none of it works. hope someone can help me solve this problem.
Website: www.TruthTrust.dk
code: PINK
here are some pics of what it looks like:
and here is a pic of how i want it to look:
Solved! Go to the solution
This is an accepted solution.
Hello! @JoyDion Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file.
.grid {
justify-content: center;
}
body .card__inner.gradient {
background: #f2f2f2 !important;
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Thank you
k.K
This is an accepted solution.
Hello! @JoyDion Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file.
.grid {
justify-content: center;
}
body .card__inner.gradient {
background: #f2f2f2 !important;
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Thank you
k.K
Hello @AdamT06
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 .grid {
justify-content: center;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello @AdamT06
Go to online store ---------> themes --------------> actions ------> edit code------->base.css
add this code at the end of the file.
.grid {
justify-content: space-evenly;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hi @AdamT06
It seems like the current collection page is working as you wanted.
Could you please clarify what you require exactly?
- Here is the solution for you @AdamT06
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.grid:last-child {
justify-content: center !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024