Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383
It works perfectly, but as you know the layout stops to be responsive because the logo disappears from the smartphone screen. How can I stop the shift only on the mobile display?
Hopefully to be clear, it wasn’t so easy to explain.
Thanks!
to declare a CSS rule for a certain range of screen sizes, you can use the @media option: @media only screen and (min-width: 767px) { #logo-wrap, #nav-primary { left: -250px !important; } }
You can read more about the @media queries e.g. here.