CSS Class for Field

Questions and bug reports for current release of CKForms

CSS Class for Field

Postby wcmanuel » Tue Oct 13, 2009 9:14 pm

Hi guys,

I'm terrible at "coding", so i need some advice please.

Creating the fields is easy, and perfect, the component is awesome in that sense, but if i wanted to shorten a field where a client needed to add information into.

How do i do that :(I'm not winning here, i duno what to do to shorten the field, its the whole length of the CMS page.

Help me please please.

Thank you
wcmanuel
 
Posts: 2
Joined: Tue Oct 13, 2009 9:06 pm
Top

Re: CSS Class for Field

Postby lemuelj » Sat Oct 17, 2009 9:19 pm

I have the same problem. I have tried to enter some text for the class and then saved and generated the form. Then looked at the source code for the created from all I see is

html > body #page_bg .color_blue bg_blue width_fmax > div .center > div #wrapper > div #wrapper_r > div #whitebox > div #whitebox_m > div #area > div #maincolumn > table .nopad > tbody > tr > td > table #ckformcontainer .contentpaneopen > tbody > tr > td > form #ckform .form-validate ckform > input #FirstName .inputbox ckrequired ckCSSinputnormal ckCSSTip

so question is do we create a new class in the style sheet, if so lets say is it is class foobar

do we enter into the layout fields the value ".foobar" with out the quotes?
lemuelj
 
Posts: 3
Joined: Sat Oct 17, 2009 9:07 pm
Top

Re: CSS Class for Field

Postby wcmanuel » Sun Oct 18, 2009 4:12 pm

Still not successful hey, my only pain is this problem. The component is awsome, and really perfect, so i think this should be part of the application when creating a field. I can't understand why that was not considered when updating ckforms :(... then there'll be no beating it.

Agreed? :)
wcmanuel
 
Posts: 2
Joined: Tue Oct 13, 2009 9:06 pm
Top

Re: CSS Class for Field

Postby pedrino » Sun Oct 18, 2009 4:45 pm

Hi,

to change the length of the fields :

- give a value to the field property : "CSS class for field" in CKForms backend.
- go in the CSS files (CKForms home in joomla Backend)
- give "width" value for the CSS class you set like :

.mycssclass {
width: 100px;
}

Regards
User avatar
pedrino
Site Admin
 
Posts: 150
Joined: Tue Aug 25, 2009 1:13 pm
Top


Return to CKForms 1.3.x Support forum

Who is online

Users browsing this forum: No registered users and 0 guests