1
harrygg
how can i change the width of a contact us form?
  • 2006/2/19 16:13

  • harrygg

  • Just popping in

  • Posts: 4

  • Since: 2005/12/30


hi guys what I am want to do is to decrease the width of the "contact us form" because it is too large and is pushing the right block away. Any ideas?

2
zyspec
Re: how can i change the width of a contact us form?
  • 2006/2/19 23:00

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I'm assuming you're using the standard Contact module....

In contactform.php

Every place you see "50" in the form replace it with a smaller number (say "35"). This doesn't effect how many characters the field holds, just how many are displayed on screen. So, for example,
$name_text = new XoopsFormText(_CT_NAME"usersName", [d][b][color=990000]50[/color][/b][/d], 100$name_v);

with
$name_text = new XoopsFormText(_CT_NAME"usersName", [b][color=000099]35[/color][/b], 100$name_v);

Login

Who's Online

123 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits