The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Logo SVG Bug

Discussion in 'User Experience' started by nibb, Jun 14, 2017.

Tags:
  1. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    310
    Likes Received:
    2
    Trophy Points:
    68
    It seems cPanel now supports vectors for icons and logo branding. Great !

    But there seems to be a bug with the logo uploaded on the branding section. Suggested size is 250x50 and that is fine if you use PNG. But if you use SVG the logo displays tiny. Extremely small. It does not resize correctly to 250x50 even if your SVG is in that format. If you export the same logo back to PNG it shows fine in the header but with a vector format, it doesn't.

    I suspect this is related CSS it's resizing the logo with the responsive setting is shrinking it incorrectly. It just looks back.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @nibb,

    Could you verify if you are using the Retro style for Paper Lantern? We have a case open (CPANEL-13671) with a similar report, but only affecting the Retro style.

    Thank you.
     
  3. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    310
    Likes Received:
    2
    Trophy Points:
    68
    Nope. Not using the retro style but default. Seems to affect all of them equally. Instead of using the whole wide in the header like the PNG does, the SVG gets shrunk 4 or 5 times its size. It's a CSS responsive issue because I had that issue before on bootstrap sites with vector images. The solution was to give the vector file a fixed wide in the HTMl code.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @nibb,

    I've opened internal case CPANEL-13945 to report this issue. I'll monitor the status of this case and update this thread with more information as it becomes available.

    Thank you.
     
Loading...

Share This Page