Tagged: x
-
AuthorPosts
-
May 19, 2016 at 3:54 pm #1000264
NicholasKSParticipantHi Guys,
Basically what I want to do is have 2 different “logo width” values in customizer, one for Desktop and one for Mobile. I want the logo to be smaller when the site is viewed on mobile.
Im not sure if this can be done with CSS?
I have attached 2 screenshots, one with a view from desktop and another from mobile. The reason I want to change the logo width ONLY on mobile is to make the logo smaller so the nav mobile button isn’t touching the edge of the nav bar and is in-line with the logo. If its easier, is there any CSS code I can use to add padding around the button and centre it under the logo?
Im using the latest versions of X and cornerstone, running the renew Stack with in-line logo-navigation header if that helps at all. Thanks. 🙂
May 19, 2016 at 3:55 pm #1000266
NicholasKSParticipantHeres the desktop screenshot since it didn’t upload correctly.
May 19, 2016 at 7:14 pm #1000452
JadeModeratorHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
May 19, 2016 at 8:03 pm #1000585
NicholasKSParticipantThis reply has been marked as private.May 19, 2016 at 10:49 pm #1000844
Nabeel AModeratorHi again,
Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
@media screen and (max-width: 550px){ .x-brand img { width: 220px; } }Let us know how this goes!
May 20, 2016 at 1:37 am #1001041
NicholasKSParticipantThanks!
It worked great and I adjusted the value to get it to fit perfectly. I appreciate your speedy response 🙂
Thanks for the awesome help X support!
May 20, 2016 at 1:41 am #1001045
Paul RModeratorYou’re welcome and thank you for your kind words!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1000264 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
