Shopify themes, liquid, logos, and UX
Hello,
I'm having some trouble with the way my product images are displayed and aligned on the homepage. As you can see there is a massive gap between the product name of the bucket hat and the choose options button.
I have been informed that to manually adjust the gap, this will require an expertise with coding and wanted to see if anyone could help me with that! Thank you!
hello @mandysuen
can you please send me the Website URL.
thanks
hello @mandysuen
also give me the password
@mandysuen , follow this post it could help you 🙂
https://community.shopify.com/c/shopify-design/product-cards-alignment/m-p/2742748
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body> tag
<style>
.card__content .card__information {
display: flex;
flex-direction: column;
justify-content: end;
}
</style>
Result
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
@mandysuen , you want to move it to bottom or center?
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
@mandysuen , change the code like i mention below
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
@mandysuen , change the previous code like this
<style>
.card__content .card__information {
display: flex;
flex-direction: column;
justify-content: end;
}
.card .card__media img {
object-fit: contain;
}
.card__content {
flex-grow: unset;
}
.card__inner {
flex-grow: 1
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi @mandysuen
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.card__content {
flex-grow: 0;
}
.card:not(.ratio) {
display: flex;
flex-direction: column;
height: 100%;
gap: 10%;
justify-content:flex-end
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
The above is not working. Screen capped what I have added to see if I'm doing something wrong?
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