Search the Community
Showing results for tags 'code injection'.
-
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 prop
- 1 reply
-
- media.net
- code injection
-
(and 1 more)
Tagged with:
-
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?
-
Hi! I was wondering if anyone knew of a way to create a landing page that is separate from the home page on Squarespace 7.1?
- 5 replies
-
- code
- code injection
-
(and 1 more)
Tagged with:
-
Site URL: https://findamoroccan.squarespace.com Hi there, I'm trying to create product-specific redirects from the order confirmation page. Based on the product purchased, the order confirmation page should contain a button that takes the customer to a URL specific to that product. I managed to link a Caspio data page using code injection on SS. So now, I have a way to access the URL specific to each product, but I don't know which product has been purchased. In the tags provided by SS in the code injection (under "order confirmation page"), no tag is provided to refer back to the
- 1 reply
-
- redirects
- order confirmation
-
(and 2 more)
Tagged with:
-
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!
-
Site URL: https://apple-drum-7nk8.squarespace.com/perspectives I created a code injection to style two different font types and colors within a single text box, so to speak. In demo mode, it's working perfectly, but for some reason when I test the live version of the site, there's an extra line break appearing between the orange number and the title text (see screen grabs for reference). Within my html code injection, how can I either reduce the vertical space of the line break, or minimize the line height between the number and the chapter title. The first screengrab (in demo mode) shows h
- 3 replies
-
- html
- code injection
-
(and 3 more)
Tagged with:
-
Site URL: https://www.aiainternational.org/past-events-and-ces-courses Hello there, New to this forum so pardon any rookie errors! I’m just building a site for a client and they need a tag cloud or similar for their events page which is growing (every event is tagged). I’ve built a rudimentary tag list, but currently it needs to be updated manually which is no longer fit for purpose. As they scale this process should happen automatically. How could a tag cloud on an events page be achieved with custom code? Seems simple on the surface as the functionality already exists on other p
- 1 reply
-
- tag cloud
- code injection
-
(and 1 more)
Tagged with:
-
Urgent: Member Areas - Editing Access Denied Page
jacauschi23 posted a question in Coding and Customization
I have member areas set up but I need to change the "Access Denied" page to one I've put together. I don't know why Squarespace is so restrictive with the editing of this page. It forces you just enter some button/description text and gives you no editing capabilities of the page itself to add or change anything. The current squarespace generated Access Denied Page(s) - https://www.blackom.com/watch - https://www.blackom.com/read - https://www.blackom.com/listen The page I need it to be or look like - https://www.blackom.com/membership-access This is urgent and any help- 4 replies
-
- member areas
- code injection
-
(and 2 more)
Tagged with:
-
Site URL: https://www.laviedavi.com/store/the-messier-42-nebula-stud-earrings Hi all I am trying to add some code onto my site on each product page that will show a 'star rating'. I have a piece of code from Yotpo that I am currently using on each product page (via additional information and adding a code block in the footer) to allow customers to leave reviews on individual product pages. However, now I am trying to add a star rating widget (also via Yotpo) next to the product title (i've just messily circled the area in the attachment). The code i have from yotpo is " <div class="y
- 8 replies
-
- code
- code injection
-
(and 1 more)
Tagged with:
-
Site URL: https://ciomastermind.com/blog/why-every-cio-needs-an-advocate I would like to be able to leverage blog post code injection to display an advertisement image (ex: for a free download) that is clickable to a landing page. How do I upload the ad image and where do I access the URL of the ad image I want to display on my page?
-
I have an HTML code (<script>) that I am trying to put below the nav bar on a single index page. I know traditionally one cannot put code blocks in index pages, but I am hoping there is a work-around - possibly using the footer/injection code or the header injection coding (but somehow getting those to appear underneath the nav bar and not in the footer or header). Any help on this would be greatly appreciated!!
- 1 reply
-
- montauk-template
- code
-
(and 1 more)
Tagged with:
-
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
-
CSS code not working on single page code injection
David_Ledger posted a question in Coding and Customization
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 C -
Site URL: http://www.stevegallagher.com/ Hi Guys, Would someone be able to help me out? I provide two different services so I have two contact pages, As you log into my photography section I only want to see the COPY Contact Version and hide the other contact page Under Consulting but only in the photography menu page. (If I rename this Contact will it conflict with the other page) I would like the drop down section in the project section to be permanently on show, (so you don't have to click project to see it) But I already have a code for this which hides this folder an
-
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: <li
-
Header Code Injection - No Longer Working
michaelbehlen posted a question in Coding and Customization
Site URL: http://www.analogforevermagazine.com Hello, I think this is an easy question. I did have this working but I have no idea why it no longer is working. All I did is get an updated code from the website I am using to build the ad. I am trying to use this code to inject using sitewide code injection for the header to display a reveal ad. The code is: <!-- Ad Tags for Header Test --> <!-- Ad Group Base Dimensions: 0X0 --> <!-- Tag Ad Server: Generic Tag --> <!-- Group Placement ID: 62c68fc3-5666-40e0-98f2-339e31f3adb0 --> <script type="text/jav -
Replicate additional info into all products
federocolo posted a question in Coding and Customization
Site URL: https://cymbals-bellflower-g2r9.squarespace.com/ I am trying to replicate my button/form for additional info into all my products, how can i do it? Right now I managed to additional info to move from bottom to top, but I would like to recall (and therefore duplicate) that specific form to save some time. Is it possible? This is the code I used to move additional info to the top <script> jQuery(document).ready(function($) { $('.ProductItem .ProductItem-additional').insertAfter('.sqs-money-native'); }); </script> Thanks -
ActiveCampaign Code Injection! Please Help!
DevonDigital99 posted a question in Coding and Customization
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- 5 replies
-
- code injection
- active campaign
-
(and 1 more)
Tagged with:
-
Hi, I'm trying to use code injection with CSS code for a single page to change a font for an item on that page. When I add the code through the page's Settings/Advanced and save it, the actual code appears in a white area above the existing banner, on both the configuration site and the live site. Template is Bedford, and supposedly my site was grandfathered in to allow code injection. (I've since removed the code.) Thanks.
-
We will have the need to include a custom message on the product pages (or all pages if that's easier) when we have to temporarily take purchasing off-line when my wife is doing virtual craft shows or real craft shows when they come back. I figured out how to suppress the "Add to Cart" button. I want to be able to complement that with a custom message on each product page. I found this in the forum, but it didn't seem to do anything. Any suggestions: <style> div#content:before { content: "The Shopping function has been temporarily disabled due to a show"; display
-
How can I make form checkboxes checked by default?
songbird posted a question in Coding and Customization
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!- 12 replies
-
- javascript
- checkbox
-
(and 3 more)
Tagged with:
-
Facebook Messenger plugin not appearing on website
mathwiz2811 posted a question in Coding and Customization
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 c -
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
- 6 replies
-
- code injection
- mobile site
-
(and 1 more)
Tagged with:
-
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
- 1 reply
-
- accordian dropdown
- product description
-
(and 2 more)
Tagged with: