Ability to change logo size in nav modal header

When adding your logo to the Nav block’s modal header, you can’t actually change the size of the logo.

That’s because .cc-nav-header-logo has width: 100px automatically added to it, and I don’t think it can be changed.

image

Might just be better to remove that and allow users to change their logo size either when setting the logo or through the RS?

Hello @sunny,

Thanks for bringing this up.

Indeed, the logo wrapper is preventing the logo width to be bigger than 100px, but you can currently adjust the width of the logo.
We’ll have an option to change the wrapper styles in the next update.

Cheers,

1 Like

Hello @sunny,

A width property was introduced in 1.2.9.6.1 for the modal logo header which should allow you to modify the 100px width set by default.

Thanks for the request once again.

Cheers,

1 Like

Hi @Louis I noticed an issue with SVG’s and applying the width only to the Logo Wrapper Div (cc-nav-header-logo). For SVG’s you have to apply width to the element itself or the SVG will have no width or height and will not display (.cc-nav-header-logo–img).

Hello @hopscotch,

Thanks for bringing this up and apologies for the trouble.
Definitely something that needs addressing, we will have a fix for this in the upcoming updates.

Cheers,

1 Like