1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Logo Size

Discussion in 'Forum Management' started by RichardGaspa, Dec 3, 2014.

  1. RichardGaspa

    RichardGaspa Active Member

    I am in the process of creating a logo for my forthcoming new installation of xenForo. What logo size do you recommend? Also what is the best format to use for the logo with xenForo?
  2. AndyB

    AndyB Well-Known Member

    I prefer using a .jpg image for my logo. My logo is 280px width by 110px height. One thing to consider is that in responsive view a larger logo like this will be too large on small displays. The XenForo code tries to scale logos for smaller screens but I have not found this to be effective. So what I do is use an add-on to remove the header in Responsive.

    The logo XenForo uses is very nice and small and works great on mobile devices, but not many sites have such a short name.
  3. Amaury

    Amaury Well-Known Member

    I would actually suggest using a PNG image. JPG / JPEG images lose quality at smaller sizes.
  4. kontrabass

    kontrabass Well-Known Member

    SVG! :) Check out our logo on high-res "retina" devices. You don't have to worry about a scalable vector graphic being blurry at all. Just edit your logo_block template with this:

    <img src="@headerLogoPath" onerror="this.src='http://yoursite.com/style/xenforo/logo.png'">

    so that in IE8 / Android 2.3 which don't support SVG, the png is served as fallback.
    maszd likes this.

Share This Page