D
D
De Slow2016-04-26 23:10:13
css
De Slow, 2016-04-26 23:10:13

How to make such a design for "Laika VK" on your website?

Actually I found a template there such buttons:
dGliNd2.png
The code for it is this:

<div id="facebook" data-url="<?php echo the_permalink(); ?>" data-text="<?php echo the_title(); ?>" data-title="Like"></div>

jQuery('#facebook').sharrre({
      share: {
        facebook: true
      },
      template: '<a class="box group" href="#"><div class="count" href="#">{total}</div><div class="share"><i class="fa fa-facebook-square"></i></div></a>',
      enableHover: false,
      enableTracking: true,
      click: function(api, options){
        api.simulateClick();
        api.openPopup('facebook');
      }
    });


How to be for VK? -I understand that in Css you only need to replace the icon, but what about the internal code?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nokhchi Borz, 2016-04-27
@CheeBorz

https://vk.com/dev/Like

Y
Yakov Vylegzhanin, 2016-04-27
@vylegzhanin

The plugin on your screenshot is Sharrre.js
. It has VK support, the design can be changed manually.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question