Home › Forums › WordPress Themes – Premium › Pure & Simple › Post a Comment Background Color
Hi again! I wanted to know if you could please advise on how to change the background color for the Post Comment button:
http://www.chrissybcrafts.com/ideas/june-ideas/
I would like for it to be pink. I searched high and low for the code in both the style sheet as well as the location of the PHP code in case I needed to change the css class there. Finally, I’m giving in to contact you. Thank you so much for your patience.
Hi there,
Please add this following css on child theme style.css file to change color of post comment.
.single-post .btn.green {
background-color: #f597cc;
}
Note: You can change background color value as per your requirement. You can see here for different color code:
http://www.w3schools.com/cssref/css_colors.asp
And to change background color on hover you use this css:
.btn.green:hover, .btn.green:focus, .btn.green:active, .btn.green.active {
background-color: #f597cc;
color: #fff;
}
Here also you can change the background color value as per your requirement. You can see here for different color code:
http://www.w3schools.com/cssref/css_colors.asp
Note: Please use child theme style.css file to add custom css otherwise your changes will lost on theme update
Let us know how it will goes.
Thanks
Thank you again, Sushil! 🙂
Hi Judy,
You are welcome ! if you face any problem in future then please feel free to contact us.
Thanks
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.