2014-12-02 2 views
-2

내 웹 사이트의 로고 및 사이트 제목에서 제목 태그를 제거하려고하지만 진행 방법을 모르겠습니다.로고에서 h1 테이크를 제거하십시오.

<header id="header" class="show-on-scroll" data-offset-el=".index-section" data-offset-behavior="bottom" role="banner"> 
    <div class="header-inner"> 
     {.section website}<div id="{.if logoImageUrl}logoWrapper{.or}siteTitleWrapper{.end}" class="wrapper" data-content-field="site-title"> 
     {.section logoImageUrl} 
      <h1 id="logoImage"><a href="/"><img src="{logoImageUrl}?format=1500w" alt="{siteTitle}" /></a></h1> 
     {.or} 
      <h1 id="siteTitle" class="site-title"><a href="/">{siteTitle}</a></h1> 
     {.end} 
+0

"제목 태그 제거"란 무엇을 의미합니까? '

'과'

'을 모두 제거하지 않습니까? – Ryan

+0

나는 H1을 언급했다. 모두에게 감사드립니다. –

답변

0

마크 업에서 h1 태그를 변경하십시오.

<header id="header" class="show-on-scroll" data-offset-el=".index-section" data-offset-behavior="bottom" role="banner"> 
    <div class="header-inner"> 
     {.section website}<div id="{.if logoImageUrl}logoWrapper{.or}siteTitleWrapper{.end}" class="wrapper" data-content-field="site-title"> 
     {.section logoImageUrl} 
      <div id="logoImage"><a href="/"><img src="{logoImageUrl}?format=1500w" alt="{siteTitle}" /></a></div> 
     {.or} 
      <div id="siteTitle" class="site-title"><a href="/">{siteTitle}</a></div> 
     {.end}