Okay
  Public Ticket #2109636
Sharing images on social media
Closed

Comments

  • Gia Jobin started the conversation

    The share icons at the bottom of the individual portfolio pages only share text. Is there a way for them to default to one of the portfolio images on that page?

  •  675
    Neuron replied

    Hi Gia,

    I have already replied you in the comment, but we can continue the support here. Here's the answer again.

    Well that will require some change on the PHP code, but I would suggest you the second way via jQuery, you can add the jQuery in Theme Options > Custom CSS & JS.

    jQuery(document).ready(function($){
      $('.share-holder ul li:nth-child(1)'.html('<i class="fa fa-facebook"></i>');
      $('.share-holder ul li:nth-child(2)'.html('<i class="fa fa-twitter"></i>');
      $('.share-holder ul li:nth-child(3)'.html('<i class="fa fa-pinterest"></i>');
      $('.share-holder ul li:nth-child(4)'.html('<i class="fa fa-linkedin"></i>');
    });
    

    For more support, please reach our support. - https://neuronthemes.ticksy.com

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.