oscarmiike Posted February 8, 2022 Posted February 8, 2022 Site URL: http://22carat-ewok.com/hexv1/yay Hi, I was wondering if someone could help me change the colour of my 'star ratings' for product review. I can't seem to find anything in the site style/design section that allows me to change this. Currently they're black, which makes it look like no stars have been added to the customer's review. Many thanks, OM
Solution paul2009 Posted February 8, 2022 Solution Posted February 8, 2022 (edited) This is an issue affecting a number of sites. Squarespace don't appear to have considered that sites may use a dark canvas. However, you can change the colour of the review stars by adding a few lines of CSS to Design > Custom CSS. This example should make the stars magenta to match your social icons. Depending on the site version: svg.star path { fill: #cb0fff!important; } or svg.star { fill: #cb0fff!important; } Other examples are.. Almost white: svg.star path { fill: #f8f6f6!important; } Gold: svg.star path { fill: #ffd700!important; } Did this help? Please give feedback by clicking an icon below ⬇️ Edited September 26, 2023 by paul2009 Squarespace changed classnames Nikitaly and oscarmiike 2 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
oscarmiike Posted February 8, 2022 Author Posted February 8, 2022 Legend. Thanks so much for the solution. OM paul2009 1
Nikitaly Posted March 18, 2022 Posted March 18, 2022 Site URL: https://www.rebelrebel.co.uk/bouquets-online/bewitched-bothered-and-bewildered Hi, Unfortunately for us we have a dark background to our site. I've tried the following to change the colour of the review stars but its not working. Please can you help? .reviewStars .star { fill: #cb0fff; }
Jia Posted March 18, 2022 Posted March 18, 2022 16 minutes ago, Nikitaly said: Site URL: https://www.rebelrebel.co.uk/bouquets-online/bewitched-bothered-and-bewildered Hi, Unfortunately for us we have a dark background to our site. I've tried the following to change the colour of the review stars but its not working. Please can you help? .reviewStars .star { fill: #cb0fff; } Hi, try adding this to custom css (Design > Custom CSS) and let me know how it goes 🙂 .pc0ePSvvq path { fill: #cb0fff; } Nikitaly 1 Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified. www.sevenstars.studio www.instagram.com/sevenstars.studio
Nikitaly Posted May 28, 2022 Posted May 28, 2022 Hi again, The fix you offered above worked for abit but now is not. Please can you help? many thanks Niki
paul2009 Posted May 28, 2022 Posted May 28, 2022 2 hours ago, Nikitaly said: The fix you offered above worked for abit but now is not. Please see the solution above. There have been a number of updates to the Product Reviews feature in recent months and these have caused changes to the structure of pages. For future reference, if an answer contains a classname (something prefixed with a ".") that has an unreadable series of characters, for example .pc0ePSvvq then it is unlikely to work for very long. This is because these classnames are automatically generated and change whenever Squarespace teams make changes to a page. I hope this helps. Was this post helpful? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Nikitaly Posted May 30, 2022 Posted May 30, 2022 Thanks a million, and for the explanation. Much appreciated. Niki
Ogochu Posted September 26, 2023 Posted September 26, 2023 On 5/28/2022 at 1:08 PM, paul2009 said: Please see the solution above. There have been a number of updates to the Product Reviews feature in recent months and these have caused changes to the structure of pages. For future reference, if an answer contains a classname (something prefixed with a ".") that has an unreadable series of characters, for example .pc0ePSvvq then it is unlikely to work for very long. This is because these classnames are automatically generated and change whenever Squarespace teams make changes to a page. I hope this helps. Was this post helpful? Please give feedback by clicking an icon below ⬇️ Hi, tried this solution for my website, https://ogochu.com/ but it did not work. Any suggestions?
paul2009 Posted September 26, 2023 Posted September 26, 2023 8 hours ago, Ogochu said: tried this solution for my website...but it did not work. Squarespace made some updates but I have now updated the answer. Ogochu 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Ogochu Posted September 26, 2023 Posted September 26, 2023 8 minutes ago, paul2009 said: Squarespace made some updates but I have now updated the answer. Thank you very much paul2009 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment