Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Logo for website

Featured Replies

Hi all,

 

I have a question about how to avoid a pixelated logo.

 

For inspiration, I’ve looked at the CNBC logo at CNBC.com. It looks like to logo is crisp and clear. When you open the logo image in a new tab (https://sc.cnbcfm.com/applications/cnbc.com/staticcontent/img/cnbc-hdr-logo2.png) the dimensions looks bigger than on the site CNBC.com. Thus the logo on the website is smaller than the dimensions of the PNG image, which makes it look crisp and clear.

 

My question is: How do I do the same on my website with my logo?

 

Kind regards,

Crypto

use svg instead - clear at any size (well ok not 5px wide :) and any any high res screen like retina or similar display and you only need one asset for any size or screen pixel density. align your pixels to the pixel grid in the programme you made your logo in (if you can) and it should be good to go!

  • Author

Thank you dap for the answer! Do you know how to implement an SVG file in HTML so that it can run on Internet Explorer, Google Chrome, Firefox and Safari and have a PNG file to fall back on? I tried with this, but could not make it work:

<img src="img/logo.svg" onerror="img/small.png; this.onerror=null;"/>

You don't need a fallback unless you use IE8, fallbacks make it difficult to do things like sprites effectively.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.