Shopify themes, liquid, logos, and UX
i want all this image to be adapt to its original ratio.. right now maximum section height is 750px
URL : https://zappdrink.myshopify.com/collections/frontpage/products/zapp-lime-drink
Pass : Zapp
Solved! Go to the solution
This is an accepted solution.
@Emiway , remove previous code and try this one
.background-media-text--750 .background-media-text__container,
.background-media-text--750.background-media-text {
position: relative!important;
}
.background-media-text--750.background-media-text__spacer {
display:none!important;
}
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
@Emiway, add this code to the end of theme.css file
#shopify-section-template--17052487221293__background_image_text_iJdhxh img {
object-fit: contain!important;
}
Result:
If it helps you, please like and mark it as the solution.
Best Regards 😊
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
there are multiple images i want all images to be in there original ratio
You want all the images in your product page?
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
i had added those images with {large image with text block}
@Emiway, try this one
.background-media-text--750 img {
object-fit: contain!important
}
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
i pasted it on theme.css but its not working
This is an accepted solution.
@Emiway , remove previous code and try this one
.background-media-text--750 .background-media-text__container,
.background-media-text--750.background-media-text {
position: relative!important;
}
.background-media-text--750.background-media-text__spacer {
display:none!important;
}
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: Navigate to your Shopify admin panel and go to "Online Store."
Step 2: Click on "Themes" and then select Edit code
Step 3: Find base.css
Bellow image will fit allo
img.image-fit.background-media-text__image {
object-fit: contain !important;
}
hope it will solve your issues.
Thank you
i want that image to be full widht without losing its original ratio
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