Custom CSS for Lesson Templates

This article will guide you in customizing your lesson templates using CSS (Cascading Style Sheets).

 

CONTENT   |   CONCEPT   |   MULTIPLE-CHOICE   |   NUMBERS   |   RELATIONSHIPS   GAMES   |   SURVEY   |   ADVANCED

 

CONTENT TEMPLATES


Comparison 

  • Bar - .slider .slider-knob
  • Knob (top) - .slider .slider-knob::before
  • Knob (bottom) - .slider .slider-knob::after
  • Text - .slider
    (use “background” here to change the colors) 
giphy (1)
Expandable List
  • Text -.text-left
  • List - .slide-expandable-list 
  • Buttons - .slide-expandable-list .btn.btn-solid
  • Content - .slide-expandable-list .item-content, .block-dk 
  • Selected Item - .slide-expandable-list .item.active .item-button 
  • Active Select - .slide-carousel .btn.btn-solid
  • The (+) sign - .slide-expandable-list .item-button:after
  • The (-) sign - .slide-expandable-list .item.active .item-button:after
giphy (2)

Image Collection

  • Button - .slide-image-collection .tappy-child
  • Button (Visited) -  .slide-image-collection .tappy.visited .tappy-child
giphy (3)

Image Gallery

  • Dots (not visited) - .slide-image-gallery .pagination .dot
  • Dot (visited) - .slide-image-gallery .pagination .dot.active
    (background is the fill in, color is the outline, opposite for non-active)
giphy (56)

Image Slider

  • Default Caption- .slide-image-slider .style-default .caption-content 
    (“style-default” can be changed to “style-light”, “style-dark” “style-transparent-light-text”)
giphy (57)

Image Map

  • Waypoint (“white”:) - .slide-image-waypoints.waypoint-white .waypoint:after
  • Visited Waypoint - .slide-image-waypoints.guided-false .waypoint.tapped:after

Image Map Guided

  • Direction Buttons - .slide-image-waypoints .prev-wp, .slide-image-waypoints .next-wp 
giphy (4)

Click to Reveal

  • Before Block - .slide-reveal .btn-reveal-title 
  • After Block - .slide-reveal .btn-reveal-title.active
giphy (10)

Scratch to Reveal

  • Reload button - .slide-scratch-to-reveal.state-touched .btn-replay
giphy (11)

Quote

  • Speech Bubble (Dark) - .quote.quote-dk .quote-bg 
  • Speech Bubble (Light) - .quote.quote-lt .quote-bg
  • Button - .btn.btn-muted.btn-done.content-ver
giphy (14)

Simple Image & Scrollable

  • Background - .pswp__item (then “background:”)
giphy (13)

Table

  • Actual Table (not title) - .slide-table .table.table-full-width
  • Table Header -  .slide-table th
  • Table Cells -  .slide-table .table-row:first-child (replace with nth-child(2) or (3) or ‘last’ if last cell)
giphy (15)

Text Sequence

  • To have image list style - .slide-text-sequence {list-style-image: url(https://www….png);}
giphy (16)

Video

  • Video frame - .video-js .vjs-tech
  • Skip button - .btn.btn-muted.btn-done.content-ver
giphy (19)

YouTube 

  • Remove button - .yt-content + .slide-footer{display: none !important;}
  • Play Button - .video-play, .video-replay
  • Play Button (when clicked) - .video-play.__active, .video-replay.__active
  • Thumbnail - .slide-youtube-video-embed .yt-thumb

giphy (21)

 

CONCEPT TEMPLATES

Missing Word

  • Missing Words - .slide-missing-word .draggy
    (solid buttons)
giphy (22)

Fill in the Blank

  • Missing Letters - .slide-construct .letter
    (also solid buttons)
giphy (25)

 

MULTIPLE CHOICE TEMPLATES

Chat 

  • Left Screen - .slide-chat .chat-msg.pull-left
    .slide-chat .chat-msg.pull-left:after {border-color: rgba(_______) transparent transparent;}
  • Right Screen - .slide-chat .chat-msg.pull-right
  • Correct Answer - .slide-chat.state-complete .chat-msg.incorrect
  • Incorrect Answer - .slide-chat.state-complete .chat-msg.correct 
  • Pointy part of the question balloon - .slide-chat .message--question:after {border-color: #003035 transparent transparent;}
  • Pointy part of the answer choices balloon - .slide-chat .message--answer:after {
    border-color: #B2BB1D transparent transparent;} 
giphy (28)

Circle the Answer

  • Entire Slide - .slide-circle-the-answer .circle-canvas
  • Box -.text-dark .slide-circle-the-answer .circle-box.active .circle-box-text
  • Answer Box - .text-dark .slide-circle-the-answer .circle-box.active .circle-box-text
giphy (29)

Strike Out

  • Entire Slide - .slide-strikeout .strikeout-canvas
giphy (24)

Multiple Choice

  • Entire slide - .slide-multiple-choice-game (solid buttons)
  • Area around answers - .block-dk
  • Box Around Answers - .block-md
  • Dots - .selectable .btn:before
    .selectable .btn:after
  • Selected Answer - .selectable.active .btn
  • Correct Answer - .slide-multiple-choice-game.state-complete .selectable.correct .btn
  • Incorrect Answer - .slide-multiple-choice-game.state-complete .selectable.incorrect .btn
giphy (31)

Multiple Choice: Image

  • Incorrect- .slide-image-multiple-choice.state-complete .tappy.incorrect.active 
  • Correct - .slide-image-multiple-choice.state-complete .tappy.correct 
  • Active/Selected - .slide-image-multiple-choice .tappy.active
giphy (32)

 

NUMBER TEMPLATES

Slider

  • Slider- .slide-slider .slider-bar
    (color not changeable from here but height is= {height: 14px}  )
  • Knob - .slide-slider.active .slider-knob-input
    ("background-color" for knob, "color" for text above it)
giphy (39)

Dial 

  • Circular Dial - .slide-dial .dial-ring
  • Knob - .slide-dial .dial-knob
giphy (34)

Ratio

  • Ratio Game Bars - .slide-ratio .ratio-bar
giphy (38)

Pie Chart

  • Pie Chart - .slide-pie-chart .pie-ring-svg
giphy (37)

 

RELATIONSHIP TEMPLATES

Connect 

  • Boxes (incomplete) -.slide-connect .connect-box
  • Boxes (Complete) - .slide-connect .connect-box.complete
  • Correct answer (Complete) - .slide-multiple-choice-game.state-complete .selectable.correct .btn  
  • Entire slide - .slide-connect .connect-canvas
giphy (40)

 

GAME TEMPLATES

True or False 

  • True/False Answers - .slide-game-true-or-false .game-statement
  • Bars on the Side- .slide-game-true-or-false .game-true, .slide-game-true-or-false .game-false 
  • Bars on the Side (when box is dragged) - .slide-game-true-or-false .game-true.active, .slide-game-true-or-false .game-false.active
  • Grab Cursor - .slide-game-true-or-false .game-statement {
        cursor: grab; }
                            .slide-game-true-or-false .game-statement.active {
        cursor: grabbing; }
giphy (51)-1
Find a Word
  • Find a Word - .slide-find-a-word .grid-container 
  • Selected - .slide-find-a-word .grid-highlight.complete 
  • Incorrect - .slide-find-a-word .grid-highlight.incorrect
ezgif-com-gif-maker (7)-gif (1)

Memory Game Tiles

  • Memory Game Tiles - .slide-game-memory .btn.btn-solid
giphy (48)-1

Image/Word Match

  • Image/Word Match Blocks-  .slide-game-image-word-match .match-words 
  • Text - .multi-content.multi-content-text
  • Choices - .slide-game-image-word-match .btn-word
  • Make images bigger- .slide-game-image-word-match .match-image-container {height:unset} 
giphy (45)-1

 

SURVEY TEMPLATES

Free Text 

  • Input Submit button - text-input-dismiss-btn.btn.btn-solid 
  • “Type Your Response” - #text-input-view #text-input-container-top
giphy (52)

 

ADVANCED TEMPLATES

External URL

  • External URL continue button - .slide-url .exit-btn

 

Refer to this article for more:

Custom CSS Overview

Custom CSS: Custom Fonts

Custom CSS Cheat Sheet