Forum Discussion

JennaG's avatar
JennaG
Community Member
4 months ago
Solved

Changing the Matching dropdown graded quiz/survey colors

Hello! I'm hoping someone can help me out with a question about changing the colors for the choices in the matching dropdown options.  I was able to find the answer on how to change the hover color...
  • Nedim's avatar
    4 months ago

    You’ll need to inject JavaScript to target the selected state. To do this, add an Execute JavaScript trigger that runs when the timeline starts on the slide:

    const style = document.createElement('style');
    style.innerHTML = `
      .drop-list-item-selected {
        fill: #87CEEB !important; 
      }
    `;
    document.head.appendChild(style);