General developer forum

How do I change the size of a fill in box?

 
Picture of Andy Nijssen
How do I change the size of a fill in box?
 

I made this excersize; The whit boxes on the right where people need to fill in words does not has the same size. How longer the word they need to fill in how wider the box. I want that all boxes has the same size. How can I do this?


 
Average of ratings: -
Picture of A. Obeid
Re: How do I change the size of a fill in box?
Particularly helpful Moodlers

Hi

try adding this css

.formulation input[type="text"], .formulation select {
    width: 100px !important;
}

add to Raw initial SCSS of your theme.

If your are using the boost theme: admin/settings.php?section=themesettingboost.

 
Average of ratings: -
Picture of AL Rachels
Re: How do I change the size of a fill in box?
Core developersParticularly helpful MoodlersPlugin developersTesters

Hi Andy,

It would really help to know what you are using to create the questions. Is it quiz questions of some type? Or, is it something else?

 
Average of ratings: -