Solved
Different Background for Different Blocks
Hello everyone,
I know how to set a background for the entire survey but does anyone know how I could set different backgrounds for different blocks?
Best answer by Anonymous
Hello @benched ,
We can paste following code in the js(OnReady) of the each question and change background URL attribute based on the question present in which block
Add the following code in the each question of block Or if you have multiple question on one page then paste the following code on only one question in js(onReady)
jQuery("#SurveyEngineBody").css({"background":"url('YOUR_IMAGE_URL')",
"background-size": "cover",
"background-repeat": "no-repeat",
" background-position": "center center"});
jQuery(".Skin #SkinContent").css({
"background":"white"
});
jQuery(".Skin .SkinInner").css("cssText","background : transparent !important");
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
