如何在tumblr链接到另一个站点制作我的横幅? [英] How do I make my banner in tumblr link to another site?

查看:115
本文介绍了如何在tumblr链接到另一个站点制作我的横幅?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将tumblr博客链接中的横幅链接到另一个站点。我无法弄清楚如何去做。以下是我在自定义html选项卡中找到的代码,但我似乎无法让我的横幅可点击。我应该在哪里添加链接的网站地址?

I'm trying to make the banner in my tumblr blog link to another site. I can't figure out how to do it. The following is the code I found in the custom html tab but I can't seem to make my banner clickable. Where exactly should I add the website address for the link? Any help will be appreciated.

<div id="page" class="{block:IfLeftSidebar}left-sidebar{/block:IfLeftSidebar}{block:IfNotLeftSidebar}right-sidebar{/block:IfNotLeftSidebar}">
    {block:IfBannerImage}
    <div class="banner">
        <a href="/"title="{Title}"><img id="banner" src="{image:Banner}" alt="banner"/></a>
    </div>
    {block:IfBannerImage}
    {block:IfNotBannerImage}
    {block:IfBlogTitleInPageHeader}
    <div class="banner textual">
        <h1 class="blog-title"><a href="/">{Title}</a></h1>
        {block:IfTagline}<p class="tagline">{text:Tagline}</p>{/block:IfTagline}
    </div>
    {/block:IfBlogTitleInPageHeader}
    {/block:IfNotBannerImage}
    <div id="content">


推荐答案

<div class="banner">
    <a href="/"title="{Title}"><img id="banner" src="{image:Banner}" alt="banner"/></a>
</div>

将您的网站放入

put your website in the

href=""

这篇关于如何在tumblr链接到另一个站点制作我的横幅?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆