BTS Posted August 30, 2020 Share Posted August 30, 2020 Site URL: https://www.bluetigerstrategies.com/ Hi, On the home page of my site I have a dark background, so I am using a version of my logo with white text. However, the mobile view is showing the default version of the logo. How do I alter my javascript code to apply this to the mobile version of the page as well? Here is my current code: <script> window.onload = function() { document.querySelectorAll('.header-title-logo img')[0].src = 'https://static1.squarespace.com/static/5e1bc385dce55f319aa9bc76/t/5e2fcdd08cb7153a935183b0/1580191191614/blue-tiger-strategies-logo-white-text.png'; }; </script> My site is bluetigerstrategies.com. Link to comment
BTS Posted September 2, 2020 Author Share Posted September 2, 2020 I still need help with this! Link to comment
tuanphan Posted September 7, 2020 Share Posted September 7, 2020 I see you solved? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.