Support » Plugin: Hupso Share Buttons for Twitter, Facebook & Google+ » Is it possible to display Facebook icon first

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kasal

    (@kasal)

    No, it is not possible.

    Insert this snippet of jQuery into a custom javascript file. Have it run on page load. This will move the Facebook link before whatever icon is directly to the left of it. If you want to move it even farther to the left, add more .prev() ‘s to the end of the second line. This is a technical solution which will require some knowledge of jQuery, but it does work for customizing the order of your links without hacking the plugin.

    jQuery(‘img[title=”Facebook”]’).each(function(index, val) {
    var previous = jQuery(val).parent().prev();
    jQuery(val).parent().insertBefore(previous);
    });

    You may want to get more specific with the top line (‘img[title=”Facebook”]’) in case there is a fear of accidentally targeting something else in the post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to display Facebook icon first’ is closed to new replies.