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

Search the Community

Showing results for tags 'code injection'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges


Expert ID

Found 37 results

  1. Site URL: https://educationacademy.xyz/ Hi Squarespace community, I am completely at a lose with this problem. I followed a couple of tutorials (only to cross-check the steps) on how to install the Facebook messenger plugin widget and for some reason it appears when I go into my website but when other people visit my page, they do not see the widget. I have whitelisted all variations of my website on Facebook: https://educationacademy.xyz/ , https://www.educationacademy.xyz/ , https://educationacademy.squarespace.com/ . Like I said, I am the website owner and Facebook page owner and I can see the widget but my website guests can not see it. What can I change so that way all of my guests can see and use the widget? Any guidance would be greatly appreciated and I, of course, can provide any additional information if needed. Thanks!
  2. Hi all Hope you're all well. Having challenges with the site using a different image for mobile. Would like for the site to display a different image when it shows on mobile. Please can anyone help. Thanks in Advance
  3. Site URL: https://tomato-pear-bkrm.squarespace.com/ Hello, I have used an accordian plug-in to add information to my products. The markdown currently shows in the Additional Info but i would love for it to show in the Product Description, above Variables and Purchase button. Any help is very much appreciated, Thank you
  4. Site URL: https://www.travelelectric.com/ Hi, does anyone know how to hide this "search tool tekst"(see print screen) in the header of my site? I've added this in the page header code injection to create an search icon. But I don't want this tekst to appear.
  5. I have a Javascript file that I've uploaded to my site which can be accessed via url.com/s/hover.js. I want to reference this script using code injection, but just putting this in doesn't work: <script src="url.com/s/hover.js"</script> When I visit that URL, hover.js just automatically downloads instead of displaying inside my browser. Can't see what the static1.squarespace.com link actually is. With that in mind, how do I get or find the static URL of this file?
  6. Site URL: http://kickasspicnics.com I'm using a widget so that site visitors can whatsapp me directly from the site. Great for mobile, but on desktop it just leads you to a prompt "Looks like you don't have the app for whatsapp installed on your computer" which, isn't ideal. Is there a way to nest the widget's code inside some other code so that it's only visible on mobile?
  7. Site URL: http://martinadvocatcourageot.com Hi everyone! I've been looking to add a feature for a few weeks and can't seem to get my head around it. My website is in French (the main section once you enter it). My goal is to add a way to switch everything in english (on cover page and on the main site). I was thinking of a GB flag or at least a 'ENGLISH VERSION' on the upper corner. Problem is, I contacted the support and they told me there was no way to do it using the build in tools, but maybe code injection was a solution. So if anyone can help me with that, I'd love some advice :) Thanks !
  8. Site URL: https://mushroom-sapphire-grdc.squarespace.com/ (This code will allow a little outer glow around a specific image:) If I put it in Design>Custom CSS, and it works, but I am trying to put page specific code on their respective pages to try to organize a bit better: #block-yui_3_17_2_1_1596655451516_4134 {.image-overlay {box-shadow: 0px 0px 10px 4px (#fff);}} How do I translate this code to a single blog page where I am either suppose to inject it into either the "Page Header Code Injection” area or the "Post Blog Item Code Injection” I thought it would be this but it is not working: <style> #block-yui_3_17_2_1_1596655451516_4134 {.image-overlay {box-shadow: 0px 0px 10px 4px (#fff);}} </style> Any thoughts? Thanks in advance,
  9. When pasting active campaign code into the code injection where exactly should I be pasting it. I'm told in the footer but where exactly in the footer. ActiveCampaign says: " For Site Tracking to work, you need to paste the tracking code that we provide into each page of your website. In general, we recommend placing the code in the footer as this is the easiest way of having site tracking work on all pages. However, you will need to review the documentation provided by your Content Management System (CMS) to make sure the placement of the code is correct. In addition, they may provide a solution that allows you to only paste the code once, and have it display on all pages. " I attached a picture of the website's current footer code. Should I just hover my mouse after </script> on line 34, enter once to line 35 and then just paste on line 35?
  10. Site URL: https://www.cathuddhistbuddhatholic.com/catholic-buddhist-cathuddhist-buddhatholic-jenee-arthur/https://www.cathuddhistbuddhatholic.com/catholic-buddhist-5 I've added code to the Blog page header and it is showing. It's not an issue on a computer, but it encroaches on copy and navigation in mobile view. I would like for the code to remain, but not be visible. Thanks
  11. I need to have gallery pages with no header or footer (i.e. no branding or links) and I'm using Squarespace 7.1 I found this code at 38visuals, and inserted it into the page see attached jpegs. It does not work no matter what I try. Anyone know what's wrong with the code or if this is even possible in 7.1
  12. Site URL: https://www.versed-goods.com/shop/do-not-purchase Hello, I would like to know if anyone would be able to help me get two form fields to disappear then reappear based on a radio choice. The form that this would happen in can be found on https://www.versed-goods.com/shop/do-not-purchase. What i want to happen is the uploader and the selector would both be hidden on page load, then one would appear based on which radio option you choose. The code i have has a part where the uploader is hidden, if you run the commented out hide while the form is open in the inspector it will hide the upload field. This should be happening when it opens. Here is the code i have: <script> //when the radio for uploading a product is clicked show the appropriate form field $(document).ready(function(){ //get data var window = $('.sqs-modal-lightbox'); var uploader = $('.sqsf-uploader'); //hide form fields uploader.hide(); //$('.sqsf-uploader').hide(); // selector.hide(); //add class to file input field $(document).ready(function(){ $("input[type='radio']").click(function(){ var radioValue = $("input[name='radio-yui_3_17_2_1_1595106168164_103612-field']:checked").val(); if(radioValue == 'yes'){ selector.hide(); uploader.show(); } else { selector.show(); uoloader.hide(); } }); }); }); </script>
  13. Site URL: https://siteid.squarespace.com/ It not working on my site. Please SOLVE these problem. Website Password: 11111 --------------------------------------------------------------------------------------------------------- <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> const typedTextSpan = document.querySelector(".typed-text"); const cursorSpan = document.querySelector(".cursor"); const textArray = ["hard", "fun", "a journey", "LIFE"]; const typingDelay = 200; const erasingDelay = 100; const newTextDelay = 2000; // Delay between current and next text let textArrayIndex = 0; let charIndex = 0; function type() { if (charIndex < textArray[textArrayIndex].length) { if(!cursorSpan.classList.contains("typing")) cursorSpan.classList.add("typing"); typedTextSpan.textContent += textArray[textArrayIndex].charAt(charIndex); charIndex++; setTimeout(type, typingDelay); } else { cursorSpan.classList.remove("typing"); setTimeout(erase, newTextDelay); } } function erase() { if (charIndex > 0) { if(!cursorSpan.classList.contains("typing")) cursorSpan.classList.add("typing"); typedTextSpan.textContent = textArray[textArrayIndex].substring(0, charIndex-1); charIndex--; setTimeout(erase, erasingDelay); } else { cursorSpan.classList.remove("typing"); textArrayIndex++; if(textArrayIndex>=textArray.length) textArrayIndex=0; setTimeout(type, typingDelay + 1100); } } document.addEventListener("DOMContentLoaded", function() { // On DOM Load initiate the effect if(textArray.length) setTimeout(type, newTextDelay + 250); }); </script> ---------------------------------------------------------------------------------------------------
  14. Site URL: https://ionicons.com/ Hi everyone, I found out that https://ionicons.com/ is similar to Font Awesome, in which you can use designed icons on your website. However, I couldn't figure out how to use their icons in Squarespace. Does anyone know how to do it? I need to install it to the Squarespace 7.0 Brine template. I installed this text from their website to do Code Injection Header <script src="https://unpkg.com/ionicons@5.1.2/dist/ionicons.js"></script> Then add this code to the Markdown , but nothing happened. <ion-icon name="heart"></ion-icon> Am I doing anything wrong? Thank you.
  15. Hi Guys, I've been trying to inject coding into my header to link a "Timely" bookings button. I've injected the code required from my booking software into the header field but it's not showing over the header. When i'm flicking between pages i get a glimpse of it in the top corner but then disappears when the rest of the header loads, its almost like its sitting behind everything else. I tested in the footer and it showed fine. Is there a way to make it visible and to be able to move it to a different position? Ideally i would like it to sit next to my contact button or even in it's place if possible while moving the Contact link to the footer. I've managed to get the link into the body of my Home page but would prefer it in header site wide. Any ideas would be magic.
  16. Hi, I'm trying to use ads from Media.net on my site to generate some income. For the ads to be able to display, Media.net requires me to add the following custome code to my site header using code injection: <script type="text/javascript"> window._mNHandle = window._mNHandle || {}; window._mNHandle.queue = window._mNHandle.queue || []; medianet_versionId = "3121199"; </script> <script src="https://contextual.media.net/dmedianet.js?cid=8CUY1287I" async="async"></script> However, after injecting this piece of code, my pages don't display properly in my Squarespace page builder. It does still display correctly in the live version though. The attached image shows what appears when I try to open a page in the site builder. As you can see, it seems like the page is only displayed in the header part of the page. The weird thing is though that sometimes it does display correctly, and sometimes it doesn't. Does anyone have experience with this issue, know what the cause is and how to fix it? Thanks in advance! Tom
  17. Site URL: https://www.nathannixonphotography.com/cart Hey all, My website has been customized (Brine family) so that my header overlaps my homepages gallery banner - I think it looks great. However, this causes issues on other pages which don't have a banner as my Logo (which is in white) almost disappears. I have solved this on those white background pages with a simple header code injection to invert the color of the logo (and cart button) so that it turns to black. However, on the Cart page of the site I am unable to access the settings menu of the page to actually inject any code so I can't use my solution to fix the page. I was wondering if anyone knew a way I could use to specifically target just the Cart page to get my Logo and the Cart Icon to invert to black? For reference, this is the code I am injecting on the pages such as my Store and Journal pages. <style> .Header-branding-logo { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } </style> <style> .Cart { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } </style> Any help would be appreciated, thank you!
  18. Site URL: https://alligator-pike-e9e8.squarespace.com/reg-form-page-from-blank Hello 🙂 At the bottom of my form (see link) there are 3 checkboxes. I want all 3 boxes to be checked by default. The users would then have to uncheck the options they don't want, but none are required. How can I do this? If possible I'd like to make this change specific to this form or this page (in case I need to have other forms in the future without checked being the default). Thanks for any help you can give!
  19. Hello, I'm currently trying to set-up google adsense on our site to serve advertising. Google gave us code to past into the <head> </head> tags of our site, which was done via code injection from the advanced settings menu. However, Google keeps returning the application saying the code is missing. On looking into the code of the site, i can see that code pasted in head injection actually falls outside of the <head> </head> tags - does anyone know why this might be and how i could possible solve this issue? Many thanks in advance
  20. Site URL: https://www.thefarmco.com/shop-the-farm-menu Something strange is happening: when I add HTML code for a Dutchie iFrame on the page referenced above, the footer disappears. When I deleted the code block the footer reappears. Another page on the site has a slightly different code block, also for a Dutchie iFrame, and the footer is visible (https://www.thefarmco.com/shop-the-farm-express-menu). Does anyone know what is happening? Is it because the content of the iFrame is too long? Any other ideas? Thansk!
  21. Site URL: https://www.pcr-global.com I've set up SentryLogin using the method they provided (footer code injection) but this has knocked out all of the Custom CSS on the site - custom bullet points, clickable images fading when hovered on etc. Can anybody please, please help trouble shoot this?
  22. Site URL: https://www.civicchangemakers.com/codecivic Hello All: I want to lock down a page on my site so that it can not be accessed by typing in the direct url. I only want a person to be able to access this specific page if they are coming from a consent page. This project site (for a virtual hack-a-thon) is for middle and high-school students. Before they can access the "get-started page" which will have a sign-up form, they will need to first go to the parental consent page (a form) have their parents complete it and then after the consent form is completed, be able to go to the "get started" page. So what I am trying to do is make it so that if a student attempts to gain access to the "get started" page by typing in the url directly they would be redirected to an access denied page. The project site is https://www.civicchangemakers.com/codecivic The access denied page is https://www.civicchangemakers.com/codecivic/access-denied After some research I believe some of the code I am interested in would be utilizing document.referrer in the script, but I do not know where to start. Also I am not sure if the code should be placed in the site code injection or page code injection. Any assistance/code would greatly appreciated. -Holly
  23. Site URL: http://www.juliestamenic.com Hi everyone! I am trying to reduce the size of the banner of my home page. It does not seem to be possible through the settings menu. Is there any code I could inject? The goal is to have WELCOME TO MY WORLD and the text under it closer to each other :) A million thanks Julie
  24. Site URL: https://www.bridgitsolutions.com/blog/increases-efficiency-simplify-resource-planning-processes Hi, We are building our own AMP pages and need to add AMP discovery tag to each page. <link rel="amphtml" href="https://www.example.com/url/to/amp/document.html"> Does SquareSpace have any sort of templating language that will allow me to inject the URL as a tag in <head></head>? Essentially, for URL: https://www.bridgitsolutions.com/blog/increases-efficiency-simplify-resource-planning-processes I need to add the following code in head tag: <link rel="amphtml" href="https://amp.bridgitsolutions.com/amp/blog-increases-efficiency-simplify-resource-planning-processes"> This code is unique to each page. Thoughts/suggestions on how to make this happen?
  25. Site URL: http://timnortonlcsw.com Hi all, So, I added a LeadBox to my site's footer, but it's stretching out the logo image in my site's header. Anyone know how to fix this? I've tried scaling the logo image in numerous ways but nothing seems to help. It's fine on mobile and other devices. Thanks for your help in advance.
×
×
  • Create New...