Color of button-text

Questions and bug reports for current release of CKForms

Color of button-text

Postby matias » Sat Oct 24, 2009 1:44 pm

Hi,

I love the CK-Form extension, and so far I've only found one thing that I couldn't get to work.

When I add a submit-button it happens to have almost the same color of the text as the background color of the button (think that's because of the template I use). This makes it hard to see the text on it.

Is there any way I could change the color of the text on the submit-button?

Regards,
Matias
matias
 
Posts: 1
Joined: Sat Oct 24, 2009 1:30 pm
Top

Re: Color of button-text

Postby uranian » Fri Nov 13, 2009 10:27 pm

I have the same problem. I've tried to to solve it via the CSS class for label: section on the layout tab, trying things like color: red, but all to no avail. Any comments appreciated :)
uranian
 
Posts: 2
Joined: Fri Nov 13, 2009 10:24 pm
Top

Re: Color of button-text

Postby Pens » Wed Dec 02, 2009 10:00 pm

I got the same problem. No css changes gets a new font style.
Pens
 
Posts: 1
Joined: Wed Dec 02, 2009 9:56 pm
Top

Re: Color of button-text

Postby uranian » Wed Dec 02, 2009 11:44 pm

third time lucky??
uranian
 
Posts: 2
Joined: Fri Nov 13, 2009 10:24 pm
Top

Re: Color of button-text

Postby Samaroo » Sat Dec 05, 2009 7:29 pm

Hi,

You can change the button using CSS.

Load the ckforms.php in the plugins/content directory and scroll down to about line 887 in version 1.3.3 build 3.

Basically you're looking for the section where it creates the HTML code for the buttons. There is a CSS class named ckCSSCenter so insert your CSS class there. Mine now looks like:

Code: Select all
$html = $html.'<div class="ckCSScenter fbuttons">'."\n";


In the ckForms CSS file I created the .fbuttons class with the style that I want.

Note: If you upgrade your ckForms you'll lose the changes you make. Either keep a log of the changes you made and reapply those changes when you upgrade or ask pedrino to include it as part of his releases.
Allan.
Samaroo
 
Posts: 39
Joined: Thu Sep 03, 2009 1:28 pm
Top

Re: Color of button-text

Postby ganhao » Fri Jan 15, 2010 7:32 pm

Thats my problem too! I try Samaroo solution (many thanks) but im having problems creating the .fbuttons class. Can you please post yours?

Thank you,

J.Ganhão
ganhao
 
Posts: 1
Joined: Fri Jan 15, 2010 7:27 pm
Top

Re: Color of button-text

Postby anzrysullivan » Tue Feb 16, 2010 3:48 pm

I am having the same issue I can't get the button to change, even when following the above steps. Does this only work with build three? More help is needed!
anzrysullivan
 
Posts: 2
Joined: Tue Feb 16, 2010 3:32 pm
Top


Return to CKForms 1.3.x Support forum

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests