Forum Discussion
KimWilkins-bdb2
4 years agoCommunity Member
Changing formatting on review correct/incorrect layer of quiz
Hi.
I'm trying to change the fill colours that show in the correct/incorrect box when a learner reviews the answers to a quiz, after completing it. They seem to be stuck on an olive green and a ...
AndrewKrahn
4 months agoCommunity Member
VeronicaBudnika Is there a way to edit that bar now?
We're trying to make best use of our clients' screen real estate so our modules are 1920x1080.
We are also trying to fully match it to the client's brand. This means that:
- The text is very small
- The green is off-brand
- The white on lime green isn't very accessible to begin with
Adding this for anyone else trying to figure this out:
When I open devtools it looks like the bar is a div with
data-model-id="6hly4JIL8Rq_CorrectReview"
with the bit before the underline being a slide identifier or some kind
- The background is a <path> inside the containing <g> of the SVG
- the X on the right is a pair of diagonal <line> elements
- the Text is deeply nested but is a <tspan> element
- colors are set manually rather than in a stylesheet, 'fill="" ' for text and background, 'stroke="" ' for the X icon, though it also has a fill that might need to be set
Related Content
- 10 months ago