By paul_constantine on
I am not able to change the width of the "user picture upload field" on the "edit my account" page.
Firebug shows the following code for the upload-field:
<input id="edit-picture-upload" class="form-file" type="file" size="48" name="files[picture_upload]">
Size needs to be reduced from "48" to "30". But I can not find the lines in the style.css where I can reduce the width of the upload input field. Right now the field is too wide and breaks my layout.
I tried adding the following code to the style.css:
/* Picture Upload */
#edit-picture-upload .form-file {
width:200px;
}
That did not work. Then someone gave me the following advise:
/* Picture Upload */
input#edit-picture-upload{
width: 200px;
}
That also did not work. Does anyone have any ideas how to solve this problem?
Best wishes,
Paul
Comments
answer
give it size{size="44"}.
I am afraid not.
Tried multiple solutions.
As well as ...
None of them worked (and my cache is disabled).
specification
<input id="edit-picture-upload" class="form-file" type="file" size="44" name="files[picture_upload]">I know...
That is the code firebug found. The entry 'size="44"' is resposible for the width.
But ... how do I translate this into the bartik style.css?
So far every single entry I tried did not have any impact on the with of the input field.
Regards, Paul
specification