-
Content Count
157 -
Joined
-
Last visited
-
Days Won
12
Everything posted by avsmithy
-
How can I track form submissions in Google Analytics?
avsmithy replied to edwinorange's question in Coding and Customization
Are you sure you added the code to the 'Post Submit HTML' and not the 'Post Header Code Injection'? -
How can I track form submissions in Google Analytics?
avsmithy replied to edwinorange's question in Coding and Customization
This is the best method for tracking for submissions, I can confirm it works. -
Hiding price on out of stock items?
avsmithy replied to rishisavera's question in Coding and Customization
Something along the lines of this: YUI().use('node', function (Y) { Y.all('.product').each(function(){ if (this.one('.sold-out')) { this.one('.product-price').hide(); } }); }); Insert in Code Injection (in script tags) -
How can I track form submissions in Google Analytics?
avsmithy replied to edwinorange's question in Coding and Customization
@odower - @webbroi is correct. Paste the script in post-submit HTML. -
How can I track form submissions in Google Analytics?
avsmithy replied to edwinorange's question in Coding and Customization
I get the same problem as Mark (above), looks like formName has been removed from the JSON (inc. on non-lightbox forms). You can use formId instead. -
How do I use a custom font via font-face?
avsmithy replied to gibbo_ireland's question in Coding and Customization
All of this code goes in the Custom CSS section. You might want to try: html {font-family: 'SegoeUILight', Arial, sans-serif !important; font-weight: normal;} -
How do I use a custom font via font-face?
avsmithy replied to gibbo_ireland's question in Coding and Customization
Your font-face code will probably work, but use this instead (Font Squirrel syntax): @font-face { font-family: 'SegoeUILight'; src: url('http://static.squarespace.com/static/50abaaf7e4b09a617638422b/t/50d21b81e4b08b028a4868cf/1355946881950/segoe-ui-light.eot?#iefix') format('embedded-opentype'), url('http://static.squarespace.com/static/50abaaf7e4b09a617638422b/t/50d21b86e4b05f4ba8bed41f/1355946886233/segoe-ui-light.ttf') format('truetype'), } Next, you'll need to specify the use of the font across your site e.g. html {font-family: 'SegoeUILight', Arial, sans-serif; f -
Can I create a forum on my Squarespace site?
avsmithy replied to jessewaugh's question in Coding and Customization
A Google search turns up http://tal.ki/ which is a basic embeddable forum. -
No. However you can upload the SVG code into a code block. Open the SVG in a text editor and copy everything from <svg... to </svg> (inclusive).
-
How do I change the background color of a single page using CSS?
avsmithy replied to COUP's question in Coding and Customization
Ah right, no, you shouldn't be getting this from the url. You need to use your browser tools to inspect the dom. There's no "Id" in the collectionId selector. I've updated the answer.- 7 replies
-
- color
- custom-template
-
(and 2 more)
Tagged with:
-
How do I change the background color of a single page using CSS?
avsmithy replied to COUP's question in Coding and Customization
I've updated my answer.- 7 replies
-
- color
- custom-template
-
(and 2 more)
Tagged with:
-
How do I change the background color of a single page using CSS?
avsmithy replied to COUP's question in Coding and Customization
Use: { background: black; } or { background: #000000; } These all mean the same thing. The # symbol is a reference to hex notation for colours, so putting #black is gibberish to a computer. There are also others ways to choose colours such as rgb, rgba and hsla (the last 2 include alpha/transparency), but hex is the standard (and what i'd advise unless you need alpha). Also, make sure the CSS selector is correct, you need to a # in front of collectionId, remove the space just after body and remove the "Id" from collectionId: body#collection-506c8e08e4b04376cb19938d {...}- 7 replies
-
- color
- custom-template
-
(and 2 more)
Tagged with:
-
Check out the Google Maps Store Locator thingy: http://storelocator.googlecode.com/git/index.html