mydavis Posted March 18, 2020 Share Posted March 18, 2020 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 comment
tuanphan Posted March 18, 2020 Share Posted March 18, 2020 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> 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
mydavis Posted March 18, 2020 Author Share Posted March 18, 2020 Hmmm . . . I tried that with my image URL but it did not work. Link to comment
tuanphan Posted March 18, 2020 Share Posted March 18, 2020 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. 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
mydavis Posted March 18, 2020 Author Share Posted March 18, 2020 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? Link to comment
tuanphan Posted March 18, 2020 Share Posted March 18, 2020 I see the code works. Try clearing your browser cache. 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
mydavis Posted March 18, 2020 Author Share Posted March 18, 2020 Thank you so, so much. You have been incredibly helpful. I really appreciate it!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.