Tagged: x
-
AuthorPosts
-
April 22, 2016 at 4:44 am #895058
AlexParticipantHello,
how can I change the size of the logo when it changes to mobile view.
Or can I even change the whole logo-image?Thank you very much for your help!
Regards,
AlexApril 22, 2016 at 4:44 am #895060
AlexParticipantThis reply has been marked as private.April 22, 2016 at 8:05 pm #896105
RadModeratorHi there,
Thanks for posting in.
That’s possible, please add this CSS to Admin > Appearance > Customizer > Custom > Global CSS with your preferred size.
@media ( max-width: 767px ) { .x-brand.img { width: 60%; } .x-brand.img img { width: 100%; } }Cheers!
April 24, 2016 at 3:30 am #897233
AlexParticipantThank you very much!
It worked! 🙂Cheers!
April 24, 2016 at 10:59 pm #898018
LelyModeratorYou’re welcome!
Always,
XApril 25, 2016 at 4:40 am #898337
AlexParticipantHello,
is there any possibility to change the image when it goes to mobile view.
Thanks!
Regards,
AlexApril 25, 2016 at 11:10 am #898853
ThaiModeratorHi Alex,
Please add the following CSS:
@media (max-width: 979px){ .x-brand.img img { opacity: 0 } .x-brand.img { background: url(http://traube-bellenberg.de/wp-content/uploads/2016/04/traube-logo.png) no-repeat center center; background-size: 100% 100%; } }Then replace
http://traube-bellenberg.de/wp-content/uploads/2016/04/traube-logo.pngwith your logo for the mobile version.Hope it helps 🙂
April 25, 2016 at 3:17 pm #899248
AlexParticipantIt worked!
Thanks,But now I must decrease the header height.
April 26, 2016 at 3:58 am #899952
AlexParticipantI figured it out
.x-navbar { height: 90px; }one more question:
on small display sizes jumps the mobile menu button out of the navbarHow can we fix that?
April 26, 2016 at 3:59 am #899953
AlexParticipantThis reply has been marked as private.April 26, 2016 at 6:49 am #900140
LelyModeratorHello There,
Please adjust the following custom CSS:
@media (max-width: 340px){ .x-brand.img { background: url(/wp-content/uploads/2016/04/traube-logo-schmal.png) no-repeat 0px 10px; background-size: 100%; } .x-brand { width: 180px; height: 80px; } }To this:
@media (max-width: 340px){ .x-brand.img { background: url(/wp-content/uploads/2016/04/traube-logo-schmal.png) no-repeat 0px 10px; background-size: 100%; } .x-brand { width: 150px; height: 80px; } }There’s not enough space to display the logo and the menu button in one line. We have to reduce the logo’s width.
Hope this helps.
April 26, 2016 at 6:58 am #900152
AlexParticipantThx!
April 26, 2016 at 11:50 pm #901453
RupokMemberYou are welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-895058 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
