问题描述
是否可以更改 tumblr 默认的 like/reblog 按钮并插入 img?我正在尝试将我的喜欢按钮更改为 http://38.media.tumblr.com/tumblr_m7wvvwuZdH1r17mw1.png(请原谅链接.由于声誉/我是新手,我还不能发布图片.)
.
这是我喜欢/转发按钮代码的样子
<div class="buttoned">{LikeButton size="14" color="black"}</div><div class="buttoned">{ReblogButton size="14" color="black"}</div>和
/* 按钮 */#纽扣 {宽度:18px;高度:自动;位置:绝对;边距:-5px 0 0 540px;}.buttoned {宽度:14px;高度:14px;填充:2px;边距:0 自动 4px 自动;背景颜色:{颜色:按钮};边框:1px 实心 {color:buttons};-webkit-transition:所有 0.6 秒的缓入缓出;-moz-transition:所有 0.6 秒的缓入缓出;-o-transition:所有 0.6 秒的缓入缓出;过渡:所有 0.6 秒的缓入缓出;}.buttoned img {宽度:14px;高度:14px;保证金:自动;文字对齐:居中;}
这是我正在尝试更改的博客.http://kobisart.tumblr.com/正如你所看到的,我正在尝试点赞按钮.它允许我放置 img 但它不会让我将其用作赞"按钮
谢谢
解决方案 可以使用未记录的 {ReblogURL}
实现转发按钮.
<a href="{ReblogURL}"><img src="img.png"></a>
可以通过这个先前回答的问题来实现替代按钮.
Is it possible to change the tumblr default like/reblog buttons and insert an img? I'm trying to change my like button to http://38.media.tumblr.com/tumblr_m7wvvwuZdH1r17mw1.png(excuse the link. I can't post images yet because of reputation/I'm a newbie.)
.
here is what my like/reblog button code looks like
<div id="buttons">
<div class="buttoned">{LikeButton size="14" color="black"}</div>
<div class="buttoned">{ReblogButton size="14" color="black"}</div>
and
/* BUTTONS */
#buttons {
width: 18px;
height: auto;
position:absolute;
margin: -5px 0 0 540px;
}
.buttoned {
width:14px;
height:14px;
padding: 2px;
margin: 0 auto 4px auto;
background-color: {color:buttons};
border: 1px solid {color:buttons};
-webkit-transition: all 0.6s ease-in-out;
-moz-transition: all 0.6s ease-in-out;
-o-transition: all 0.6s ease-in-out;
transition: all 0.6s ease-in-out;
}
.buttoned img {
width: 14px;
height: 14px;
margin: auto;
text-align:center;
}
Here is the blog I am trying to change it on. http://kobisart.tumblr.com/As you can see I'm trying on the like button. It allowed me to put the img but it won't let me use it as the like button
Thanks
解决方案 A reblog button can be achieved with the undocumented {ReblogURL}
.
<a href="{ReblogURL}"><img src="img.png"></a>
An alternate like button can be achieved via this previously answered question.
这篇关于更改默认的 tumblr like 和 reblog 按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
08-12 07:38