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

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

Found 230 results

  1. Hi there, working in Brine template. Selling clothing I have a sidebar with all my categories of my products. SquareSpace's custom parameters of this feature is currently very limited however. I'd like to bold certain/specific words in this sidebar section. For example I have designers names like "Chanel" etc, but I also have larger umbrella categories like "Bags" and "Accessories". I'd like to distinguish these two visually by bolding only the umbrella categories. So: How do I bold specifically the categories Accessories, Clothing, Bags, Jewellery, and Shoes, but leave the rest of the categories in the side bar alone (using css editor and/or code injection)? Any help would be great. Attached is a screenshot of what I'm referring to Thank you, much appreciated
  2. Hi! Please help I'v tried every code i could find in this forum but i can't seem to get rid of the lines under links (portraits fasion & beauty and lifestyle & commercial work). Any suggestions? I'm using Brine in 7.1 and the text is a medium heading. See screen dump. Im in trial mode so don't think i can share url without password but here it is: https://tetra-watermelon-pw42.squarespace.com/config/
  3. I have payment options in different colours and i want the buttons beneath them to match the colour above... Squarespace site not published but the buttons are just standard imported buttons... help?
  4. How can I inject a html tag below product page title, I already enabled developer mode and cloned the template repository and read about templeting but still not able to do it.
  5. I'd like to add a JSON-LD FAQ schema code to a SPECIFIC blog page. Appears to not be possible. Can someone please suggest a workaround? Thanks,Brian
  6. Hi guys, Anybody had trouble with the tripadvisor widgets not loading correctly on first load? I used a code block to add them, it's all good when i'm logged in but if you visit the site as a visitor they don't load unless you press refresh. I have 4 languages so the widgets on 4 home pages... need to fix it quick so any help much appreciated! I've contacted tripadvisor and also written on a couple of other forums but no luck so far - also I'm super basic when it comes to this stuff so speak slowly please. www.spain-games.com www.spain-games.com/ca www.spain-games.com/es www.spain-games.com/fr Thank you! Tim
  7. Hi all. I'm building a website for a non-profit club and in that website, I would like to add a timeline of their history. I have managed to generate a lovely, interactive timeline for them through TimelineJS using Javascript. Obviously in the trial version of the website, I am able to test it out, embedding it with an <iframe></iframe> tag. However, for a couple of reasons, the Personal plan is the only one they are going to be able to use, which means although I can add custom code, including HTML and CSS, I am unable to add the TimelineJS timeline to the site, which is a shame. I believe I could create a timeline manually in HTML and CSS alone. It wouldn't be as interactive though, since instead of pop-ups and clickable features, it would basically just be an image that is too large for the screen horizontally, that you have to scroll through. My question is, is this the best way to add a 'sort-of' timeline feature to a Personal website? I obviously don't want to damage the site in any way/cause any issues by adding too much custom code. Can anyone suggest a better way of adding some sort of a timeline to a Personal website? I am very much open to suggestions. Thanks!
  8. Hello, Wondering if anyone has experience getting Review Stars to show in Google Search Results for their squarespace site? See attached, my site is eMaximize.com . Thank you! -Max
  9. Hi everyone, I need help to add a simple benefits calculator to a clients new Squarespace website. The current site with the calculator can be viewed here. I have an Excel spreadsheet with the formula that the client has sent me, but I don't have the skills to do this myself. I've done some searching on Google about this but I've not found much that is of any help to me so far, so, I thought it best to ask in here. Is this something that is relatively easy to code? Does anyone have any experience of doing this or something similar? I'd be happy to pay someone to help with this, so, please let me know if you can help or can recommend a Circle member that can. Many thanks in advance, Jason :0)
  10. Hello Lovely people - I'd like to format my new shop page differently than my existing shop page (change to 1 item per line, change the background color on the entire page to white, header included). Can anyone tell me how I am able to do this without altering other pages? Attached is a screenshot of how it is currently (grey background, 3 rows), and a screenshot of how I want it to be (white background, 1 row). My website is www.ethangi.com for reference. Your help is SO appreciated. Thank you!
  11. Hello, For some reason the three shopping widgets on my latest blog post won't load. I always have this issue and for some reason the fix is different every time. I have checked the code and actually the "preview in safe mode" worked last night but today, none of the widgets are loading. Please help! Link:https://www.jardanp.com/home/2019/8/27/miami-lookbook-volume-1-street-chic
  12. Hello all, I seem to have caused an issue with the footer on one of my sites. The strange thing is that it only occurs with the home page, and not the other site pages. I have inserted some custom code for various different things, but I cannot figure out what might be causing this issue. The website is universalmobilehomes.com. It uses the Five template. I have dug and dug and just can't find the offender! Anyone have any ideas? The footer should be full width, and like I mentioned, it is on every other page but the home page. Thanks in advance for any help!
  13. Hi Everyone! Is there an option to set an URL link on a video container via code? Squarespace doesn´t provide it in their video container Thank you so much!
  14. I've set up a website where content is sold through Amazon Affiliate links. I have set up Amazon OneLink to enable me to sell in US, Canada and UK where the user will be sent to their local Amazon store upon clicking my links. I embedded the javascript below into my Squarespace footer (Settings; Advanced; Code Injection; Footer) as instructed on both the Amazon and Squarespace websites but everyone still only sees the US Amazon store. I've contacted Amazon and they've confirmed that everything looks set up fine from their end. Any idea what I should be doing on the Squarespace side to make this work? I'm signed up as a Business customer on an annual contract, based in US. www.winterplaybook.com <div id="amzn-assoc-ad-8435f65a-7439-47fb-bb97-5bf6a677d528"></div><script async src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=8435f65a-7439-47fb-bb97-5bf6a677d528"></script> Anyone else had the same issue?
  15. York evidently only allows for 4 Styles -- Normal, Hdg 1, Hdg 2 and 3. Client prefers a small font for footer, but the footer is automatically set to Normal, with no way to make it smaller than content style. would appreciate any help with this. Here's the site: https://www.aaronbutlerart.com/ Many thanks in advance.
  16. This topic was originally posted here in 2013: I had the same issue with translating from English to French on the contact form on my bilingual site. The original custom code workarounds that were provided worked for me last year, but at some point afterwards the form reverted back to English. Squarespace help confirmed the only way to "fix" this is through custom code. Would anyone know of any new or revised code I can inject to make this work? I want "first name" to read "prénom" and "last name" to read "nom". Thank you!
  17. Hi I am setting up a store and have different pricing tiers. I have set these up as 1 product, multiple variants with the same price point, then a second product, multiple variants with the discounted price point. Not beautiful, but hey it will work.....almost. what is the coding to limit the quantity a customer can choose on the drop down for each tier? I am aware that they will be able to change this on the checkout page. Thank you in advance
  18. Hi everyone and Merry Christmas. I am looking for some code, perhaps for a code-block. I want to make an image change to another image on hover but still have a clickthrough link to another page. Can anyone help me with this? My website is below. https://redsquirrelcreative.uk The page where I would like to implement the code is here. https://redsquirrelcreative.uk/our-projects If you go to this page you will see I found some code to successfully change the image on hover, however I would like it to also click through to another page. Any help would be very much appreciated. Kind regards, Chris Spencer.
  19. I have been trying relentlessly to solve this issue. I am having the hardest time with figuring out how to add a fade in/fade out animation, from page to page upon loading. I am a bare novice to CSS, but have been able to follow steps on other coding CSS tricks. But, for some reason, I have not been able find a successful option for this problem I am having. I am hoping there is a good pure CSS option available, since I am not to familiar with JavaScript. If anyone can please lend me a hand in advising me of the coding and actions to use in this regards, I would be gratefully appreciative... One example of what I am looking for is located on this web page: http://hellowellput.com/ ... That is a perfect example of how I would like it to fade in and out from page to page. I would like to add, the goal is to use animate.css by Daniel Eden, but I'm not sure on how to add or go about using it. Thanks in advance.
  20. I am trying to add a color AND a link to several words on my website using the markdown block. For some reason, when I add a color and try to add a link to the same words, The color gets turned off. For example, I added the twitter link and the pink color is gone. Is there a way to fix this? Is there a bit of code I am missing?
  21. For some reason, the text within buttons is underlined on one of my Commerce pages (for all product listings). No other buttons on other pages of the site have this issue. For reference, the page is: https://www.judithandrolfe.com/fine-art . When you click into any of the products, you will see the CONTACT FOR PRICING button at the bottom. How can the text underline be removed? The button was added in the Additional Info section of the product, and I'm using the Forte template if that matters. To be clear, in Site Styles, Underline Body Links IS checked, since I do want to keep links underlined on the rest of the site. Thanks in advance for the help.
  22. Hi all. I have used the code quoted below to allow me to add a gallery to the header of my Bedford Template homepage, but am unhappy with the way the images dim as a result. I have attached a screenshot just to illustrate the difference moving the gallery from the main body of the page to the header makes. Does anybody have any ideas if I can code my way out of this one?
  23. Hi! I am stuck trying to make my navigation bar fixed. I really don't know a lot about coding and need help trying to figure out how to make my navigation bar fixed in my site. Thank you!
  24. Is there a separate javascript code that I can run to active squarespace analytics and the activity protocol? I need to deactivate the squarespace analytics and the activity protocol cookies until the website visitor accepts the data privacy. I cannot use the build-in cookie banner from squarespace as I need to use a more flexible cookie banner script that allows to suppress other cookies as well. Thus, I have deactivated "squarespace analytics" and "activity protocol" by default to be gdpr compliant. I implemented the manual cookie banner script from cookiebot.com which allows to embed and run a js script after consent is given. This is why I am looking for a separate js script to activate "squarespace analytics" and "activity protocol". What I tried: I added a code injection in <head>-tag to change the value of "isRestrictiveCookiePolicyEnabled" (which I think is responsible for activating squarespace analytics) from true to false but apparently this does not seem to work: <script data-name="static-context">Static = window.Static || {}; Static.SQUARESPACE_CONTEXT = {,"cookieSettings":{"isCookieBannerEnabled":false,"isRestrictiveCookiePolicyEnabled":false,"isRestrictiveCookiePolicyAbsolute":false,"cookieBannerText":"<p>Bannertext</p>","cookieBannerTheme":"DARK","cookieBannerVariant":"BAR","cookieBannerPosition":"BOTTOM","cookieBannerCtaVariant":"TEXT","cookieBannerCtaText":"OK"}};</script> I think I am missing something. Maybe there is also another possibility? Would be happy to get help here.
  25. Hi all, Our website (www.statelessdignity.org) has a couple of videos embedded in iFrames on it (one for several months now!), and I've *just* learned that the videos don't display at all in Chrome. I've looked into the problem, and deduced that it's not my computer/browser (I've tried every hack in the book, like enabling Flash and JS, and asked friends to check on their own devices): the videos don't display in Chrome on any device. For me, it instead just shows as a big empty iFrame container/blank space, though at least one friend reported that they saw no blank space when they tried it. So anyway, I've tried researching this and seen a couple others with a similar issue, but their coding hacks (below) also don't seem to solve the problem. ...Considering YouTube is owned by Google—and that the majority of visitors (at least for us) use Chrome—I'm a little shocked that this would be an issue. ...But then again, I've seen other embedded YouTube videos on other sites, so there must be a way! Anyway, the two pages where we're having this issue now are here: https://www.statelessdignity.org/news/2018/9/23/2018-bama-speech (it should show between the second and third paragraphs) https://www.statelessdignity.org/news/2019/12/1/give-the-gift-of-dignity-this-givingtuesday (at the bottom of the blog post, just above the footer) Anyway, here are a couple of the CSS/HTML coding solutions I have tried to no avail. ...Does anyone have any tips for making this work? (And *bonus question*: does anyone have a solution to make the video vertical on the second link (changing the aspect ratio/removing the black space on the sides)? I've also researched this, but again, nothing I found worked.) Here is the first approach I tried: <style> .container { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; .container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style> <div class="container" style="text-align: center;"><iframe width="75%" height=75% class="video" src="https://youtube.com/embed/8KS5xbuoNe0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div> And here is the second: <style> .container { position:relative; padding-bottom:56.25%; padding-top:30px; height:0; overflow:hidden; } .container iframe, .container object, .container embed { position:absolute; top:0; left:0; width:100%; height:100%; } </style> <div class="container" style="text-align: center;"><iframe width="75%" height=75% class="video" src="https://youtube.com/embed/8KS5xbuoNe0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>
×
×
  • Create New...