Skip to content

Commit 6cb4682

Browse files
author
Ram swaroop
committed
added g+ button
1 parent 0636b9e commit 6cb4682

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_sass/layouts/_posts.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ header {
5252
text-align: center;
5353
display: none;
5454
border: 1px solid $border-color;
55-
padding: 15px 20px 8px;
55+
padding: 10px 20px 10px;
5656
vertical-align: top;
5757
margin: 20px 0;
5858
}

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ for (var i = 0; i < share_bar.length; i++) {
3333

3434
'<iframe src="//www.facebook.com/plugins/like.php?href=' + encodeURIComponent(window.location) + '&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=false&amp;share=true&amp;height=21&amp;appId=217347368312341&amp;width=150" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>' +
3535

36-
'<script src="https://apis.google.com/js/plusone.js" async></script> <g:plusone href="' + encodeURIComponent(window.location) + '" size="medium"></g:plusone>';
36+
'<iframe src="https://plusone.google.com/_/+1/fastbutton?bsv&amp;size=medium&amp;url=' + encodeURIComponent(window.location) + '" allowtransparency="true" frameborder="0" scrolling="no" title="+1" style="width:105px; height:28px;"></iframe>';
3737

3838
share_bar[i].innerHTML = html;
3939
share_bar[i].style.display = 'inline-block';

0 commit comments

Comments
 (0)