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!
In today’s interview, we sat down with @BSS-TekLabs to discuss practical strategies for...
By JasonH Nov 13, 2024The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024