OCULTAR ELEMENTOS EN ZONAS DEL BLOG


Para localizar el elemento buscas el nombre y copias la ID.
Estos elementos hay que colocarlos antes de </head>

  • Ocultar un elemento SÓLO en la portada del blog
<b:if cond='data:blog.url == data:blog.homepageUrl'>

<style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>
  • Ocultar un elemento en todas partes MENOS en la portada del blog
<b:if cond='data:blog.url != data:blog.homepageUrl'>

<style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento SÓLO en las entradas individuales
<b:if cond='data:blog.pageType == &quot;item&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento en todas partes MENOS en las entradas individuales
<b:if cond='data:blog.pageType != &quot;item&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento SÓLO en las páginas del archivo del blog
<b:if cond='data:blog.pageType == &quot;archive&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento en todas partes MENOS en las páginas del archivo del blog
<b:if cond='data:blog.pageType != &quot;archive&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento SÓLO en las páginas estáticas
<b:if cond='data:blog.pageType == &quot;static_page&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento en todas partes MENOS en las páginas estáticas
<b:if cond='data:blog.pageType != &quot;static_page&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento en una entrada específica o etiqueta específica
<b:if cond='data:blog.url == &quot;URL de la entrada o etiqueta&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>

  • Ocultar un elemento en todas partes MENOS en una entrada o etiqueta específica
<b:if cond='data:blog.url != &quot;URL de la entrada o etiqueta&quot;'><style type='text/css'>

#NOMBRE {

display: none;

}

</style>

</b:if>


  • Ocultar mas de un elemento a la vez
<b:if cond='data:blog.pageType == "static_page"'>(o cualquier lugar antes especificado)

<style type='text/css'>

#NOMBRE,NOMBRE, NOMBRE... {

display: none;

}

</style>