Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #343353


    is it possible to add social sharing buttons (Facebook & Twitter) on the latest version of Enfold?

    I have checked these threads before, but I believe some things have changed on the newest version

    Thank you for your help!


    Same question from me.


    Any ideas, guys?

    this would be very helpful to know!

    Thanks again.



    Try opening up /enfold/js/avia.js and find line 847,

    return title;

    And change it to this,

    return title + '<iframe src="//'+encodeURIComponent(item.el.find('img').attr('src'))+'&width&layout=button_count&action=like&show_faces=false&share=false&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe><iframe id="tweet-button" allowtransparency="true" frameborder="0" scrolling="no"src="'+encodeURIComponent(item.el.find('img').attr('src'))+'&count=horizontal"style="width:110px; height:20px;"></iframe>';

    Make sure that it is all on one line.

    And then add this to your custom CSS,

    .mfp-title iframe:first-child {
        margin-top: 10px;
    .mfp-title iframe {
        margin-top: 5px;
        display: block !important;
        position: relative !important; 


    • This reply was modified 9 years, 1 month ago by Elliott.

    It works perfectly! :) ,
    Thank you very much!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Social Sharing on Galleries – Enfold v.3.0.2’ is closed to new replies.