Hi all, i’m looking to add custom colored background to text metafield.
Right now i’m working on sense 2.0 ver 12.0.0.
the site you see here is on 8.0.0

€/capsula is the merafield where i would like to add custom colored background
Hi all, i’m looking to add custom colored background to text metafield.
Right now i’m working on sense 2.0 ver 12.0.0.
the site you see here is on 8.0.0

€/capsula is the merafield where i would like to add custom colored background
Hi @clavilla57
Do you mean like this?
If it is, check this one.
p.product__text.caption-with-letter-spacing font {
background: lightblue;
border-radius: 2px;
padding: 2px
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
is it possible to have different color for each metafield? cause i’m plnning to add another text metafield
tried right now, it doesn’t work unfortunely..any other solution?
Replace with this one.
p.product__text.caption-with-letter-spacing font {
background: lightblue !important;
border-radius: 2px;
padding: 2px
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Same code as before and doesn’t work
any other solution?
Oh, Sorry I miss some semi colon. Check this one again. Thanks!
p.product__text.caption-with-letter-spacing font {
background: lightblue !important;
border-radius: 2px !important;
padding: 2px !important;
}
And Save.
You can change the color background (lightblue) to colors you like.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
I’m the same person with the other admin account. unfortunely this also doesn’t work ![]()
Can you place on the theme.liquid file.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Nope, not working
I think i’m going to leave this as it is at this point
Would you mind helping me with this?
https://community.shopify.com/c/shopify-design/move-metafield-on-the-right-of-price/td-p/2336523