This changes the "Add to Favourites" text to whatever you would like.
Important notes:
- Change the bolded text in the code to be applicable for your app (colour codes, new text to show, etc)
Code:
/* Change the name of Add to favorites in the documents modules */
.documents .can-be-added {
visibility: hidden;
}
.documents .can-be-added:after {
content: 'Add to Itinerary';
visibility: visible;
display: block;
margin-top: -1.15em;
}
.documents .can-be-removed {
visibility: hidden;
}
.documents .can-be-removed:after {
content: 'Remove from Itinerary';
visibility: visible;
display: block;
margin-top: -1.15em;
}
Comments
Article is closed for comments.