Change size of logo in mobile version

hi i want to change size of logo in mobile version.
i wrote this here /* Mobile Portrait Size */
#logo {
position: fixed;
top: 0;
left: 0;
max-width: 30%;
max-height: 10px;
}
top and left work, other not

Hello Mightybat,

maybe there are already settings for the other attributes like max-width and so on. Try to write

#logo {
position: fixed;
top: 0;
left: 0;
max-width: 30% !important;
max-height: 10px !important;
}

This !important means, that this part of code is prioritized.

Does it fix your issue?

King regards

WeAreOne, unfortunately no, thank you

Do you have an URL from your site? Then we could look for the exact code.

http://cnwork.ru/

That can’t work because #logo isn’t the right ID for your logo.

Use this:


.site-logo {
  position: fixed;
  top: 0;
  left: 0;
  max-width: 20% !important;
}

Thank you, works great

but i changed fixed to absolute

That’s great! Yeah, I just used fixed because you wrote it above.
Good luck with your website.