Social icons will not go away when there is no link


#1

Dear,

Social icons stay active even when the redaraction is empty.
With Sidney pro they disappear after deleting the link.
How to do it in greatmag?

Kind Regards,

Kevin


#2

Hello there,

I am sorry, I just noticed that it’s a bug that should be corrected. To hide special social icon, firstly try doing the below 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($) {

  $('.social-footer li').each(function(){
    var social = $(this).children().find('.fa');
    $(this).addClass(social.attr('class')).removeClass('fa');
  });

})(jQuery)
  1. Update

Then navigate to Appearance > Customize > Additional CSS. Add this CSS code:

.social-footer li.fa-twitter {
  display: none;
}

.social-footer li.fa-instagram {
  display: none;
}

.social-footer li.fa-facebook {
  display: none;
}

.social-footer li.fa-linkedin {
  display: none;
}

.social-footer li.fa-pinterest {
  display: none;
}

.social-footer li.fa-youtube-play {
  display: none;
}

Regards,
Kharis


#3

Dear Kharis,

It worked !
Thank you!

Kind Regards,

Kevin


#4

You’re welcome Kevin!

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

Have a nice day!

Regards,
Kharis