Logo image style auto generate

2 replies · opened Dec 24, 2020

Hhientran21Dec 24, 2020

Hi,

I have the following code for the logo:

<!-- Logo
============================================= -->
<div id="logo">

attachment

</div><!-- #logo end -->

But when i ran the site it showing me this extra (style="height: 100px;") in the source code:

<div id="logo">

attachment

</div>

It auto generate "style="height: 100px;". Where is this coming from? how can i change it to show "height: 70px;" instead?

Regards,
Hien

SSemicolon WebSTAFFDec 24, 2020

Hello,

The Logo Sizes are set through JS (js/functions.js) but can be easily modified using CSS. To change the Logo Height, simply apply the .header-size-custom Class on the #header DIV and then use this CSS Code:
[ch_pre].header-size-custom #logo img {
height: 70px;
}[/ch_pre]

Hope this Helps!

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

Hhientran21Dec 24, 2020

Awesome! thanks for your help.

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