Modify Size/Width Of Contact Form (Answer!)
Hi!..
I have been trying to adjust the width of the actual "contact" box but couldn't seem to find a simple solution on the forums.. :-(
However I knew that I'd done it before so thought I'd check on of my old websites and thankfully I found a very simple solution so thought I'd share it!.. (It's actually for my own benefit too!.. ;-)
To change the size of the "Contact" (Sprytextarea1) box:
1) Open the page "Contactus.php"
2) On lines approximately 98-100 you should see the following text:
<span id="sprytextarea1">
<textarea name="Comments" class="inputText" id="Comments" onblur="if (document.getElementById('commentsServerError')) document.getElementById('commentsServerError').style.display='none'" ><?php echo(ValidatedField("contact","Comments")) ?></textarea>
<span class="textareaRequiredMsg">Please let us know how we can assist you.</span></span>
Simply adjust this by adding the following "Style" code:
style="width:600px; height:200px;
Like this:
<span id="sprytextarea1">
<textarea name="Comments" class="inputText" style="width:600px; height:200px; id="Comments" onblur="if (document.getElementById('commentsServerError')) document.getElementById('commentsServerError').style.display='none'" ><?php echo(ValidatedField("contact","Comments")) ?></textarea>
<span class="textareaRequiredMsg">Please let us know how we can assist you.</span></span>
Then re-upload the "Contactus.php" file and it's done!.. :-)
Hopefully this will save someone a few hours of hair pulling!.. ;-D
p.s.
Webassist... why is the "Contact" box so small in the first place? (you can't even see what your writing!).. Can you pass on a suggestion that in future releases/updates the size of the box be increased?.. I'm sure I'm not the only one who thinks this!.. :-)