anna_ Posted June 16, 2020 Share Posted June 16, 2020 Site URL: https://avocado-eagle-fehc.squarespace.com Hi guys, On some pages I would like a white logo, some a black. Hoping someone can help. I have an extra colour in my logo, not just black to invert to white. The invert code works great except the orange goes blue which is not good. I have uploaded the white version to the CSS manage file section, but I cannot get any codes I find around the place to work. (eg : <script> window.onload = function() { document.getElementsByClassName('Header-branding-logo')[0].src = 'URL_TO_IMAGE'; }; </script> ) Can anyone help out please? Anna https://avocado-eagle-fehc.squarespace.com Pw HiThere123 Link to comment
tuanphan Posted June 16, 2020 Share Posted June 16, 2020 Add to Page Settings > Advanced > Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-title-logo img').attr('src','https://beaverhero.com/wp-content/uploads/2020/05/ss-pricing-table01-min.png'); }); </script> Replace beaverhero with new logo url. 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
anna_ Posted June 16, 2020 Author Share Posted June 16, 2020 100000 Thank yous!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 😍 Link to comment
anna_ Posted June 29, 2020 Author Share Posted June 29, 2020 This suddenly does not work anymore! 😭 Link to comment
tuanphan Posted June 29, 2020 Share Posted June 29, 2020 33 minutes ago, anna4 said: This suddenly does not work anymore! 😭 Which page? 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
anna_ Posted June 29, 2020 Author Share Posted June 29, 2020 The ones I added the code to - actually that is untrue. It is the portfolio pages - the actual portfolio pages - AND the pages that hold the list of the projects... Link to comment
tuanphan Posted June 29, 2020 Share Posted June 29, 2020 Can you share link to portfolio pages? I Don't see porfolio 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