如何在博主的主页中隐藏身体描述

时间:2015-09-18 14:56:12

标签: javascript jquery html css blogger

This is the description i want to hide 这是我的blog实际上我的问题是我想隐藏主页中的描述和iam使用博客我已经尝试了color:white因为它有效但当我将描述移到顶部或离开黑色时图像显示描述,因为它是白色的。

我也试过display:none;但是整体代码dstruct我的意思是标题移动到某些地方,图像移动到某些我希望了解我的问题的地方。

我听说过这可以通过jquery或javascript完成,我的意思是没有像display:none;color:white这样的CSS。

3 个答案:

答案 0 :(得分:0)

我发现说明以div显示。如果您不想看到该说明,请从源中删除div。

如果那个div是如此必要,你可以将idclass添加到特定的div并添加这样的css样式..

  <style>
   .desc{
            display: none;  
       }
  </style

  <div class="desc">

   tata capital job openings are there in mumbai it is one of the 
   leading company of the world with our large number of customers
   attracting wide range of customers from all over the world. There are 
   large number of jobs are avilable...
 </div>

答案 1 :(得分:0)

如果你可以编辑你的html模板,这里有一个解决方案..

转到信息中心&gt; 模板&gt; 修改HTML

找到具有 post-body 类的div容器(其中包含post discription)并将其包装为blogger b:if条件。在这种情况下,它将隐藏除了帖子页面和静态页面之外的所有页面的描述。

<b:if cond='data:blog.pageType in {&quot;static_page&quot;,&quot;item&quot;}'>

    //<div class='post-body entry-content' ...>

    //</div>
</b:if>

答案 2 :(得分:0)

您可以在博客帖子窗口中使用分页工具。 只需在每个第一段/单词

之前放置分页符

当然有帮助