Is it possible to change the background of selected questions?

0

My survey has 2 categories of questions and I would like them to be differentiated by background color.  Can this be done?

Lu Phillips46093 answered
    0

    I need to do this for a survey I am working on but this help is from 2016 and outdated. Is there a way in the current version of the software?

    Lu Phillips46093 answered
      0

      Thank you, my mistake!

      I found it. :)

      Lu Phillips46093 answered
        0
        IS 2.21K Rep.

        Edit the questions you want a different background for and on the Layout tab give them CSS class name something like: bg-grey

        Then on the Style tab for the survey, scroll to the bottom and choose the HTML/CSS Editor link.

        Add CSS similar to the following:

        .bg-grey {
        background-color:#cccccc;
        padding: 20px;
        }

        The padding is necessary or the edge of the background color is right next to your question text and looks bad. For consistency, you may want to add something like:

        .sg-question {
        padding: 20px;
        }

        Be aware this will make your survey take up more room making pages seem a little longer.

        prosper team commented
          ×

          Login

          Question stats

          • Active
          • Views5007 times
          • Answers3 answers
          • Followers1 follower