wojtek
Novice

Add css class name to button control

Jump to solution

Hi,

 

I'm preparing new theme for K2 SmartForm and I would like to add css class name to button control placed on SmartForm that will referance to that theme. Am I able to do that without creating custom control?

 

Best Regards,

Wojtek

0 Kudos
Reply
3 Replies
Albarghouthy
Novice

Re: Add css class name to button control

Jump to solution

Dear wojtek,

 

you have to target the class of buttons like this:

 

.theme-entry a.SourceCode-Forms-Controls-Web-Button

 

hope it helps

Reply
Hind
Novice

Re: Add css class name to button control

Jump to solution

Is there a manual for how to apply/modify the css?

I have created a new theme, but stuck at where to change the size and the weight of different fonts.

Any guidance is much appreciated!

0 Kudos
Reply
wojtek
Novice

Re: Add css class name to button control

Jump to solution

Yes it helps a lot. 

 

Thanks Mustafa!

 

Wojtek

0 Kudos
Reply