NicolaR Posted February 1 Share Posted February 1 I was changing the text in the checkout from "Check this box if you want a gift wrap" and I realized it would be better to "highlight it" by changing its color. I am using PrestaShop version 8.0.4. How to do this adding the code on custom.css file? I mean, what text should I add? Link to comment Share on other sites More sharing options...
ps8modules Posted February 2 Share Posted February 2 Hi. And are you using the classic template? Because each template can have its own CSS even for standard Prestashop functions and displays. Link to comment Share on other sites More sharing options...
NicolaR Posted February 2 Author Share Posted February 2 4 hours ago, ps8moduly.cz said: Hi. And are you using the classic template? Because each template can have its own CSS even for standard Prestashop functions and displays. Hi, yes I already edited the custom.css file into child_classic theme folder to increase price font/character size into product page. But to change color to the "Check this box if you want a gift wrap" at checkout I dont really know which is the code to add there. Link to comment Share on other sites More sharing options...
ps8modules Posted February 3 Share Posted February 3 (edited) Hi. CSS: /* text color for "I would like to receive my order in recycled packaging."*/ label[for=input_recyclable] { color: yellow !important; background: red !important; } /* text color for "I would like my order to be gift wrapped...."*/ label[for=input_gift] { color: red !important; font-weight: 600; } /* text color for "If you'd like, you can add a note to the gift:" */ label[for=gift_message] { color: green !important; } /* text color for gift message */ #gift_message { color: blue !important; } Edited February 3 by ps8moduly.cz (see edit history) Link to comment Share on other sites More sharing options...
NicolaR Posted February 5 Author Share Posted February 5 On 2/3/2024 at 6:14 AM, ps8moduly.cz said: Hi. CSS: /* text color for "I would like to receive my order in recycled packaging."*/ label[for=input_recyclable] { color: yellow !important; background: red !important; } /* text color for "I would like my order to be gift wrapped...."*/ label[for=input_gift] { color: red !important; font-weight: 600; } /* text color for "If you'd like, you can add a note to the gift:" */ label[for=gift_message] { color: green !important; } /* text color for gift message */ #gift_message { color: blue !important; } Thank you very much, it worked. 1 Link to comment Share on other sites More sharing options...
ps8modules Posted February 5 Share Posted February 5 I gladly helped 😉 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now