Shopify themes, liquid, logos, and UX
hey, if you click on my products, you will notice that the page is not centered, is there a way to fix that?
URL: sixdreamz.com
Solved! Go to the solution
This is an accepted solution.
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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (min-width: 990px) {
/* product info */
.product--medium:not(.product--no-media) .product__media-wrapper, .product--small:not(.product--no-media) .product__info-wrapper {
max-width: 50%;
width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
}
/* product media */
.product--medium:not(.product--no-media) .product__info-wrapper, .product--small:not(.product--no-media) .product__media-wrapper {
max-width: 50%;
width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
}
}
</style>
And Save.
result:
I make it 50-50. You can adjust te max-width whatever you want.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @sixdreamz
It looks like not but it is center.
Product information are more width than the image product.
is it possible to move it more to the right?
This is an accepted solution.
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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (min-width: 990px) {
/* product info */
.product--medium:not(.product--no-media) .product__media-wrapper, .product--small:not(.product--no-media) .product__info-wrapper {
max-width: 50%;
width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
}
/* product media */
.product--medium:not(.product--no-media) .product__info-wrapper, .product--small:not(.product--no-media) .product__media-wrapper {
max-width: 50%;
width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
}
}
</style>
And Save.
result:
I make it 50-50. You can adjust te max-width whatever you want.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025