How can I adjust my logo size in the header without expanding the entire header height?


Hello,

i have a problem with the size of the logo in the header.

my logo size is 500x500 px but when i put it in the header it doesnt read well. i try to resize the height header but now is realy too high.

Maybe is better if i expand the size of logo in the header without expand the all height of the header.

Hallo @Guido57

You can add code by following these steps to change

  1. Go to Online Store → Theme → Edit code > assets > base.css

paste below code at bottom(base.css)


**.header .header__heading .header__heading-link {**
**padding: 2px;**
**}**
**.header .header__heading img {**
**height: 95px !important;**
**width: 120px !important;**
**object-fit: cover;**
**}**

If you require any further information, feel free to contact me.

Best regards,

1 Like

Hi @Guido57 ,

This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/base.css->paste below code at the bottom of the file:

.header .header__heading .header__heading-link {
    padding: 2px;
}
.header .header__heading img {
    height: 95px !important;
    width: 120px !important;
    object-fit: cover;
}

I hope it would help you
Best regards,

Richard | PageFly

it works, thank u.

hello, now the problem is that it works only in the homepage. when i open another page it doesn work like in the homepage, i need it works in the all website. can u help me?

Hi @Guido57 ,

You can try replace previous my code by below code:

.header .header__heading-link {
    padding: 2px;
}
.header .header__heading-link img {
    height: 95px !important;
    width: 120px !important;
    object-fit: cover;
}

I hope it would help you
Best regards,

Richard | PageFly

1 Like

thank u, now it works.