Greetings,
I know this question has been asked before and I tried those suggestions without success. I would like to have the images fill the space, and not have a white border around them.
Website is https://gifts-and-things-store-llc.myshopify.com/
Thanks in advance.
GATStore
@Kingwitty ,
Thanks for responding. Where would I find the " Image Block > Block > Fill Image Area." Not seeing it.
Thanks!
Hi @GATStore Please share the store preview password.
You want to do this on index page only?
@Ahsan_ANC
Yes, only on the home page. Thanks!
@GATStore
You can try this code
- Go to Online Store-> Theme->Edit code
- Asset-> theme.scss.css ->paste the below code at the bottom of the file.
.template-index .featured-card{
padding : 0 !important;
}
@Ahsan_ANC
Yes, that really helped. I would have liked a smaller white border if you can suggest any other changes. I did not have a theme.scss.css, but had a theme.scss.liquid.
If you do not have any additional suggestions, I will accept the above code as the solution.
This is the maximum you can increase.
@Ahsan_ANC
Understood. Thank you for the solution.
You can try this code also if it helps
.template-index .featured-card__image-container > div > img{
max-height: 270px !important;
}
.template-index .featured-card__image-container{
max-width: 270px !important;
}