Liquid, JavaScript, themes, sales channels
Hello
I have created a product template in the Dawn Theme so certain products can display a metafield.
I need to change the design elements of a text box section that I have added the metafield to. I want to hightlight the area so it looks like this.
I've used the inspect tool to work out the css to highlight the background.
background: peachpuff;
padding-inline: 3%;
max-width: fit-content;
Can someone please tell me where I add the css in theme code to implement this style??
Many thanks
Solved! Go to the solution
This is an accepted solution.
@Joselena
Paste this code on top of the section-main-product.css file.
p.product__text.subtitle {
background-color: #FFDAB9 !important;
max-width: fit-content !important;
}
Thank You.
Hii, @Joselena
Kindly share your store URL so,
I can solve it perfectly.
Thank You.
This is an accepted solution.
@Joselena
Paste this code on top of the section-main-product.css file.
p.product__text.subtitle {
background-color: #FFDAB9 !important;
max-width: fit-content !important;
}
Thank You.
Thank you very much!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024