Shopify themes, liquid, logos, and UX
Bonjour,
J'ai fait une modification de code que j'ai récupérer sur le forum mais ce n'était pas ce que je voulais. J'ai annulé la modification, mais ce n'est pas revenu à la normal.
Photo et description sur une colonne.
J'ai remis le code modifié.
Je n'ai pas dupliqué, mais là ce code à tout foirer.
Merci d'avance
Source :
Hi @Riz_bangee
You can try one of the following solutions:
Solution #1
1. In your Shopify Admin go to Online store > Themes > Actions > Edit code
2. In your theme.liquid file, find the </body> (press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:
<style>
@media (min-width: 749px){
.product.grid{
justify-content: center !important;
}
.product:not(.product--no-media):not(.featured-product) .product__media-wrapper{
max-width: 300px !important;
}
}
</style>
User | RANK |
---|---|
169 | |
151 | |
70 | |
46 | |
34 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023