Add Header to Aardvark

Re: Add Header to Aardvark

by Jose Juan Durán -
Number of replies: 2

background-size: auto;
  was already added, but it did not work. Any other ideas?
  Thanks

In reply to Jose Juan Durán

Re: Add Header to Aardvark

by Jose Juan Durán -

Ok, me respondo a mi mismo

En el archivo aardvark.css del tema (supongo que también valdrá para otros temas), ponemos el código siguiente

#page-header { 

    background-image: url([[pix:theme|header-logo]]); /* the word 'theme'  is correct coding so DO NOT alter */
    background-color: #ECF0F1; /* gris del fondo de la plantilla */
    background-position: 0 50%; /* left center */
    background-repeat: no-repeat;
    background-size: 100% auto; /* optional */
    background-attachment: scroll;
    width: 100%;
    height: 160px;
    margin-top: 10px;


  Así me ha funcionado a mi. Un saludo.