Jump to content

LOGO CENTRADO


Alba93

Recommended Posts

1 hour ago, Prestachamps said:

Hola,
envíame tu URL donde está la imagen, y te enviaré la regla CSS que la centrará;)
Saludos cordiales, Leo.

Hola,

te refieres a que te envíe la URL de mi tienda online!?

saludos,

Alba

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
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.

Edited by Alba93 (see edit history)
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...