Emporio 구글테마, 헤더이미지 안보이게 설정 / Set the header image to not be visible

Emporio 구글테마, 헤더이미지 안보이게 설정

Set the header image to not be visible



1. Theme setting > HTML 에서 검색

2. 아래 코드를 검색한다.
data:widgets.Blog.first.posts.first.featuredImage

3. 이 코드를 주석 처리를 한다.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<!--
<b:if cond='data:view.isSingleItem'>
  <b:if cond='data:widgets.Blog.first.posts.first.featuredImage'>
    <b:include data='{                                 
                      image: data:widgets.Blog.first.posts.first.featuredImage, selector: &quot;.bg-photo&quot;                               
                     }' name='responsiveImageStyle'/>
    <div class='bg-photo-container'>
      <div class='bg-photo'/>
    </div>
  </b:if>
</b:if>
 -->

4. CSS마지막에 다음 코드를 추가한다. 헤더 이미지가 삭제되서 제목이 너무 붙어 있기 때문에 공간을 띄어서 보기좋게 한다.
1
.item-view .post-wrapper {padding-top:45px;}

댓글