Show The missing H1 Tag on Blogger Homepage Title (ISSUE)


#1

Hi ,

I applied the method which is described in Mohammad webpage and talking about “Show The missing H1 Tag on Blogger Homepage Title”

After apply css code to hide <h1> text , this code down didn’t work,it didn’t hide text.Do I miss something ?Can anyone help me? my website is www.ntsotsos.gr

.header h1 a,.header h2 a, .header h1 a:visited, .header h2 a:visited{color:#fff; font-size:10px;text-decoration:none;margin:0;padding:0} 
.header h1 span, .header h2 span{text-indent:-999em; display:block;}

I already post a comment to mohammad but I still need your advice too.Please reply!


#2

Hi Nick,

I have updated that post and I have mentioned there that you need to replace the code in step#4 with the new code which contanins the <span> tags

You just need to replace this Blog Title text

Τοποθέτηση,επισκευή και συντήρηση σε ξύλινο πάτωμα

with this

Τοποθέτηση,επισκευή και συντήρηση σε ξύλινο πάτωμα

And it will work just fine! :innocent:


#3

Thanks Mohammad for your reply .

If I optimize the code in step5(<!--No header image -->) it give me an error .Please can you tell me what to do?

I think a </b:if> is missing ,am I right or I will mess up the template?


#4

Hi @Mohammad

I too have a problem with this.

When I try to search the

<div id='header'>

or

<header>

There is none.

There is only <div id='header-inner'> inside the custom template I use.

The questions:

  1. Is it the same?

  2. When I replace this code

!–No header image -->

     <div id='header-inner'>
<div class='titlewrapper'>
        <h1 class='title'>
          <i class='fa fa-users'/><b:include name='title'/>
        </h1>
      </div>

With

<!--Header Tags Optimized Code by MBT-->
<div class='titlewrapper'> 
<b:if cond='data:blog.pageType == &quot;index&quot;'> 
                          <h1 class='title'> 
                            <b:include name='title'/> 
                          </h1>
<b:elseif cond='data:blog.pageType == &quot;archive&quot;'/>
<b:if cond='data:blog.pageType == &quot;index&quot;'> 
<h1 class='title'> 
<b:include name='title'/> 
</h1>

<b:else/> 
  <h2 class='title'> <b:include name='title'/></h2> 
</b:if> 
                        </div>

There was notification

Error parsing XML, line 614, column 27: The element type "b:if" must be terminated by the matching end-tag "</b:if>".

Is there anything wrong codes I put?


#5

@izham the ending </b:if> is missing just add that after the ending </div> and I guess it should work1


#6

Nope. The problem still exist. I still can’t figure it out why. Any one with the problem?


#7

@izham do not replace the <div id='header-inner'> code. Paste and replace the code after it then it will work. Yes some custom template using header-inner also