lbrommer Posted August 27, 2020 Share Posted August 27, 2020 Hi, I have successfully changed my logo on my mobile version to a longer, rectangular logo to fit the screen better instead of the square-shaped logo I have on my desktop site. However, with the photo on my homepage my logo disappears. I'd like the blue logo on all of my pages, but I need the logo to be white on my homepage. The blue shows up when the navigation bar is open which is great, but that blue logo is hard to see on the main homepage. I have successfully coded so that I have a white logo only on my homepage for desktop, but I need the same for mobile. Link to comment
IXStudio Posted August 27, 2020 Share Posted August 27, 2020 Hi, Please share your website URL. Best, Leopold Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
lbrommer Posted September 1, 2020 Author Share Posted September 1, 2020 On 8/27/2020 at 6:03 PM, IXStudio said: Hi, Please share your website URL. Best, Leopold Laurenbeane.com PW: Lauren123 Link to comment
tuanphan Posted September 1, 2020 Share Posted September 1, 2020 Add to Code Injection Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-mobile-logo img').attr('href','https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg'); }); </script> Replace with your logo url IXStudio 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lbrommer Posted September 2, 2020 Author Share Posted September 2, 2020 (edited) @tuanphan Hmm, not working for me. The logo is still showing as blue on the homepage for mobile instead of white Edited September 3, 2020 by lbrommer Link to comment
lbrommer Posted September 11, 2020 Author Share Posted September 11, 2020 I still need help with this! Link to comment
tuanphan Posted September 11, 2020 Share Posted September 11, 2020 15 minutes ago, lbrommer said: I still need help with this! Try this code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-mobile-logo img, .header-mobile-logo img').attr('href','https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg'); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lbrommer Posted September 11, 2020 Author Share Posted September 11, 2020 8 minutes ago, tuanphan said: Try this code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-mobile-logo img, .header-mobile-logo img').attr('href','https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg'); }); </script> Still not working 😞 I hit the mobile icon, then edit --> advanced --> and inserted the code there. Is there something else I need to be doing? Link to comment
tuanphan Posted September 12, 2020 Share Posted September 12, 2020 22 hours ago, lbrommer said: Still not working 😞 I hit the mobile icon, then edit --> advanced --> and inserted the code there. Is there something else I need to be doing? ah sorry, invalid attribute, use this new code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-mobile-logo img, .header-mobile-logo img').attr('src','https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg'); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lbrommer Posted September 17, 2020 Author Share Posted September 17, 2020 On 9/12/2020 at 11:08 AM, tuanphan said: ah sorry, invalid attribute, use this new code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-mobile-logo img, .header-mobile-logo img').attr('src','https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg'); }); </script> Fantastic, it worked thank you!! Is there a way to keep that original blue logo on the homepage when the navigation bar is open? Link to comment
tuanphan Posted September 19, 2020 Share Posted September 19, 2020 On 9/18/2020 at 1:28 AM, lbrommer said: Fantastic, it worked thank you!! Is there a way to keep that original blue logo on the homepage when the navigation bar is open? Blue: nav open White: nav closed? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lbrommer Posted September 20, 2020 Author Share Posted September 20, 2020 On 9/18/2020 at 11:44 PM, tuanphan said: Blue: nav open White: nav closed? Yep exactly. Link to comment
lbrommer Posted September 24, 2020 Author Share Posted September 24, 2020 Still need help with this 🙂 Link to comment
IXStudio Posted September 24, 2020 Share Posted September 24, 2020 36 minutes ago, lbrommer said: Still need help with this 🙂 Hi Your logo is not loading! Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
lbrommer Posted September 24, 2020 Author Share Posted September 24, 2020 1 hour ago, IXStudio said: Hi Your logo is not loading! Weird! On mobile or desktop? And homepage or navigation? It's popping up for me, but I'm needing help with changing the mobile navigation logo to blue, not white. Link to comment
IXStudio Posted September 24, 2020 Share Posted September 24, 2020 36 minutes ago, lbrommer said: Weird! On mobile or desktop? And homepage or navigation? It's popping up for me, but I'm needing help with changing the mobile navigation logo to blue, not white. Use this code in Design -> Custom CSS [data-mobile-header-editing="true"] .header .header-title--use-mobile-logo .header-mobile-logo img { filter: invert(53%) sepia(99%) saturate(2783%) hue-rotate(185deg) brightness(88%) contrast(90%) !important; } Please use the like button if it helps you! Best, Leopold Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
lbrommer Posted September 24, 2020 Author Share Posted September 24, 2020 4 hours ago, IXStudio said: Use this code in Design -> Custom CSS [data-mobile-header-editing="true"] .header .header-title--use-mobile-logo .header-mobile-logo img { filter: invert(53%) sepia(99%) saturate(2783%) hue-rotate(185deg) brightness(88%) contrast(90%) !important; } Please use the like button if it helps you! Best, Leopold Didn't work for me 😞 Link to comment
IXStudio Posted September 24, 2020 Share Posted September 24, 2020 Please contact me via DM. 17 minutes ago, lbrommer said: Didn't work for me 😞 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
tuanphan Posted September 26, 2020 Share Posted September 26, 2020 On 9/21/2020 at 4:06 AM, lbrommer said: Yep exactly. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('body:not(.header--menu-open) .header-mobile-logo img, body:not(.header--menu-open) .header-mobile-logo img').attr('src','https://static1.squarespace.com/static/5f2da89fc1bc674879df58d5/t/5f482190346aab1905e7bc86/1598562704379/Copy+of+Untitled.png'); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment