Logo Changes When Scrolling After Empire Update - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Logo Changes When Scrolling After Empire Update

SS

Steve Stevenson

Template 2 years ago

Hi since updating my Empire template the logo (fixed position at top left of screen) shrinks when scrolling. Can I stop this?

www.document-genetics.co.uk Steve

0
21 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #115964

Hi

Thanks for contacting us. Could you please give me your site URL correctly? It does not working.

-Regards.

0
SS
Steve Stevenson
Accepted Answer
2 years ago #115968

[https://www.document-genetics.co.uk]

It seems to change size as the window size changes (but gets bigger with a smaller window).

Thanks Steve

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116095

Did you fix it already? It seems same on both sides

https://prnt.sc/BpfZr06L3q7W

0
SS
Steve Stevenson
Accepted Answer
2 years ago #116098

No, it is not fixed.

The logo is smaller than before the update.

It changes size as the window size changes and gets BIGGER with a smaller window which is not as before the update.

Thanks Steve

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116171

Keep a backup and give me your super admin access please I need to check.

0
SS
Steve Stevenson
Accepted Answer
2 years ago #116190

ok

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116285

You can change the logo height from here. Use this CSS in your custom.css file

#sp-header #sp-logo {
    height: 80px !important;
}
0
SS
Steve Stevenson
Accepted Answer
2 years ago #116297

Hi, tried it but does not work.

The log is too small on the main view but gets bigger when the browser is smaller.

(I tried different browsers and cleared cache every etc)

Regards Steve

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116452

Please use this one on your custom.css file


@media screen and (min-width: 320px) and (max-width: 767px)
#sp-header #sp-logo .logo .sp-default-logo {
    width: 80px !important;
  height:80px !important;
}
0
F
Francesco
Accepted Answer
2 years ago #116461

Hi,

I have the same problem, with the latest update the logo is expanded in Smartphone view.

https://badafinder.it/

Now it shows a width="726" that wasn't there before.

Francesco

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116527

Yeah I see. Please try that solution which I provided.

0
F
Francesco
Accepted Answer
2 years ago #116531

I have try Custom CSS with:

@media screen and (min-width: 320px) and (max-width: 767px)
#sp-header #sp-logo .logo .sp-default-logo {
    width: 80px !important;
  height:80px !important;
}

But the problem isn't solved

If it can be useful to understand better, the template is helix ultimate

Francesco

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116621

Your site is different and CSS classes are also different. That's why it does not work. Please create a new forum post about your issue.

0
F
Francesco
Accepted Answer
2 years ago #116707

I solved thanks, the error was caused by JCH

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116861

Glad to know that your issue is fixed now.

0
SS
Steve Stevenson
Accepted Answer
2 years ago #116926

Sorry, but still not working! I'm confused about how you are not seeing what I am?

The logo image renders larger in smaller screens. Please lake a look at the website www.document-genetics.co.uk

When the screen is minimised the logo gets bigger.

I want the logo to be 200 x 71px on standard view (as before the Helix update).

Thanks Steve

1
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #117105

Use this custom CSS for mobile


@media screen and (min-width: 320px) and (max-width: 844px){
#sp-header #sp-logo .logo .sp-default-logo {
  width:150px !important;
}
}
1
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #116966

Use this custom CSS

#sp-header #sp-logo .logo img{
  width:200px !important;
  height:71 px !important;
}

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.

0
SS
Steve Stevenson
Accepted Answer
2 years ago #117022

So, thank you, nearly there, except logo does not get smaller when scrolling and now overlaps search menu on mobiles.

Below is the code I believe you have recommended in this thread:

/* ----------- fix for logo changing size after helix update START----------- */
#sp-header #sp-logo{height:200px !important;} 
@media screen and (min-width: 320px) and (max-width: 767px)
#sp-header #sp-logo .logo .sp-default-logo {
    width:80px !important;   height:80px !important;
}

#sp-header #sp-logo .logo img{
  width:200px !important;
  height:71 px !important;
}
1
SS
Steve Stevenson
Accepted Answer
2 years ago #117122

Yes Mehtaz, got there. Thanks for all your help the last week. Regards Steve

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #117157

You are always welcome.

0