Forums

Yet another styling question

basscadet 24 Mar, 2009
Hi,

I have been searching on the forum for an answer to this but everything I try doesn't want to work!! Basically I have installed the ChronoForm and created a simple form based on the default template. This form does not appear on a 'contact us' page, rather it is just a 'quick contact' that appears in the right column (user2) on every page on my site.

I have been able to style the text and input boxes using the style1.css file. I want to style the submit button but it seems to be taking its style from the '.form_element label' tag making it the same width/background colour as my text input boxes, which is not what I want. I have tried to add a new Class to the submit button by editing the HTML in the Forms Manager but after I save the form and refresh my site and check the code with Firebug the new Class is not there!

I have also tried downloading the elements.php file from my components folder, adding the Class and re-uploading it but it still doesn't show the new Class.

Any help you can give would be most appreciated!!

I am using Joomla 1.5.9 and Firefox on a Mac (OS 10.5.6).
GreyHead 24 Mar, 2009
Hi basscadet,

I can't think why the class would be changed - ChronoForms shouldn't change any classes - though the validation code can add new ones. That solution has certainly worked in the past.

Try adding style='width:xxxpx;' directly to the <input . . ./> tag in the form HTML

Bob
basscadet 24 Mar, 2009
Thanks for your quick reply, works perfectly!
This topic is locked and no more replies can be posted.