Skip to content

Modifying html-slider-response #1660

Answered by becky-gilbert
j22tis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @j22tis! To hide the slider thumb, you can remove the CSS rules that set the custom thumb appearance in the jspsych.css file, i.e. the commented-out stuff below. The only bit you want to keep is the -webkit-appearance: none; for .jspsych-slider::-webkit-slider-thumb:

/* thumb */
.jspsych-slider::-webkit-slider-thumb {
  /* border: 1px solid #666;
  height: 24px;
  width: 15px;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  margin-top: -9px; */
  -webkit-appearance: none;
}
/* .jspsych-slider::-moz-range-thumb {
  border: 1px solid #666;
  height: 24px;
  width: 15px;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer; 
}
.jspsych-slider::-ms-thumb {
  bor…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@j22tis
Comment options

@becky-gilbert
Comment options

@j22tis
Comment options

@HuangHam
Comment options

@cvanheer
Comment options

Answer selected by j22tis
Comment options

You must be logged in to vote
2 replies
@jodeleeuw
Comment options

@mmwozniak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants