Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By i15 on
Hey!
Have a question about logos for high resolution screen (Retina, for example)
I use Corolla theme and logo with size of 64x64 looks bad on Retina display. I upload that through LOGO IMAGE SETTINGS on the theme setting page. But if I upload a bigger logo (for example, 256x256), it just looks big on a half screen. It does not small and sharp :( It is just big.
I am just super confused. How can I upload a big logo (128x128 or 256x256) to make it looks good on high resolution display?
Thank you!
Comments
Set the height and width
Set the height and width attributes of the image tag to be half the actual height and width of the image.
So if your logo is 128x128, you would use:
Can you please explain me
Can you please explain me that?
I have to add/replace that to some theme file?
Which one?..
You'll need to alter the
You'll need to alter the existing code for the logo. It will be in your theme. Probably in a file called page.tpl.php, but maybe somewhere else.
Yes, this file is.
Yes, this file is.
I just don't really understand php :(
Probably, i need this part:
m?...
m?...