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?

IS answered
    0
    IS 2.20K 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
      • Views1894 times
      • Answers1 answer
      • Followers1 follower