Forums

[Solved] form inputs are too wide

raihan 21 Feb, 2013
Hi,

In my form text spaces are too wide. I have used only 3 fields: 1 text-box for Name, another for Email and 1 text-area for Message.

1) I followed 'form inputs are too wide' topic from FAQ. By that, I could reduced my Text-boxes. But text-area is still to the same as page width.

2) I have used that form in a lightbox. Though from Frontend View, text-boxes shows OK, but in lightbox (all text-box and text-area), all are same as width of the page.

Is there any solution, please? Thank you in advance.


Raihan
raihan 21 Feb, 2013
Hi,
I have sorted out my first problem, partially. I have used following code:

.cfdiv_text input {
width: 300px !important;
}
.cfdiv_textarea {
width: 450px !important;
}

at the very end of template.css file of the template I am using. I never know, Text Area named as 'textarea'. Also took off 'input'.

But can't carry yet with my 2nd problem, lightbox. It still the same.

Please help someone, there.... Thanks.

Raihan
GreyHead 21 Feb, 2013
Hi Raihan,

In the lightbox you probably aren’t loading the template.css file. If you add the CSS to a Load CSS action in your form it should work OK.

Bob
raihan 22 Feb, 2013
Thank you, it's working now.
This topic is locked and no more replies can be posted.