Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

misimo

Member
  • Posts

    2
  • Joined

  • Last visited

  1. Hi - I am wondering if it is possible to switch between variants? I want anything with trailing double decimals to display without them - for example $250.00 should display as $250. But I still want to keep my trailing decimals on my little numbers - for example I want $1.50 to display as that - not $1.5 Is that possible or an impossibility? I have used the footer injection here - can it be edited to support this? <script> window.Squarespace.onInitialize(Y, function() { var prices = document.getElementsByClassName('sqs-money-native'); var thisPrice; var i, I; for (i=0, I=prices.length; i<I; i++) { thisPrice = prices[i]; thisPrice.innerHTML = thisPrice.innerHTML.replace(/(\.[0-9]*?)0+$/, "$1").replace(/\.$/, ""); //http://stackoverflow.com/questions/1015402/1015434#1015434 } })();
  2. Site URL: https://parrotfish-harmonica-7ta6.squarespace.com/config/design Hello, I have been trying and trying to change this with a variety of code and trial and error and I can't make it work - I am new to this so still learning. I thought I had cracked it, then when I refreshed it just reverted back to a version of the same - I want to move my title to underneath the image - change text to black - remove grey transparency box Can anyone help me do this - it is the lightbox pop up on a gallery page Thanks so much
×
×
  • Create New...