Jump to content

HEADER ISSUE WHEN EDITING VIEWING MOBILE SITE (squarespace issue /* Hide prices on Squarespace Brine template - by Soundfocus Digita)

Recommended Posts

  • Replies 3
  • Views 413
  • Created
  • Last Reply

It looks like someone has incorrectly added this code to your Code Injection area instead of the Custom CSS area. You can remove it by going to Settings > Advanced > Code Injection.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment

Hi Paul, there is indeed a code inserted which was to help with a scroll down menu.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script> 
  $(document).ready(function() { 
    // Add as many of the following line as you need (one line per folder redirect)
    $('.header-nav-folder-title[href="/architectural-hardware"]').attr("href", "architecturalhardware");
   
    
    $('.header-nav-folder-title').click(function(){
      window.location = this.getAttribute("href");
    });
  }); 
</script>

The above is different than what we had originally inserted.

The copied code in my question has only started showing up late yesterday and only seems to show up while we are in the store menu and reloading pages. 

Not sure if you can make anything of it. Much appreciated.

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.