Site logo

[Resolved] Tamaño recomendado para logo

Home Forums Support [Resolved] Tamaño recomendado para logo

Home Forums Support Tamaño recomendado para logo

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1253733
    Pedro

    Hola! He creado un nuevo sitio con la plantilla “Marketer” https://gpsites.co/marketer/

    Estuve buscando pero no encontré el tamaño recomendado para el logotipo del sitio.

    ¿Podrían compartirme las dimensiones recomendadas?

    Gracias!

    #1254039
    Leo
    Staff
    Customer Support

    Hi there,

    There aren’t any specifications or recommendation for this.

    It’s all personal preference.

    The logo is controlled by the menu item height:
    https://docs.generatepress.com/article/menu-item-height-width/

    #1696373
    Pablo

    Hi:
    The problem is that you cannot specify a specific width and height in the logo, so pagespeed gives an error of lack of both attributes. How do I add them manually from the CSS customizer and what class does the logo use specifically to add the measures I want and avoid the google error? Waiting for your response, attentively:

    page speed google

    Pau Company

    #1696616
    Elvin
    Staff
    Customer Support

    Hi Pablo,

    For that specific flag from google PSI, you’ll need to filter the logo output to add the attributes.

    Some GP sites have 2 logo versions, one for mobile and one for desktop.

    For mobile(Mobile Header EnableD), you can add the image height and width by filtering it using the generate_mobile_header_logo_output filter.

    See David’s code here:
    https://generatepress.com/forums/topic/how-to-set-height-and-width-for-the-logo-image/#post-1563234

    For the desktop version of the logo, you can add in the height and width attribute by using my snippet here:
    https://generatepress.com/forums/topic/los-elementos-de-imagen-no-tienen-width-y-height-explicitos/#post-1679528

    #1696951
    Pablo

    Hi:
    Thanks a lot. Problem solved.

    Pau Company

    #1698054
    Elvin
    Staff
    Customer Support

    Nice one. No problem. 😀

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.