-1

Add headers h1, h2, h3 (Contempo) it is work good but when I put my logo I dont't whant see the title text of my blog.

petttto
  • 9
  • 3

3 Answers3

0

From your blog dashboard, go to Layout > Header and select Instead of title and description

  • Thak you for your answer Bassam. This is done but when I put the code from the link above the title of my blog appeared in the articles. I have no problem with the first page. – petttto Jan 30 '19 at 10:53
  • Can you see answer 3 above please. – petttto Feb 01 '19 at 12:02
0

The Blogger Theme is Contempo, I was able to hide the title by replacing this code:

<b:class cond='data:this.imagePlacement == &quot;REPLACE&quot;' name='replaced'/>

with this one:

<b:class cond='data:this.imagePlacement == &quot;REPLACE&quot;' name='hidden'/>

but I'm not sure it's right and it's good for SEO what do you think?

There is two code

<b:class cond='data:this.imagePlacement == &quot;REPLACE&quot;' name='replaced'/>

I'm changin the second.

petttto
  • 9
  • 3
  • I think there's no problem [read this](https://webmasters.stackexchange.com/questions/1377/how-bad-is-it-to-use-display-none-in-css) –  Feb 01 '19 at 19:28
  • Thak you, Is there a better way to hide the headline in articles with another code? There is a little problem when adding second tittle with h2 tag? – petttto Feb 02 '19 at 13:27
  • Of course, you can target only headline in header by this CSS rule `header h2 { display: none }` or share your blog url to define one. –  Feb 02 '19 at 15:16
  • Ok, to hide blog title in articles, add this to CSS code `.replaced h2 { display: none }` –  Feb 02 '19 at 19:56
0

Thank you for help Bassam, I have added this code

.centered-top-container .Header .replaced h2, .centered-top-placeholder .Header .replaced h2 {
    display:none;
}
.centered-top-container.sticky .Header .replaced h2 {
    display:block;
}

Under this one

.centered-top-container .Header .replaced h1, .centered-top-placeholder .Header .replaced h1 {
    display:none;
 }
 .centered-top-container.sticky .Header .replaced h1 {
    display:block;
 }

Now everythink is OK, thank you one more time :)

petttto
  • 9
  • 3