Hi everyone,
Below the atc button we use a white field but we want it to have a very small raster in the color of the package around the white field. How can we do this?
URL is www.lunalucente.com
Kind regards!
A user wants to add a small colored border (raster) around a white text field below the add-to-cart button on their Shopify store, matching their package color.
Solutions Proposed:
.m-product-description.rtebox-shadow CSS solution using RGBA color values to create the border effect around the text fieldThe discussion remains open as the original poster hasn’t confirmed which solution worked. All responses involve custom CSS modifications to the theme files.
Hi everyone,
Below the atc button we use a white field but we want it to have a very small raster in the color of the package around the white field. How can we do this?
URL is www.lunalucente.com
Kind regards!
Online store → edit code of your theme
Search product.css
and then add this code:
.m-product-description.rte {
padding-top: 5px !important;
}
Check this one.
.main-product__block.main-product__block-description {
margin-top: 12px;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi,
What i meant more was making a raster around the white text field in a customizable color.
try the following code:
.m-product-description.rte {
box-shadow: 0 1px 2px 0 rgba(58, 72, 80, .07), 0 6px 13px 0 rgba(176, 189, 197, .14);
}