Jump to content

<sup> not working for Site Header 7.1

Recommended Posts

Hello!

I am trying to use the <sup> and </sup> for the 'nd' in my shop name: The 2nd Look

In edit mode the title appears to work correctly. When I save changes the title changes and it shows the <sup> written out. I am attaching snapshots of what happens in both edit mode and saved mode.

I would be so grateful if someone could help me with this. 

password: amberamber

 

Thank you!

Screenshot 2021-01-16 at 15.34.50.png

Screenshot 2021-01-16 at 15.34.38.png

Link to comment
  • Replies 4
  • Views 293
  • Created
  • Last Reply
On 1/18/2021 at 5:37 PM, The2ndLook said:

Keep sup code & Add this to Home > Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("a#site-title").each(function(){
    $(this).html($(this).text());
  });
});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.