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

Change logo img just on homepage


AndrewMarston

Question

Site URL: https://www.andrewmarston.com

I'm trying to change the logo image just on the homepage.

I enter the code below into the advanced page settings but it doesn't change the image, only displaying the code at the top of the page (see attached screenshot).

#collection-5e555c3449a12573884f3abf .header-title-logo img {
    content: url(https://static1.squarespace.com/static/5e5550e…/5e5945f…/5e62fb1…/1583544754043/Logo2020-white.png);
}

 

Capture.JPG

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

wrap your code in style tag <style> paste your code here </style>  

The reason for this is that Page Header Code Injection is injected into the HEAD of the document, rather than the BODY. So, when you use custom CSS in this way, it must be contained in a style tag so

Posted Images

2 answers to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...