Icons in GreatMag Pro

In “Blog Options” I can put a text for the “Read more” option. However, I would like to use an icon (Glyphicon or Fontawesome) instead of a text. How can I do that?

Hello there,

While the read more text is defined, you can replace it with any icon of your choice using jQuery code. Please follow these steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box

;(function($) {

   'use strict'

   var icon = 'More <i class="fa fa-angle-double-right"></i>';

   if( $('.read-more').length ) {

      $('.read-more').html(icon);
      
   }

})(jQuery);

Replace fa-angle-double-right with the class name of your desired icon. See the full list of icon class names here.

  1. Update

Regards,
Kharis

It works. Thank you very much.

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis