Skip to main content

Hello,

 

I'm trying to change the CSS style for all of the buttons on my K2 smart forms.  I'm using the Platinum theme, and I was wondering if we can customize the button on-hover color style for a particular K2 SharePoint site? 

 

Please advise.

 

Thanks,

 

Laurinda Chi

I believe Sharepoint will Surface Smartforms in an Iframe and as such overwriting the CSS within the iframe may not be possible:


http://stackoverflow.com/questions/6494721/css-override-body-style-for-content-in-iframe


 


As such the CSS changes will likely need to be for the Smartforms Sites.  But if you modify the css for Plantinum, then any form that uses platinum will be affected.  So I believe the only only would be to perhaps create a copy of Plantinum, but customize it for that site, i.e. PlatinumHR, PlatinumSales


 


That way, it is a customized Platinum, that can be applied per Forms:


 


http://help.k2.com/onlinehelp/K2smartforms/DevRef/4.6.11/default.htm#Custom_Themes.htm


Reply