Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
November 28, 2014 at 6:10 pm #359710
Hello!
Can it be “theartstack”(theartstack.com) icon in share-box for my product page?November 28, 2014 at 7:58 pm #359841Hi artspbseo!
You can add your own around lines 146 – 154 in /enfold/includes/helper-social-media.php.
'facebook' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.facebook.com/sharer.php?u=[permalink]&t=[title]"), 'twitter' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[shortlink]"), 'gplus' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://plus.google.com/share?url=[permalink]" , 'label' => __("Share on Google+",'avia_framework')), 'pinterest' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://pinterest.com/pin/create/button/?url=[permalink]&description=[title]&media=[thumbnail]"), 'linkedin' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://linkedin.com/shareArticle?mini=true&title=[title]&url=[permalink]"), 'tumblr' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://www.tumblr.com/share/link?url=[permalink]&name=[title]&description=[excerpt]"), 'vk' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://vk.com/share.php?url=[permalink]"), 'reddit' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://reddit.com/submit?url=[permalink]&title=[title]"), 'mail' => array("encode"=>true, "encode_urls"=>false, "pattern" => "mailto:?subject=[title]&body=[permalink]", 'label' => __("Share by Mail",'avia_framework') ),
But I don’t think that icon is going to be included in the font files. You can try adding one that looks similar by doing this, http://kriesi.at/archives/enfold-version-2-3-say-hello-to-our-new-iconfont-uploader.
Best regards,
ElliottDecember 3, 2014 at 1:47 pm #362084Can I add icon as png? And how?
December 3, 2014 at 4:08 pm #362161Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
li.av-share-link.av-social-link-mail { background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png); background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; } li.av-share-link.av-social-link-mail a:before { display: none; }
This would replace mail icon with Kriesi logo. You can adjust as needed
Best regards,
YigitDecember 15, 2014 at 7:22 pm #368484Thank You!
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
- The topic ‘Icon in share-box’ is closed to new replies.