Shopify themes, liquid, logos, and UX
Hello,
I am facing the following issue. I want to center my product pictures and also my footer texts. As you can see the product pictures and the footer menus and texts are slightly to the left:
Solved! Go to the solution
This is an accepted solution.
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>
.footer-block__details-content>li:not(:last-child) {
margin-right: unset !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello @PabloPier
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
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>
ul#Slider-template--22729342484803__featured_collection {
justify-content: center !important;
}
.footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet.scroll-trigger.animate--slide-in {
text-align: center !important;
}
.collection__title.title-wrapper {
text-align: center !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
All good just one thing. The footer texts inside the menus are not centered as they were before:
@PabloPier
use this css
@media screen and (min-width: 750px) {
.footer-block__details-content>li:not(:last-child) {
margin-right: 0;
}
}
Still the same.
@PabloPier
you want like this ?
@PabloPier
use this end of base.css file
@media screen and (min-width: 750px) {
.footer-block__details-content>li:not(:last-child) {
margin-right: 0 !important;
}
}
try to add important also add CSS code in the end of CSS file
The texts like "About us", "Contact us" etc. are not centered anymore like they used to be.
This is an accepted solution.
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>
.footer-block__details-content>li:not(:last-child) {
margin-right: unset !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
.card__heading {
text-align: center;
}
.footer-block {
text-align: center;
}
@media screen and (min-width: 750px) {
.footer-block__details-content>li:not(:last-child) {
margin-right: 0;
}
}
@PabloPier
result
@PabloPier for product images use
.collection slider-component ul {justify-content: center;}
result is:
Hi @PabloPier
I check your store, the product already align into center. But on the product your lacking 1 product it must be 4 product so it level. So it showed look like in the left.
If you dont have plan to add you can check this code.
.contains-card--product {
justify-content: center;
}
.footer-block.grid__item.scroll-trigger {
text-align: center;
}
It worked but the texts inside the footer menus got re-centered:
Oh i centered it, as you requested.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025