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

Search the Community

Showing results for tags 'code'.

  • 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
    • Selling & Scheduling Your Services
    • 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
  • German Circle Members's Topics

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

  1. Hello, I'm new to squarespace. I'm trying to use the code block feature to run some very simple Javascript, but I'm not able to. The script is like this: <script> alert('hello'); </script> This is supposed to display a popup with 'hello' in it. But it doesn't. Reading the article on code blocks: https://support.squarespace.com/hc/en-us/articles/206543167-Code-Blocks ...tells me that Javascript in code blocks is a premium feature only. This *might* explain why it's not working for me, but I'm also wondering if I'm misunderstanding the point of code blocks. The article describes the point of code blocks as "rendering code". So I'm wondering if it is only meant to display code on the screen, NOT for running code. (This would explain why my Javascript is always displayed on the screen and I don't have the option to hide it). Thanks.
  2. Can you provide me with some code that I can inject into individual blogs so that it removes the date on individual posts in that blog? Would be much appreciated. Thanks in advance!
  3. Hi There I am using the Harris template (York family) and I am trying to reposition the secondary navigation (phone number). At present the template will only allow me to justify the secondary navigation to the left under the main navigation menu. Not only does this look ugly, but every time the 'services' drop down is used it partially obscures the phone number, which looks ugly/awkward. I want to justify the secondary navigation to the left ABOVE the main navigation menu. Does anyone know of a coding snippet/ a workaround for this please? I attach two snapshots showing the problem and how I would like the solution to look. I have the business package so think that I should be able to make this sort of coding adjustment if necessary. Many thanks in advance for any help/support. Moderus
  4. Hi there, We have hit some limitations with the commerce platform. We have some products each with a colour variant - but we have not found a way to ensure that the colours of that product share a single product inventory. The only way to manage this is to either manually update the inventory across colours after each sale or use a form for each product. We would like to do neither of these. There should be a simple solution where there is a base quantity for the product and the variants deduct from this when a sale is made. Any assistance would be much appreciated. :)
  5. Is there anyway to have zero padding on a code block and make the block full page width? The block is jutting out to the right which I want left justified with zero padding, to go full page width. www.shoppersguide.com.au
  6. Hello guys, I am using Brine template and I have setup a nice cover page with a background video. I was wondering if anyone can help me with moving the navigation text which is centred on the screen slightly lower? As you can see here: https://gyazo.com/a15c61e834b0bc6e65bea65e4f597fb8 The 'English' & 'Spanish' navigation links are in the way of the background logo - Has anyone got the CSS id to move this navigation down slightly lower? I am struggling to target the right parts. Any help appreciated! I am using the 'Cover' template for the Cover page on Brine.
  7. Could you share the process of customizing page, the Cart and order page, using JavaScript . Could I write JS scripts on the ORDER and CART pages.
  8. Hi all, I was wondering is there a way trough coding to add shipping weight to the order export, at the moment this is not possible and it is important for order fulfillment? There are two hacks one figured out by me and other I got from support. 1. Add shipping weight to the SKU SQ0788669-0.25 and later separate it in excel 2. Add shipping weight as an internal not not so good, it requires cleaning How do you solve this issue?
  9. I know general CSS to change color of sections in squarespace, but in Bedford template, it is not full-width. Is there any way to code it to be full width?
  10. I had several images that were identical on my page, same size and shape. However I wanted them to be buttons that changed color upon hover. so i made them into code blocks and attached this code to them: <a href="/web-load-tracking"> <img src="https://static1.squarespace.com/static/5dcf22cb93b61d33686b863a/t/5dd5efa58bcf197a9a45df2d/1574301606049/2button.png" onmouseover="this.src='https://static1.squarespace.com/static/5dcf22cb93b61d33686b863a/t/5dd5efab8bcf197a9a45df8f/1574301611566/2hover.png'" onmouseout="this.src='https://static1.squarespace.com/static/5dcf22cb93b61d33686b863a/t/5dd5efa58bcf197a9a45df2d/1574301606049/2button.png'"> </a> But now their spacing is all messed up. how do i center the blocks so that they look like the second screenshot i am attaching?
  11. Morning all. I have a page where my photos dont match the photo ratio and have been cropped in a vertical format versus a 3:2. As i have added the photos anyway they dont display correctly and cheapen the feel and look of the site. I have tried changing the display format via the taps in styles but this happens site wide and all of the other page photos then display incorrectly. . Can anyone assist please.
  12. Hello, I would like to edit the following Javascript code to start automatically, when somebody lands on my page. The code is for a simple counter from https://styleddigital.com/blog/2017/5/10/how-to-add-an-animated-counter-in-squarespace. Unfortunately this question has not yet been answered there. Maybe you can help?
  13. Hi when I go to my home page it shows up like this https://spinentertainment.club/#clip=3h8zh7yhmb40 when it should just show up like this https://spinentertainment.club/ Can anyone let me know how I can do this?
  14. Can anybody help me to change the font of my site title (header section) to a custom font? I'm using the Rally template (Brine family) and am struggling to find any CSS that works... Thanks so much!
  15. Hi, I'd really like to make a feature on my site where people could share a link to the entire site without having to copy and paste the URL. I talked to Squarespace Support and was advised to see if anyone could help me accomplish this through code, as it is not an official feature of the service yet. I'd really appreciate your support and thanks in advance, Ana
  16. Hey guys. Recently the content on my pages has shifted to the right, I guess there has been an update to the FlatIron template or something. I'd really appreciate someone letting me know how I can centre my content again. You'd be my digital hero! Thanks, Naomi
  17. Hi there! I'm trying to create a list of services for our company website. Each service should be introduced with an icon. The only way i've figured out to do so is to insert the icon as image and add the name of the service as text block. It looks great on desktop, but it doesn't behave right on mobile. Here's how it looks on desktop: Here's how I want it to look on mobile (stacking services with icons, one per line): However, on mobile the icons become full width and the service title ends up below the icon. I think I need to solve this with custom CSS. Does anybody have an idea how I could do so? Many thanks in advance!
  18. Hi. I just added a html block to my website. It looks perfect on desktop. But, I don't know how to get it to display correctly on mobile. Anybody have an idea? Here's the css code. Thanks! // Rotating Word 1 // .rotating-words-1 span:nth-child(2) { -webkit-animation-delay: 3s; -moz-animation-delay: 3s; -o-animation-delay: 3s; -ms-animation-delay: 3s; animation-delay: 3s; color: #4FEAAB; } // Rotating Word 2 // .rotating-words-1 span:nth-child(3) { -webkit-animation-delay: 6s; -moz-animation-delay: 6s; -o-animation-delay: 6s; -ms-animation-delay: 6s; animation-delay: 6s; color: #4FEAAB; } // Rotating Word 3 // .rotating-words-1 span:nth-child(4) { -webkit-animation-delay: 9s; -moz-animation-delay: 9s; -o-animation-delay: 9s; -ms-animation-delay: 9s; animation-delay: 9s; color: #4FEAAB; } // Rotating Word 4 // .rotating-words-1 span:nth-child(5) { -webkit-animation-delay: 12s; -moz-animation-delay: 12s; -o-animation-delay: 12s; -ms-animation-delay: 12s; animation-delay: 12s; color: #4FEAAB; } // Rotating Word 5 // .rotating-words-1 span:nth-child(6) { -webkit-animation-delay: 15s; -moz-animation-delay: 15s; -o-animation-delay: 15s; -ms-animation-delay: 15s; animation-delay: 15s; color: #4FEAAB; } // Rotating Words // .rotating-words{ display: inline; text-indent: 10px; } .rotating-words-1 span{ position: absolute; opacity: 0; overflow: hidden; color: #6b969d; -webkit-animation: rotateWord 18s linear infinite 0s; -moz-animation: rotateWord 18s linear infinite 0s; -o-animation: rotateWord 18s linear infinite 0s; -ms-animation: rotateWord 18s linear infinite 0s; animation: rotateWord 18s linear infinite 0s; } // Rotating Animation Keys // @-webkit-keyframes rotateWord { 0% { opacity: 0; } 2% { opacity: 0; -webkit-transform: translateY(-30px); } 5% { opacity: 1; -webkit-transform: translateY(0px);} 17% { opacity: 1; -webkit-transform: translateY(0px); } 20% { opacity: 0; -webkit-transform: translateY(30px); } 80% { opacity: 0; } 100% { opacity: 0; } } @-moz-keyframes rotateWord { 0% { opacity: 0; } 2% { opacity: 0; -moz-transform: translateY(-30px); } 5% { opacity: 1; -moz-transform: translateY(0px);} 17% { opacity: 1; -moz-transform: translateY(0px); } 20% { opacity: 0; -moz-transform: translateY(30px); } 80% { opacity: 0; } 100% { opacity: 0; } } @-o-keyframes rotateWord { 0% { opacity: 0; } 2% { opacity: 0; -o-transform: translateY(-30px); } 5% { opacity: 1; -o-transform: translateY(0px);} 17% { opacity: 1; -o-transform: translateY(0px); } 20% { opacity: 0; -o-transform: translateY(30px); } 80% { opacity: 0; } 100% { opacity: 0; } } @-ms-keyframes rotateWord { 0% { opacity: 0; } 2% { opacity: 0; -ms-transform: translateY(-30px); } 5% { opacity: 1; -ms-transform: translateY(0px);} 17% { opacity: 1; -ms-transform: translateY(0px); } 20% { opacity: 0; -ms-transform: translateY(30px); } 80% { opacity: 0; } 100% { opacity: 0; } } @keyframes rotateWord { 0% { opacity: 0; } 2% { opacity: 0; transform: translateY(-30px); } 5% { opacity: 1; transform: translateY(0px);} 17% { opacity: 1; transform: translateY(0px); } 20% { opacity: 0; transform: translateY(30px); } 80% { opacity: 0; } 100% { opacity: 0; } }
  19. I am looking for a blog post counter for my website. The blog on my website focuses on cigar reviews and each new post is a new cigar review. I would visitors to know how many cigars have been reviewed on my website in total using a blog post counter or the likes. Is this possible?
  20. Hello, My name is Joan. This is my first post and I would greatly appreciate help. I am using Beford template. For some reason when I add a link to the footer it puts an underline under the text that has the link. I would like to remove the underline. Thank you. https://crow-shark-d2c4.squarespace.com/config/ passcode- 4646
  21. Greetings - I'm looking for a way to make the "quantity" text box on the Cart Summary and Check out pages "read-only". I added this code to the "Cart Summary" page, which seems to work... .CartTableRow-itemQuantity-LwuRx { pointer-events: none !important; } ...but I cannot make it work for the final "Check out" page. (attached and marked areas I'd like to be "read only") Thanks in advance! Isaac
  22. Can anyone help with the CSS needed to change the font colour in the quote block of the Miller template please? I have had a hunt around but nothing that deals with the text colour. https://www.vibeyogaandpilates.co.uk/pilates P/W mysite100 Thank you in advance!! 🙏🏻
  23. Hello, My website is multilingual, German and English. I have two variants of every page of my website. On summaries, is there any way to translate the "Read More" link using css. I know how to target the the link to change colours or text, but is it possible to have my website show "Read More" on my English site and "Weiterlesen" on my German site? Greetings from Hamburg, Max
  24. I'm currently using the Hayden template and wondering if there is code to add my uploaded font to my squarespace banner. I don't want the typical squarespace text style in each banner section, but looking to add my own custom text and possibly adding text animation if at all possible. Here is my website homepage: https://www.mccloskeycoaching.com/ The text on the screen now is on the image itself I created in picmonkey. But is there a way to code the text on the website directly? I have done it everywhere else on my site except for the banner image. Thanks!
  25. Hi, I would like to have the "additional info" for my product on my website to be shows as a menu that when you click on it, it will expand and show the extra information. It is not possible to do so with the built-in options in Squarespace so I was wondering if anyone has any ideas for how to do this. An example is shown here:
×
×
  • Create New...