SuperDuper Posted November 25, 2010 Share Posted November 25, 2010 Hello,I just want to increase the Length of each field.The red box of the picture shown the preferred length(see Attachment) of the field.Could anyone teach me how to achieve?Thanks a lot. Link to comment Share on other sites More sharing options...
SuperDuper Posted November 25, 2010 Author Share Posted November 25, 2010 Anyone help?? Link to comment Share on other sites More sharing options...
shokinro Posted November 25, 2010 Share Posted November 25, 2010 I only know that it should be change at global.css under your theme. But I tried, it seems not working. I am not good at style sheet, maybe I did in a wrong place.I am also very curious on this. Hope some one could give an answer! Link to comment Share on other sites More sharing options...
SuperDuper Posted November 26, 2010 Author Share Posted November 26, 2010 I only know that it should be change at global.css under your theme. But I tried, it seems not working. I am not good at style sheet, maybe I did in a wrong place.I am also very curious on this. Hope some one could give an answer! Thanks for your help.Hope anyone can solve it. Link to comment Share on other sites More sharing options...
rocky Posted November 27, 2010 Share Posted November 27, 2010 Try changing lines 1387-1390 of css/global.css in your theme's directory from: form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea { width: 17em } to: form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea, #address form input.text { width: 17em } Link to comment Share on other sites More sharing options...
shokinro Posted November 27, 2010 Share Posted November 27, 2010 I just checked it my tested site, it works great. Thanks Rocky.But your code didn't change length, I just changed from 17em to 25em. Link to comment Share on other sites More sharing options...
SuperDuper Posted November 27, 2010 Author Share Posted November 27, 2010 Try changing lines 1387-1390 of css/global.css in your theme's directory from: form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea { width: 17em } to: form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea, #address form input.text { width: 17em } Yes, it's work in the Create account page!but I also want applying to "My Account" > "My addresses" > "Update".How can I achieve?Thanks a lot!! Link to comment Share on other sites More sharing options...
rocky Posted November 27, 2010 Share Posted November 27, 2010 That's what the #address form input.text part is for. It should apply the same width to the fields when you click My Account > My Addresses > Update. Link to comment Share on other sites More sharing options...
SuperDuper Posted November 27, 2010 Author Share Posted November 27, 2010 Hi rocky,Thanks for your help.but the length of the fields of “My Account” > “My addresses” > “Update”. are still as same as my attachment on the top.I have already changed the global.css to form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea, #address form input.text { width: 25em } as you teach me.(only the length of fields of "create account" can be increased to 25em)Please help, thank you so much! Link to comment Share on other sites More sharing options...
rocky Posted November 28, 2010 Share Posted November 28, 2010 You're right. I made a mistake in my code. Try the following instead: form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea, #address form p.text input { width: 25em } Link to comment Share on other sites More sharing options...
SuperDuper Posted November 28, 2010 Author Share Posted November 28, 2010 Hi rocky,Fantastic! it's really works.You are so helpful.There is the final problem of this issueI also want to increase the length of "Additional information" to 25em of “My Account” > “My addresses” > “Update”.(Please see attachment)Then it will be very well!Thank you again. Link to comment Share on other sites More sharing options...
rocky Posted November 28, 2010 Share Posted November 28, 2010 Try: form#account-creation_form input.text, form#account-creation_form #id_country, form#account-creation_form #id_state, #authentication textarea, #address form p.text input, #address form p.textarea textarea { width: 25em } Link to comment Share on other sites More sharing options...
SuperDuper Posted November 28, 2010 Author Share Posted November 28, 2010 I did it!!Thanks rocky.[sOLVED] Link to comment Share on other sites More sharing options...
Recommended Posts