This topic has 13 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Robert Hall
Hello guys. I would like to change the color of the SUBMIT button on the “reviews” tab within the single-product page. Also:
Change the text color inside the button.
Change the hover colors of both the button and text inside.
Also, the button to be radiused corners.
I’m basically needing it to match the look of all my other buttons on the site.
What is the code to add for this please? 🙂
Hello,
Please try to add this code in 8theme Options->Styling->Custom CSS->Global Custom CSS.
#review_form input[type=submit]{
border-radius: 5px;
background-color: #C6C6C6;
}
#review_form input[type=submit]:hover{
background-color: #444;
color: #c6c6c6 !important;
}
Regards,
Robert Hall
Thanks Robert. Worked just fine. And to change the hover color of the stars to #ad2121 for the rating?
Also, to change the stylings for “Leave a reply”?
Thanks a bunch kind sir!
Hello,
In this case you should change the star image (star.png
file) with your color in wp-content/themes/classico/images/ folder and replace it via FTP.
Also, to change the stylings for “Leave a reply”?
Please use this code in Global Custom CSS
.comment-respond h3 {
color: #B11A1A;
}
Regards,
Robert Hall
Works excellent. Thank you! Now how do I make sure this is kept when I update the theme? Any tips?
Don’t worry, all the CSS styles placed in Global Custom CSS will not be lost after upgrading the theme in the future!
Regards,
Robert Hall
lol Sorry…I meant when changing the .png star file. I know that isn’t necessarily kept. 🙂
In this case we recommend you to use the Child Theme.
Please copy a new star.png file into it saving folder structure like:
wp-content/themes/classico_child/images folder.
Regards,
Robert Hall
Got it and done. Works fine. I am confused on one thing though.
Why does the child theme take precedence when the call out for the file has been made? They both have the same file structure except one is in the Child…the other in Classico. I hope that made sense.
Thanks for all the help Robert!
Pretty much along the same platform here as the above “submit” button changes, what would be the code to change the “search” button colors/hover/text color/radius corners on the Search sidebar widget I’m using?
Again, needs to resemble all the other buttons on the site. I hope I”m not missing any other buttons that need a style change.
Thanks so much!
Hello,
In this case please add the following code in Global Custom CSS
.woocommerce.widget_product_search .woocommerce-product-search input[type="submit"]{
border-radius: 5px;
background-color: #C6C6C6;
}
.woocommerce.widget_product_search .woocommerce-product-search input[type="submit"]:hover{
background-color: #444;
color: #c6c6c6 !important;
}
Regards,
Robert Hall
Thank you once again! Perfect.
You’re welcome!
Regards,
Robert Hall
The issue related to '‘Changing SUBMIT button on reviews tab’' has been successfully resolved, and the topic is now closed for further responses