Skip to main content


 

Symptoms


Font color of the file link in SmartForms
 

Diagnoses


Is there a way to change the font color of the file link in smartforms? We are using the platinum theme for most of our forms and the link is K2 green. We've had a request to make it darker.
 

Resolution

Below are the steps that need to occur to change the hyperlink font color.

Step 1.) The first step to resolving this issue is to clear the cache in the browsers that you are using and close out of the browsers.

Step 2.) The second step is to edit the hyperlink color properties in the designer and runtime css files. I will paste the file paths below, and paste the syntax showing the portion of the file that needs to be updated.

Design - C:Program Files (x86)K2 blackpearlK2 smartforms DesignerStylesThemesPlatinum.css
Runtime - C:Program Files (x86)K2 blackpearlK2 smartforms RuntimeStylesThemesPlatinum.css

* The node that you are looking for in this file is the /* Hyperlink Control Styling */ node.

* The snippet below is the section that needs to be modified in both the designer and runtime directories.

/* Hyperlink Control Styling */
.theme-entry a.Hyperlink
{
color:_98DC28
}

.theme-entry a.Hyperlink-NotSet
{
color:_98DC28
}

.theme-entry a.Hyperlink-NotSet.disabled
{
color: _CCCCCC
cursor: default
}
/* End of Hyperlink Styling */

* color: _98DC28 is the hex code for the K2 green that is being prompted now, and is the hex code that needs to be adjusted to the color of your preference.

Step 3.) After you have changed the hex code save the css files and close out of both files

Step 4.) The next step is to restart the K2 site in IIS.

After these steps are undertaken the change should be reflected the next time you access the form/view in Designer.




 
Be the first to reply!

Reply