Can't swap out header logo image

2 replies · opened Jan 18, 2022

BbcolledaJan 18, 2022

For some reason whenever I change the logo images for the header, the image takes up the full header height. This is too big!

This is the previous code:


     [
![attachment](images/logo.png)
](index.html)
     [
![attachment](images/logo@2x.png)
](index.html)

This is mine:


	[
![attachment](img/headerimage/whitelogosm.png)
](index.html)
	[
![attachment](img/headerimage/whitelogo@2x.png)
](index.html)
darklogosm.png is 116px x 25px
whitelogosm.png is 116px x 25px
whitelogo@2x.png is 162px x 35px
darklogo@2x.png is 162px x 35px

The images should not be taking up the entire header, but it stretches out the image!

Do you know how to fix this? I'm out of ideas. Thanks.

BbcolledaJan 18, 2022

I think I figured out why!

The previous "Canvas" image had a blank space on the top and bottom so it would fill header.

Is there a way to do this without changing all of the images, so they are just the height of the logo itself?

SSemicolon WebSTAFFJan 18, 2022

Hello,

Apologies for the Inconveniences caused!

Yes, absolutely! Simply add the .header-size-custom Class to the `` Tag and this will be resolved.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard