Is there a way that the "add" button on a form can be in bold and a different color?
Question
Question
Can the "add" button on forms be changed?
Answer
Hi,
You have to use the CSS for this:
Here an example:
.cf-collection-append /* your collection name*/ { font-weight: bold; background-color: #842929; /* color code you want*/ padding:5px 10px 5px 10px; }
Replies
Edit your table and select advanced. Give it a class name, like "myTable". Then go to CSS and Javascript tab and add this to the CSS, where the myTable after the period is the class name you gave your table.
.myTable .cf-table-add-row {
color: red;
font-weight: bold;
}
You can only assign class names to the parent objects, like the table itself. The child objects are assigned static class names that you must lookup.
To get the Laserfiche assigned class name of child objects (IE:"cf-table-add-row" for the add hyperlink of the table), do the following:
Preview your form in Chrome, Press F12.
Press this little button at the top of the developer console:
Hold your mouse over the object in the preview area to see all class names assigned.