2013年11月26日 星期二

[HTML語法] 如果要在Blogger文章顯示固定圖片或文字的方法

在首頁不顯示,在內文顯示的方法如下:

找尋post-header-line-1,找到後在
 <div class='post-header-line-1'/>
                                  </div>
                                  <b:if cond='data:blog.metaDescription == &quot;&quot;'>
                                    <!-- Then use the post body as the schema.org description,
for good G+/FB snippeting. -->            
                                    <div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id' itemprop='description articleBody'>

                                      <data:post.body/>
                                      <div style='clear: both;'/>
                                      <!-- clear for photos floats -->
                                    </div>
之下加入紅色的地方,中間加入你想要顯示圖片或文字的樣式
<b:if cond='data:blog.pageType == "item"'>
你想放的簽名檔或圖片
</b:if>

例如圖片(這是我個人另一個網站「 咖啡妹&噗吱咩部落格」為範例) 




沒有留言:

張貼留言

影片的問題請留在影片的留言區裡。
部落格不會另外通知給我,所以很難發現你有留言。