-
AuthorPosts
-
March 10, 2016 at 4:10 pm #832675
kcadminParticipantI have read through some of the other formum posts regarding using different logos for mobile sites/smaller screen formats, but cannot find exactly what I need. My newest X-them site at http://www.kammscafe.com uses a vertical logo that is not very smartphone friendly. What is the best and/or easiest way to use a different, horizontal version of the logo for the smaller screen formats? Also, is there are recommended width size in pixels for this horizontal graphic? I have a child theme setup if that helps. Thanks, Del
March 10, 2016 at 9:53 pm #833037
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > JavaScript in the Customizer.
(function($) { if ($(window).width() < 980) { $(".x-brand img").attr("src", "http://kammscafe.com/wp-content/uploads/2016/03/kamms-cafe-logo-horizontal.png") } })(jQuery);Let’s change the URL of image with your another version of logo’s URL.
Cheers!
March 11, 2016 at 3:14 pm #834052
kcadminParticipantYou all rock!
March 11, 2016 at 7:16 pm #834289
DarshanaModeratorGlad we were able to help 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-832675 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
