Rename "Add to Your Favourites" on Documents Section

Follow

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>span {

   display:none;

}

.documents .can-be-added::before {

   content:'Add to Itinerary';

}

.documents .can-be-removed>span {

   display:none;

}

.documents .can-be-removed::before {

   content:'Remove from Itinerary';

}

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.