Jump to content

caseyh

Circle Member
  • Posts

    112
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by caseyh

  1. Site URL: https://whbc.squarespace.com Hello. I'm using the Hanley family of fonts on a new site project built with 7.1. I'd like to use some of the alternate character ligatures/glyphs on the site, but I can't figure out how to do it. So far, I've uploaded most of the Hanley fonts and configured them for use in various places using custom CSS. Site password: hotdogs On one page in particular, I'm using Hanley Script in an H1, and that's where I'd like to use the alternate glyphs. Attached are screenshots of the text live on the site and the other from Photoshop that shows what I want it to look like. I've tried a number of variations of the following in a Code block: <h1>From <span style="font-family: "Hanley Script"; XYZ;">t</span>he <span style="font-family: "Hanley Script; XYZ;">H</span>ear<span style="font-family: "Hanley Script; XYZ;">t</span></h1> Where XYZ was attempts like the following: font-variant-alternates: character-variant(XYZ); font-feature-settings: "salt" 2; font-feature-settings: "salt2" on; font-feature-settings: "ss02" I haven't found any combination that works. Anybody have any ideas? Do I have to use a font file format other than OTF, maybe?
  2. Aha! I found a slightly different solution on Stack Overflow that seems to be working for now: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $(".sqs-add-to-cart-button-inner").text("Sponsor"); }); </script> Source: https://stackoverflow.com/questions/42396019/not-possible-to-change-button-text-via-jquery
  3. I have Express Checkout enabled and I'm trying to use this code to change the "Purchase" button to say "Sponsor". It doesn't seem to be working. I have the code in place now: Here's the live site: https://firstpreshart.org/angel-tree/child-017 If anyone can help me change the "Purchase" text to "Sponsor," I'd be very appreciative. I also tried using the following, but that isn't working work either. This code is currently disabled on the live site. <script> // Purchase button Text document.querySelectorAll(‘.sqs-add-to-cart-button-inner’).forEach(function(b){ b.innerHTML = “Sponsor” }); </script> Source: https://heathertovey.com/blog/change-default-text-labels/
  4. Even more disappointingly, in 7.0, you could add Font Awesome Icons to navigations using Link items. See this search icon which uses this code: <i class="fas fa-search"></i> I've used that method several times to link from the nav or footer to the /search page on a site. In 7.1, it appears that code is now disabled in navigation items altogether, meaning you can't do a lot of things—not even make a nav item bold or italics. That may seem like a small thing but being able to insert code into a nav item (and many other places in SQS) was super useful. A real digression in features.
×
×
  • 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.