【问题标题】:How do I insert more space between a post type and its tags (on tumblr)?如何在帖子类型及其标签之间插入更多空间(在 tumblr 上)?
【发布时间】:2013-12-12 03:46:54
【问题描述】:

所以我最近想出了如何为主题添加标签,但现在我遇到了间距问题。文字帖子和图片帖子(example) 上的一切看起来都很好,但出于某种原因,一切都被压缩在引号和(chat posts) 上。

聊天贴代码如下:

        <div class="conversation post">


                    {block:Title}
                        <h2>{Title}</h2>
                    {/block:Title}

                    <ul>
                        {block:Lines}
                            <li class="member{UserNumber}">
                                {block:Label}
                                    <span class="label">{Label}</span>
                                {/block:Label}
                                {Line}
                            </li>
                        {/block:Lines}
                    </ul>

    {block:HasTags}
    <p class="tagged">{lang:Tagged}: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}</p>
    {/block:HasTags}


                    <div class="postmeta">{block:Date}<a href="{Permalink}">{TimeAgo}</a>&nbsp; {/block:Date}
    <a href="{Permalink}" style="text-transform:lowercase;">{lang:Notes} ({NoteCount})</a></div>

                </div>

                {block:PostNotes}
                    <div>{PostNotes}</div>
                {/block:PostNotes}

            {/block:Chat}

我可以添加或更改代码的任何建议,以获得我想要的帖子本身和标签之间的空间???

【问题讨论】:

    标签: html css themes blogs tumblr


    【解决方案1】:

    对不起,我看错了……

    你在哪里

    <ul>
        {block:Lines}
            <li class="member{UserNumber}">
               {block:Label}
                <span class="label">{Label}</span>
                {/block:Label}
                {Line}
             </li>
          {/block:Lines}
    </ul>
    

    改成

    <ul style="margin-bottom:50px">
        {block:Lines}
            <li class="member{UserNumber}">
               {block:Label}
                <span class="label">{Label}</span>
                {/block:Label}
                {Line}
             </li>
          {/block:Lines}
    </ul>
    

    50px(50像素)是间隙

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-01
      相关资源
      最近更新 更多