Shopify themes, liquid, logos, and UX
Hi!
How can I enlarge images in the landing page under the columns/images section?
rheakalo.com (the 3 images under the main large one)
Solved! Go to the solution
This is an accepted solution.
@RheaKalo , Use this code before </body> in theme .liquid file
<style>
@media screen and (min-width: 768px) {
.feature-row__image-wrapper .feature-row__image {
max-width: 100% !important;
max-height: 100% !important;
height: 100%;
object-fit: cover;
}
.feature-row__image-wrapper {
max-width: 100% !important;
flex: 1
}
#shopify-section-feature_columns_qYaeVh .grid__item {
display: flex;
flex-direction: column;
justify-content: space-between;
height: inherit!important;
float: none;
}
#shopify-section-feature_columns_qYaeVh .grid {
display: flex;
}
}
</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
Hello @RheaKalo
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file base.css, theme.css, styles.css, custom.css or theme.scss.liquid
Step 3: Insert the below code at the bottom of the file -> Save
<style>
.feature-row__image-wrapper .feature-row__image {
max-width: 100% !important;
max-height: 100% !important;
object-fit: cover;
}
.feature-row__image-wrapper {
max-width: 100% !important;
}
.feature-row__image-wrapper div {
padding-top: 100% !important;
}
</style>
See images
Best Regards,
Dws_pvt_ltd
Hey @RheaKalo
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (min-width: 768px) {
.feature-row__image-wrapper .feature-row__image {
max-width: 100% !important;
max-height: unset !important;
}
.feature-row__image-wrapper {
max-width: 100% !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
thank you. this didn't work.. the stayed the same size..
Apologies for the confusion, I've updated the code. Kindly try it out again.
Best Regards,
Moeed
See my result and add my CSS to your store. Thank you.
This is an accepted solution.
@RheaKalo , Use this code before </body> in theme .liquid file
<style>
@media screen and (min-width: 768px) {
.feature-row__image-wrapper .feature-row__image {
max-width: 100% !important;
max-height: 100% !important;
height: 100%;
object-fit: cover;
}
.feature-row__image-wrapper {
max-width: 100% !important;
flex: 1
}
#shopify-section-feature_columns_qYaeVh .grid__item {
display: flex;
flex-direction: column;
justify-content: space-between;
height: inherit!important;
float: none;
}
#shopify-section-feature_columns_qYaeVh .grid {
display: flex;
}
}
</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
THANKS! this worked - but the buttons are now very elongated. can the box be just around the fonts?
@RheaKalo, Sure change the previous code like this
<style>
@media screen and (min-width: 768px) {
.feature-row__image-wrapper .feature-row__image {
max-width: 100% !important;
max-height: 100% !important;
height: 100%;
object-fit: cover;
}
.feature-row__image-wrapper {
max-width: 100% !important;
flex: 1
}
#shopify-section-feature_columns_qYaeVh .grid__item {
display: flex;
flex-direction: column;
justify-content: space-between;
height: inherit!important;
float: none;
align-items: center;
}
#shopify-section-feature_columns_qYaeVh .grid {
display: flex;
}
#shopify-section-feature_columns_qYaeVh .grid .btn {
width: fit-content;
}
}
</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
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