Guest Posted January 9, 2021 Share Posted January 9, 2021 Site URL: https://www.moose-tangerine-ybng.squarespace.com Greetings, I cannot get my logo to work onto my top header. Here is my code below. header-title-logo a { background-image: url(https://app-stockbucketsio-s3.nyc3.digitaloceanspaces.com/django-static/logos/sb.svg); background-size: contain; background-repeat: no-repeat; background-position: center center; width: 200%; height: 200%; } .header-title-text { display: none !important; } Am I doing something wrong? I have removed the title text that gets in the way, but for some reason my image wont load? Thank you for the help! Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 (edited) Did you use any <script> code in Code Injection? Edited January 10, 2021 by tuanphan 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
Guest Posted January 10, 2021 Share Posted January 10, 2021 @tuanphan, thanks for your reply. I am inserting the CSS in Design > Custom CSS. I just added the script tags as you say: <script> header-title-logo a { background-image: url(https://app-stockbucketsio-s3.nyc3.digitaloceanspaces.com/django-static/logos/sb.svg); background-size: contain; background-repeat: no-repeat; background-position: center center; width: 200%; height: 200%; } .header-title-text { display: none !important; } </script> My image still doesn't seem to appear. Link to comment
tuanphan Posted January 12, 2021 Share Posted January 12, 2021 On 1/10/2021 at 11:07 PM, andresjassawda said: @tuanphan, thanks for your reply. I am inserting the CSS in Design > Custom CSS. I just added the script tags as you say: <script> header-title-logo a { background-image: url(https://app-stockbucketsio-s3.nyc3.digitaloceanspaces.com/django-static/logos/sb.svg); background-size: contain; background-repeat: no-repeat; background-position: center center; width: 200%; height: 200%; } .header-title-text { display: none !important; } </script> My image still doesn't seem to appear. Replace it with <style> and </style> 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
Guest Posted January 13, 2021 Share Posted January 13, 2021 @tuanphan, I'm getting an inline error on the first line. Seems like <style> is the problem? Link to comment
tuanphan Posted January 16, 2021 Share Posted January 16, 2021 ah sorry, if inserting to Custom CSS, remove <style></style> and <script> and </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
Guest Posted January 17, 2021 Share Posted January 17, 2021 I still seem to get the same error. Link to comment
tuanphan Posted January 20, 2021 Share Posted January 20, 2021 On 1/18/2021 at 6:42 AM, andresjassawda said: I still seem to get the same error. Can you post all code here (post code, no screenshot, difficult to check with screenshot)? We can check easier 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