Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Cannot get CSS snippet to load my logo image in my header


andresjassawda

Question

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
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0

@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
  • 0
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.

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
  • 0
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.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...