Jump to content

Why is are my color changes not saving in my course 7.1?

Go to solution Solved by Bilash,

Recommended Posts

Posted

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
Posted

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:
image.thumb.png.943590d5803c2ab1a25819cac8a8b96c.png

🙋‍♂️ Taifuzzaman Bilash -  LinkedInLinkedIn | WhatsApp | Email 

-- Set up a free discovery meeting 

-- I'm available for hire on Upwork.

  • 3 months later...
Posted

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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.