Header Height Mobile - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Header Height Mobile

H

Hjalte

Helix Framework 3 years ago

Why is it impossible for me to change the header height on mobile

The template.css have this code, and i can't change it in custom.css ?

@media (max-width: 575px)
#sp-header {
    height: 50px;
}

The Header Height is basic settings is set to 60px, but also still show 80px from template.css

Please help

www.ellisellis.com

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94881

Hi,

This is not fully correct code, missing { }

I guess you want to have 80px value, right?

Have you set it inside Template Options for Mobile view?

In case of .... yes you can use custom CSS, but it should look like that:

@media (max-width: 575px) {
#sp-header {height: 80px;}
}

But 680px is more universal value for modern mobile screens.

You can also use !important to force that value.

@media (max-width: 680px) {
#sp-header {height: 80px !important;}
}

custom.css file indeed.

0
H
Hjalte
Accepted Answer
3 years ago #94892

Ahh thanks

Logo Height (Mobile) is working, so i just changed that.

When i try to change Basic > Header > Header Height (Mobile) nothing happens.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94915

I noticed that as well, we have to correct that soon.

0