All things Shopify and commerce
Hello. I am trying to figure out how to add a black or color border around all of the product images on my site (schoolposters.com). Some of the other options I found in the forum for adding code to theme.scss.liquid have yet to work. I really appreciate any help you can provide.
Hey ^^,
Try to add this code at the bottom of your CSS file "theme.scss.liquid" (this edit is for your home page):
/* CUSTOM BORDER STYLE */
.product-card__image-with-placeholder-wrapper {
position: relative;
border: 2px solid #000;
padding: 17px 0;
}
.grid-view-item__image-wrapper {
margin: auto;
position: relative;
width: 100%;
}
For your product page edit the CSS file "jquery.rondellf26243.css" and add this code to the bottom:
/* CUSTOM BORDER STYLE */
.rondell-item-crop img {
border: solid 2px #000;
padding: 10px;
}
Hope it will help and let me know if it works 😉
User | RANK |
---|---|
43 | |
40 | |
24 | |
24 | |
22 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023