Need a Code to Modify the padding for - Question Body

rakesh_dayalanrakesh_dayalan IndiaCommunity Member Qubie ✭

Need a Code to Modify the padding for - Question Body

Hi Team,

I have been going through the forum and so far it has been very useful.
I am in need of code to reduce the padding for the question Body.

I am using the below code in the Custom CSS Code, however in the preview of the survey this doesnt come into effect.

.Skin .QuestionText {
padding-left: 1px;
padding-top: 1px;
padding-right: 1px;
padding-bottom: 10px;
}

The above code for Question Text is working.

However for Question body the padding remains the same it is at 30px 20px 30px.
I want it to be updated as per below.

.Skin .QuestionBody {
padding: 1px 1px 5px;
}

Would anyone be able to help? Thank you!

Tagged:

Best Answer

  • rakesh_dayalanrakesh_dayalan India Qubie ✭
    Accepted Answer

    @Shashi

    Thanks for the Reply. I tried the code, however it didn't work.

    I had to change it from "Skin .QuestionBody" to ".Skin .MC .QuestionBody"
    and this worked.

    .Skin .MC .QuestionBody {
    padding-top: 0px;
    padding-bottom: 10px;
    }

    Rakesh

Answers

Sign In to Comment