Jump to content

[ajuda] editar css do blogger


msr

Recommended Posts

Olá,

Estou a editar um template do blogger e precisava da vossa ajuda. É suposto aparecer a data do post por cima desta imagem e nao aparece.

O codigo que encontro que me parece estar relacionado com isto é este:

/**/ * html #fecha { left: -70px;} /**/ 

#fecha { padding: 0px; margin: 0px; position: absolute; left: -15px; top: 3px; background: url(http://i254.photobucket.com/albums/hh92/eblogtemplates/dilectio/PostTimeBkg.gif) no-repeat; height: 71px; width: 67px; text-align: center; color:#fff; }

#fecha strong { display: block; line-height: 9px; font-family: 'Verdana';}

small#fecha {
padding: 0px; margin: 0px; font-size: 11px; line-height: 14px; font-weight: bold; display: block
}

#fecha .fecha_dia{ font-size: 16px; line-height: 18px; letter-spacing: -1px; padding-top: 20px; font-family: 'Arial';}
#fecha .fecha_mes { font-size: 10px; text-transform: lowercase;}
#fecha .fecha_anio { padding-top: 7px; font-weight: normal; }

#fecha span {padding: 0px; margin: 0px; font-size: 11px; line-height: 14px; font-weight: bold; display: block}

<script>
function remplaza_fecha(d){
var da = d.split(&#39; &#39;);
dia = "<strong class='fecha_dia'>"+da[2].replace(/,/,"")+"</strong>"; 
mes = "<strong class='fecha_mes'>"+da[1].slice(0,3)+"</strong>"; 
anio = "<strong class='fecha_anio'>"+da[3]+"</strong>";
  document.write(dia+mes+anio);
}
</script>

Conseguem ver alguma coisa de errado?

Obrigado por qualquer ajuda que possam dar.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.