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

Using different version of logo on different pages


mydavis
Go to solution Solved by tuanphan,

Question

Site URL: https://rose-pike-aek7.squarespace.com/

Hi all! I am using the Cailles template and need to use different versions of the logo on different pages (white logo on full bleed photo background and dark blue logo on pages with light background). I have using suggestions from posts re: other templates but have not found a solution. Anyone know what code I should insert to make this happen? I have saved the secondary logo in the custom files.

Thank you!!

Link to post
  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

6 answers to this question

Recommended Posts

  • 0

Add to Page Settings > Advanced > Header. Each page has Page Header

<style>
.header-title-logo img {
    visibility: hidden;
}
.header-title-logo a {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
<style>

 

You can send your question to my email to get faster answer.

How to:

-- I'm off in Lunar New Year. Will take 3-7 days to you get the answer on Forum.

Link to post
  • 0
43 minutes ago, mydavis said:

Hmmm . . . I tried that with my image URL but it did not work. 

 

It works here. Double check your image url, maybe it doesn't exist.

image.thumb.png.83443eb73fb08f1689cb424a1a2902e9.png

You can send your question to my email to get faster answer.

How to:

-- I'm off in Lunar New Year. Will take 3-7 days to you get the answer on Forum.

Link to post
  • 0

Here is the code I am using:

<style>
.header-title-logo img {
    visibility: hidden;
}
.header-title-logo a {
    background-image: url(https://static1.squarespace.com/static/5e6fc297a3e3627e85192c4d/t/5e71720c38067705e7fa983a/1584493068511/CAM_website_logo_blue_flatofont.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
<style>
 

And where I am inserting it is attached. Am I doing something wrong? 

 

Screen Shot 2020-03-17 at 10.09.00 PM.png

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...