Callan Posted December 13, 2023 Posted December 13, 2023 Hi all, I've tried this several times and my changes to the colour style of a section in my course will not save. I'm only trying to change a colour from one to another in my palette. The particular issues is for a course module background. I change colour, it previews correctly. I save. It reverts back to old colour. This has happened in squarespace before but usually fixes itself after a while. But it hasn't after about 6 attempts this time. I've recorded the issue here: https://drive.google.com/file/d/1uoa9RA2y6DQjB6IxmYcPhWSJ-30eU1_5/view?usp=sharing Website: https://www.firstpeoplesleading.com.au/next-gen
Solution Bilash Posted December 17, 2023 Solution Posted December 17, 2023 Hi @Callan I think the template you are using there is an issue scoping their CSS custom properties (variables) that's why it's not working out the way you want it to. Anyway, here is a CSS snippet that you can insert into your site to make it look like you wanted. [data-section-id="6576c31ac1a71b16fb46c67c"] .course-list__grid-item.course-list__grid-course-item { --course-list-grid-layout-course-item-text-color: #ffffff; --course-list-grid-layout-course-item-background-color: #232323; /* for subtle hover animation */ transition-property: background-color, color; transition-duration: 300ms; transition-timing-function: ease; transition-delay: 0; transition-behavior: initial; } [data-section-id="6576c31ac1a71b16fb46c67c"] .course-list__grid-item.course-list__grid-course-item:hover { --course-list-grid-layout-course-item-hover-background-color: #c3876a; --course-list-grid-layout-course-item-text-color: #000000; } Final look: tuanphan 1 🙋♂️ Taifuzzaman Bilash - LinkedIn | WhatsApp | Email -- Set up a free discovery meeting -- I'm available for hire on Upwork.
Callan Posted December 18, 2023 Author Posted December 18, 2023 Thank you, this fixed it. Really appreciate it! Bilash 1
Bilash Posted December 18, 2023 Posted December 18, 2023 8 hours ago, Callan said: Thank you, this fixed it. Really appreciate it! Glad to help you solve the problem! 🙂 🙋♂️ Taifuzzaman Bilash - LinkedIn | WhatsApp | Email -- Set up a free discovery meeting -- I'm available for hire on Upwork.
Callan Posted March 26 Author Posted March 26 Hi @Bilash, this CSS code you helped me with has stopped working and I can't figure out why . . . wondering if you have any insights why that might have happened? Thanks in advance!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment