CarlDavidRobinson Posted September 6, 2011 Posted September 6, 2011 Hi guys, probably an easy solution to this but couldn't find anything with a pretty extensive search on here, google or trying to work it out myself. How can i change the size of the form that is generated for the contact_us.php page? The large "Enquiry" form. as you can see if you take a sneaky peak here - With the way i plan on having the background, it currently overlaps - hence why i would like to reduce the width. Im not savvy with php and this is my first venture with a shopping cart so please don't go assuming i know what im doing! (but how else am i going to learn?) EDIT : Im using v2.3.1 FYI
Guest Posted September 6, 2011 Posted September 6, 2011 Carl, On a standard contact_us.php file, you can edit this line: <td class="fieldValue"><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> The 50 is columns, the 15 is rows. Chris
CarlDavidRobinson Posted September 6, 2011 Author Posted September 6, 2011 Thanks Chris that was exactly what i was looking for, turns out it doesn't matter as the form is adjustable, - do you know much about this? is it easy to turn off as im not to sure if i like it? and did it overlap the background by default when you go on the site? it was it where i might off expanded it at some point and it remembered the size i left it? EDIT : I should explain better - its adjustable on the user end using a mouse to drag it bigger and smaller. EDIT 2 : Just did a bit of troubleshooting and i was able to work out that the box always returned back to being bigger than intended, i realized that i could change the width of the table containing the form, which in turn made the form fit in the intended area (yay!) Thanks for your help again!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.