Search the Community
Showing results for tags 'code-injection'.
-
Site URL: https://www.persistnashville.org/student-resources-copy Hi, I was trying to create a clickable image that will change into another image when hovering over it. Because I have zero coding experience, I followed the tutorial posted by Carl Johnson on YT that achieved the exact effects I was going for. However, it's only working in editing mode (see picture attached). If you click on the actual url you'll see that everything, including the non-coding blocks have been squished to the left. I have redone every step in his video twice and the layout is still messed up. I haven't found a fix for this on the forum. Does anyone know how to fix this? Greatly appreciated!
-
Hi, I was wondering how to move the product description to above the size and buy now button for mobile... see image attached Is there any code of how to move it The screenshot(3) is mobile version and as you can see its below the purchase button but it needs to be above it, please help me lol . cheers :]
-
- css
- product-page
-
(and 3 more)
Tagged with:
-
Site URL: https://homeownerhq.co Hello, I'm adding a javascript code from Mailerlite to a page of mine so a button triggers a pop-up. It's only showing text and I'd love it to look like the existing buttons. Does anyone have any code I can add to change this? Code applied to page: <script> var ml_webform_5746436 = ml_account('webforms', '5746436', 'j2q8s5', 'load'); ml_webform_5746436('animation', 'fadeIn'); </script> Code applied to "button": <a href="javascript:;" onclick="ml_webform_5746436('show')">Click here to show popup</a> TIA Chelsey
-
Looking to remove breadcrumbs on only ONE SHOP page
adanz posted a question in Coding and Customization
Site URL: https://www.backyardbeans.com/catalog Hello Circle Members! I'm looking to remove breadcrumbs on only one shop collection which is located here www.backyardbeans.com/catalog -- I do not want to remove the breadcrumbs completely or I will lose breadcrumbs that I have set up at www.backyardbeans.com/shop -- is there a way to make sure that shop breadcrumbs can only appear on the /shop and not have them show up at /catalog? See my screenshot, I don't want the green text (the breadcrumbs) to show up for this shop at all. I only want it to show up for the one that is /shop... I'm also using Squarespace 7.0 Thanks!-
- shopping-cart
- code
-
(and 2 more)
Tagged with:
-
Site URL: http://jumptownplaycenter.com Hello, I am looking for some guidance on placing RT Pixels for a digital marketing campaign that I am doing. How and where do I place it in my site? Thanks
-
- code
- code-injection
-
(and 1 more)
Tagged with:
-
Hi, I was wondering how to move the product description to above the size and buy now button for mobile... see image attached Is there any code of how to move it The screenshot(3) is mobile version and as you can see its below the purchase button but it needs to be above it, please help me lol . cheers :]
-
- css
- code-injection
-
(and 3 more)
Tagged with:
-
Trying to get these numbers to do the animation where they grow as you scroll to them. See example below. Here is a screenshot of my website page with and without the block IDs. Site is not live yet. Any help is much appreciated! Thank you in advance. 588202194_ScreenRecording2020-12-30at5_21_10AM.mov
-
Site URL: https://www.history-ink.com/ Hi there, I wondered if you could help me make the images clickable on my carousel, as there seems no obvious way to do it. Note I wish to keep the buttons, but make the images clickable as well. In my portfolio section of the home page, screen shot attached. Thank you!
-
- clickthrough
- carousel
-
(and 2 more)
Tagged with:
-
Different logo and title placement for web and mobile
roligeroald posted a question in Coding and Customization
Site URL: http://leirbaaletlyd.no Hello everyone, I'm quite new to this; I have been working on my website for a couple of weeks. I've managed to glean from the forums here how to display both logo and title for my site header, and have been quite happy with my design (still undecided on the color scheme, though). However, when I added a dark photograph to the top of my homepage, I saw that I needed to add a different logo to that particular page. I've managed to do something of the sort by adding css styling to the advanced-section of that page (also from what I've read here), but now the logo only displays at top left screen, regardless of screen size - whereas all other pages has logo and title left for web, and logo above title centered for mobile, which is what I prefer. Here's what the other pages look like: And here's the troublesome mobile one: and the working web-version: Website at http://www.leirbaaletlyd.no Pw: BaaletsKnitren Any help would be much appreciated! Kind regards, Roald -
Is there a way to separate SEO title and Browser Title?
Insider posted a question in Coding and Customization
Site URL: https://townly.com/project/townhouses/17-jurang-street-balwyn-victoria-3103 Hi all, Is there a way to show the blog post title (17 Jurang Street) as the browser title and wondering if there is a way to achieve this by coding? Currently, the SEO title shows up in the browser title which is what i don't want. I do want to keep the SEO title because that's how I want it to appear in the SERP. Ideally the solution should be sitewide. FYI, I have read this article and am not keen on what it offers. To sum up in images below: Browser Title (that I don't want) - Don't like overpaying? 17 Jurang Street, Balwyn | Townhouses Blog Post Title (what I want to see in the browser title) - 17 Jurang Street SEO Title (I'm happy with this as is) - Don't like overpaying? 17 Jurang Street, Balwyn | Townhouses -
codepen:https://codepen.io/robin-dela/pen/KKPYoBq I have been trying to add this code into my sight, but I cannot seem to make it work. I have also tried adding it to a new section that uses the new Squarespace fluid engine and it appears to not even work at all versus applying the code to a code block in the previous version. Any help with this would be greatly appreciated!
- 3 replies
-
- css
- custom-css
-
(and 3 more)
Tagged with:
-
Apply button not appearing when I try to add a code block
gailock posted a question in Coding and Customization
I accidentally deleted my ecwid store from my site (amateur!) I went to embed it again and when I try to add the code to the code block the apply button never appears so i can't hit apply. Any idea why? Thank you -
Site URL: https://www.alexbeaufort.com I've tried experimenting with JS in my site and I may have overloaded it, causing it to continuously crash. I cant even access the editor to delete the code without it crashing first. Any advice on how to fix? I'd prefer if I didnt have to start my site over.
- 1 reply
-
- error
- javascript
-
(and 1 more)
Tagged with:
-
fixing a possible issue with squarekicker and plugin
jacobsfalk posted a question in Coding and Customization
Site URL: http://gazesblackholes.com I noticed some glitches happening with squarekicker and had tried a plugin the other day that didn't work at all and then the guy helped me out. but when i removed his plugin I'm not sure if I accidentally removed something else but my header is displaying without background and doesn't seem to change when I do and half the code in squarekicker is red. I kind of don't know what I"m doing and only been playing around since May. I just haven't encountered this before for sure. I included two screenshots of beginning and end of squarekicker code (there is a massive scroll down list prior to the end) Anyone able to help? I'll buy that coffee : ) -
Change price of product or variant using javascript
drewlarson posted a question in Coding and Customization
Site URL: https://www.gatefanatics.com/sandbox I have a JavaScript function that calculates the price of a product as length x color x bells x whistles. Is it possible to update the price of the product or the variants based on the selected options using a script? -
Syntax error solved but I only get text on my website.
MEDEWELL posted a question in Coding and Customization
Site URL: https://rose-bellflower-zcdd.squarespace.com/config/settings/advanced/code-injection Hello there! I am facing a problem with including a file badge code for another website, the code is as follows: <script type="text/javascript" id="ngos-ed-on-file-widget-script-17336c1f-917d-492b-bc53-225c95e103da"> (function() { function async_load() { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; var theUrl = 'http://www.ngosource.org/sites/default/files/ngos_ed_on_file_widget.js'; s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + 'ref=' + encodeURIComponent(window.location.href); var embedder = document.getElementById('ngos-ed-on-file-widget-script-17336c1f-917d-492b-bc53-225c95e103da'); embedder.parentNode.insertBefore(s, embedder); } if (window.attachEvent) window.attachEvent('onload', async_load); else window.addEventListener('load', async_load, false); })(); </script> When I uploaded this code on the code-injection tool on my website it showed me a syntax error- so I followed the instructions below: To add JavaScript to a code injection field, surround the code with <script></script> tags. And it kind of worked- as in it appeared on the website but in a text form- see picture for reference. Could you please help as to how to solve this issue? Also, if I'd want this code to appear in like the middle of the page instead of the footer how can I do it? Thanks! -
Issue with Poster Image Block Title Text Alignment
DevinDahlgren posted a question in Coding and Customization
I'm using the Poster Image Block to create colorful link blocks on some of my pages. I'm using the Title text as the name of the link. I've decreased the size of the Poster Block image by a lot in order to create the small rectangular link. https://www.chachachapdx.com/catering When viewing these pages in Safari, sometimes, not always, the text falls off the image and onto the background of the page. Again, this only seems to happen in Safari. Chrome is fine. You may need to click between the Catering link in the Navigation and the links I've created a few times to for this to display the issue. It was discovered that the culprit is code I've injected in the Custom CSS section. It seems, after removal and testing of each piece of code, the code for dropping our logo below the header is causing the problem. I really like what adding this code does to our look and would rather not remove it if possible. The following is the code I'm using in Custom CSS: // Show the site-logo over the header and push it down .has-logo-image .Header-branding { z-index: 99; padding-top:90px; } header { position: fixed; width: 100%; z-index: 4; } //Reduce the height of the header so that logo is taller .Header-inner { height: 140px; } Any help would be greatly appreciated. -
Scorestream - Code Works on Squarespace 7.0, but not 7.1
ECWolverines posted a question in Coding and Customization
Site URL: https://www.ecwolverines.com/home The following code has been used for 6 years on the Squarespace 7.0 site. Recently this past month I have updated to Squarespace 7.1, and unfortunately the code no longer works. The code is exactly the same and just copy and past from the previous. Below is the code (javascript) that is used by Scorestream. When pasted in Code Block and choosing Javascript using 7.1, the code still does not work. Attached is a photo of what the widget is supposed to look like display wise. <div class="scorestream-widget-container" data-ss_widget_type="horzScoreboard" data-user-widget-id="50413"></div><script async="async" type="text/javascript" src="https://scorestream.com/apiJsCdn/widgets/embed.js"></script>- 3 replies
-
- code-injection
- code
-
(and 1 more)
Tagged with:
-
Hi I am trying to move up my additional info (the dm to order buttom next to de description) so move the button upwards.
-
Site URL: https://chartreuse-quillfish-wf5l.squarespace.com/config/ I'm wanting to center the final employee on my About Page. The employees are in columns of 3 but I have one extra employee that defaults to the left column and I don't see a way to change this. Do I need some sort of code? Thank you!
-
Disabling the ability to screen shot and prtscr
momochop posted a question in Coding and Customization
I've already disabled right click on my site, but I'd also like to disable screenshots. I've seen this done for many websites in the crypto world and wanted to implement it on my site. If disabling it isn't an option, i'd like to cover the contents with a black overlay when screen shots are taken so that the photo is just a pure black void. how would i code this please- 1 reply
-
- code-injection
- coding
-
(and 1 more)
Tagged with:
-
Adding code to remove add to cart button on store page
kikiashley posted a question in Coding and Customization
Site URL: https://www.honeycuttboutique.com/ Hi. im trying to add the code <style> .product-price, .product-quantity-input, .sqs-add-to-cart-button-wrapper { display: none; } </style> to page>settings>advanced>page header injection (to remove the add to cart button on that whole page) but its not working for me. One of the style tags is highlighted and im not sure how to fix it. What should i do? I have version 7.1- 5 replies
-
- add-to-cart
- button
-
(and 2 more)
Tagged with:
-
Site URL: https://www.seanhdesigns.com Hello there! I'm in the middle of deciding on a new portfolio website and would love to create a pre-homepage header similar to this website here:https://arentpyke.com/ Would anyone know how to go about this? any help is appreciated 🙂 I would also like to ask how this would effect the template I pick since they scroll past the nav bar and then that stays in place afterwards. Cheers! Sean
-
Site URL: https://megalodon-trout-7tbj.squarespace.com/ Hi, I'm using a code with CSS and JS to create a custom circular cursor taken from previous posts @Jprood ( In general it works pretty well, but in some elements the hover effect doesn't work: • The "plus" icon burguer • The accordion • The scrolling marquee • The form button. Could someone help me to fix it? Please!!! Thanks in advance Web: https://megalodon-trout-7tbj.squarespace.com/ Password: Temporary77
- 7 replies
-
- customized
- code-injection
-
(and 2 more)
Tagged with:
-
Site URL: https://www.teemochon.com/ Hello! My website looks different on the mobile view than to the desktop view. I have index pages with images that go down vertically in the desktop view, however, when I change to the mobile view, it makes two rows of the index pages. I am trying to figure out how to keep my mobile view the same as the desktop view. I am using Avenue template.
- 3 replies
-
- code
- code-injection
-
(and 3 more)
Tagged with: