Jump to content

Edit History

Alba93

Alba93

On 2/12/2021 at 7:30 AM, Prestachamps said:

Hi,

well the header is splitted in 2 and 10 cells of bootstrap grid so the proper way is to change this to 12 and 12 in your header.tpl

If you don't know how to do it, you can use this CSS workaround:



#header .logo {
    max-height: 100px;
    margin: 0 AUTO;
    display: block;
}
#header .header-top .position-static {
    position: static;
    width: 100%!important;
}
div#_desktop_logo {
    width: 100%;
}

The max-height is needed for now as you have a huge image uploaded for your logo, so you should re-upload a smaller version for the logo(with a macimum height of 100, or depends how big you want your logo to be on the site), and then you won't need to force the max-height for the logo in CSS.

Kind regards, Leo

Hola Leo,

Muchísimas gracias por tu ayuda. ¡Ha funcionado! me gustaría hacerte una pregunta más.. sabes si es posible cambiar el tipo de letra? :) muchísimas gracias por la ayuda, de verdad!

Gracias, un saludo.

Alba.

Alba93

Alba93

On 2/12/2021 at 7:30 AM, Prestachamps said:

Hi,

well the header is splitted in 2 and 10 cells of bootstrap grid so the proper way is to change this to 12 and 12 in your header.tpl

If you don't know how to do it, you can use this CSS workaround:


#header .logo {
    max-height: 100px;
    margin: 0 AUTO;
    display: block;
}
#header .header-top .position-static {
    position: static;
    width: 100%!important;
}
div#_desktop_logo {
    width: 100%;
}

The max-height is needed for now as you have a huge image uploaded for your logo, so you should re-upload a smaller version for the logo(with a macimum height of 100, or depends how big you want your logo to be on the site), and then you won't need to force the max-height for the logo in CSS.

Kind regards, Leo

Hola Leo,

Muchísimas gracias por tu ayuda. ¿Para modificarlo con css tengo que borrar el texto de #header .logo que ya viene pretederminado y añadir lo que me has puesto aqui, o simplemente lo añado al final del documento de theme.css?

Gracias, un saludo.

Alba.

×
×
  • Create New...