You are viewing limited content. For full access, please sign in.

Question

Question

Can the "add" button on forms be changed?

asked on January 24, 2019

Is there a way that the "add" button on a form can be in bold and a different color? 

0 0

Answer

SELECTED ANSWER
replied on January 24, 2019

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;
}

 

0 0
replied on January 24, 2019

Thanks so much for the feedback. Is there a way to change the text color?

0 0
replied on January 28, 2019

In the CSS snippet above, add a color property within the curly brackets, e.g.

color: red;

0 0

Replies

replied on January 24, 2019

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.

1 0
replied on January 24, 2019

Thanks so much! I'll try this and see how it works. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.