Logo cut off at the top on smartphone - Forum | JoomShaper
Staff replied Helix Framework

Logo cut off at the top on smartphone

Asked by Sven Engelke 1 month ago Last activity 1 month ago

Hello!

I am currently having an issue with the Helix template: while I can adjust the logo size for smartphones using custom CSS, the top of the logo gets cut off.
What can I do?

Many thanks!

Regards,
sven

16 replies

Mehtaz Afsana Borsha Staff

Hi,

Thanks for contacting us. Could you please give me your site URL and also a screenshot of your issue?

-Regards.

Sven Engelke Asked this

Hello!

I just managed to get it working on my phone.
Now I'm having trouble with landscape mode and tablets.
The logo ends up being tiny. I'm stuck there.

See hidden Content for URL etc.

Thank you.

Regards, sven

Mehtaz Afsana Borsha Staff

Hi,

Could you please check your site URL? I cant access on that.

Sven Engelke Asked this

Hello,

Please accept my apologies.
There was a typo in the URL.
I have posted the correct URL in the protected area.

Many thanks!

Regards,
Sven

Mehtaz Afsana Borsha Staff

Hi,

Use this CSS in your custom.css file

@media (max-width: 992px) {
    .logo-image {
        height: 250px !important;
    }
}
Sven Engelke Asked this

Hello!

I implemented it, but unfortunately, it isn't working.
Everything is fine on the smartphone and the PC.
It's causing problems on the tablet.

Regards,
Sven

Mehtaz Afsana Borsha Staff

Hi

Please use this CSS in your custom.css file

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

You have used this CSS and set height 30px that's why it shows small. Please remove that CSS and make it 250px.

Sven Engelke Asked this

Hello,

That isn't in the custom CSS at all.

The following is in the custom CSS:

#sp-header {
    background: rgba (0,0,0,0);
}
#sp-header {
   position: absolute;
}


#sp-header.header-sticky{
   background: white;
}

.burger-icon > span {
    background-color: #ffffff !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li a, 
.offcanvas-menu .offcanvas-inner ul.menu > li span { 
    color: #ffffff; 
}
@media (max-width: 767px) {
    #sp-header, .burger-menu {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
    .logo-image {
        max-height: 100% !important;
        object-fit: contain;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .logo-image img, .sp-default-logo {
        height:400px !important; /* Erhöhe diesen Wert, bis die Größe passt */
        max-height: 200px !important; 
        width: auto !important;
    }
    #sp-header {
        height: auto !important; /* Verhindert, dass das größere Logo wieder abschneidet */
    }
}

Regards, sven

Mehtaz Afsana Borsha Staff

Ok, But now please use this CSS in your main CSS file

.logo-image-phone {
    height: 250px !important;
}
Mehtaz Afsana Borsha Staff

Hi,

Is this helped?

Log in to reply.