Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 20h 39m 10s
Claim 50% off
Solved Templates

Menu Height on mobile version

Asked by Dominik 5 years ago Last activity 4 years ago

Hi there
Joomshaper was able to solve my header size problem in the mobile version with this code:

.logo-image-phone {
height: 55px!important;
}

But unfortunately for my site, the menu bar will be smaller than 60px. Here is a screenshot:

https://prnt.sc/1qlgh8b

How can I correct the height of the menu bar to 60px? So only in the mobile version, the desktop version works.

The page: hailtec.ch

Domi

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff
5 years ago · edited

Hi

Then use this custom css


@media (max-width: 768px){
#sp-header{
    height:65px !important;
}
.logo-image-phone{
    position:relative;
    top:5px;

}
}


Add this css code inside the custom.css file.
Note: Path towards custom CSS:
Extensions>Templates>Styles>
Click on your current default template name then choose Template Options.
Then find custom CSS within the custom code.
https://prnt.sc/pu705g
https://prnt.sc/pu70zn
In Extensions>Template> Template Options > Custom Code > Custom CSS please add this
Thanks

8 more replies

Mehtaz Afsana Borsha Staff

Hi

Are you talking about top meu?

Dominik Asked this

Yes

Dominik Asked this

I have already done that. Sorry, I forgot to mention that. In any template, since there are 5 languages.

Mehtaz Afsana Borsha Staff

Then reduce the height on every page and then clear your browser cache and check

Dominik Asked this

Sorry, I don't think we understand the same thing. I don't want the logo smaller but the menu bar bigger. The logo should be 55px high, the menu bar is smaller here with this template. Why? With all other templates it worked without problems.

Domi

doug raught

Thanks for this code. I REALLY NEEDED IT! It works great.

Log in to reply.