Jump to content

Tremont template, light/dark logo issue

Recommended Posts

Site URL: http://www.harborpoint.com

Hello,

Putting the finishing touches on a Tremont site that uses a white logo on the home page, and a darker logo on every other page. 

I've used the solution that was previously posted and I can get the two logos to appear.

<script>
Y.on('domready', function(){
 Y.one("#siteHeader img").setAttribute("src","https://static1.squarespace.com/static/whitelogo.png");
});
</script>

The problem now is that if I go to the site using the site URL, only the white logo appears on all the inside pages. If I go to the site using a URL to one of the inside pages and then click to the homepage, the logo is the darker version. Basically, the way I enter the site seems to dictate the logo appearance for the length of the session. This issue does not happen in the CMS test (it works as anticipated there) - only on the live site.

Any help with this would be appreciated. Thank you!

Link to comment
  • Replies 2
  • Views 375
  • Created
  • Last Reply

It's a cache issue. You'll need to disable Ajax by unchecking Enable Ajax Loading in Site Styles to fix it.

christyprice.com  🇺🇸 Austin, TX US 

 Get my 100+ item Client Process Checklist for $17.
📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts
🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz)
🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.