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

Search the Community

Showing results for tags 'code'.



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 Topics
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Topics
  • 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

Found 500 results

  1. so i want to have users to agree on two things (in checkboxes) before they can submit a form to me.(just like you cant proceed without agreeing the term and conditions on some websites/services) how would i do that?is there a way in javascript to check by the ID of the checboxes if they are checked or not (true/false), and if they arent checked - and try to submit the form -> they will get a pop-up saying they must check the inboxes before submitting the form?thanks
  2. Hi everyone, I've browsed the web looking for and trying different solutions to replacing "Read more", "Next", "Previous" and other sorts of default texts in my template. None of them worked for me using the Mojave template. In the end I figured out using text.replace with jQuery would work. So I want to share my solution. First you have to include jQuery in your template by going to Settings > Advanced > Code Injection Paste this in the header injection: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js></script> After this you need to find the target class for the text you want to replace, in my template it was ".BlogList-item-readmore". Then add the following code to your footer injection: <!-- Start of replace "Read more" --> <script> $(".BlogList-item-readmore").text(function () { return $(this).text().replace("Read More", "Replace me"); }); </script> <!-- End of replace "Read more" --> This means that if the div, span, section or whatever you target by class, contains the text "Read more", it will be replaced with "Replace me". Hope this helps someone :)
  3. Site URL: https://www.dbtherd.com/ Hoping someone can help - I've been using a code block + markdown block to insert a drop-down at the bottom of my recipe posts that says "click for nutrition information". It's been working fine thus far, but it didn't work for my last post (it's not hiding). I've been following the same steps, so I'm not sure what's going on. Here's the post that's giving me trouble: https://www.dbtherd.com/blog/hummus-crusted-veggies Any help is much appreciated!
  4. Site URL: http://pureimagevideography.com Hello All! Any tips for organizing code? It's getting to the point where I've customized so much that my codes are getting a little lost in the CSS block which is turning making edits into a bit of a head ache.
  5. I need to custom code the overlay color of the banner text, but I can't for the life of me figure out how to do that. I've tried changing code in design-custom CSS, banner settings, index settings. The way Sonora is setup, I have to have my "pages" under index to show the different sections. I'm not in love with the way Sonora has all the different "sections" of a page categorizes as their own pages. www.openrangeandco.com
  6. I'd like to change the logo on two pages of my site. Specifically, I want to change the logo on this page http://jolenetaschner.com/ceramics to say Ceramics rather than Photography, and possibly change it to say Blog rather than Photography on this page too: http://jolenetaschner.com/blog/. Is this something that can be done? (Ideally, can it be done easily, since I know nothing about writing code?)Thanks in advance for your help!Jolene
  7. Site URL: https://wb-innovation.squarespace.com/whats-appning Hi guys I've been through several threads which respond to this question, but can't seem to find a solution to work on my page. I've applied a transparent header on all my main pages which have an image in the banner immediately below. This is fine across all the pages except for the blog posts which I am unable to add a banner to, meaning my white logo is now invisible on these pages. I'm looking to insert a custom code to change the heading background colour on the blog posts only to blue, as to be able to see/read the logo and navigation items. https://wb-innovation.squarespace.com/whats-appning/wordcloud pwd: innovation Thanks in advance!
  8. I am attempting to set up an affiliate program for my site. I am using the program Post Affiliate Pro, and in setting up the tracking of purchases, Post Affiliate Pro has given me a code to inject into the order confirmation page which will send them info if a customer used a coupon code given by a certain affiliate. However, in the instructions they gave me, they said I would need to edit the code and replace ('Coupon_Code') with whatever squarespace uses as a variable for its coupons Here is the code they said to modify and inject: sale.setCoupon('Coupon_Code');
  9. Hi forum, Quick question. I'm trying to emphasise a key sentence within a larger body of text in a text block by changing the background and text colour of only that sentence. Essentially, I want what it looks like when you change the background and text colour in a rich text editor, like this: First sentence. *Key Sentence.* Third sentence. Any help would be very much appreciated.
  10. Hi there, I would like to have 100vh on my home screen only, while still use indexes for my other pages , but with a smaller (not full screen) banner across the top. Is it possible to inject code to only my home screen, and what would that code be? I think it has something to do with this: Style Attribute { /* min-height: calc(100vh - 165px); */ } site.css:13:411703.tweak-index-page-fullscreen-first-page-only .Index-page--has-image:first-child, .tweak-index-page-fullscreen-pages-with-backgrounds-only .Index-page--has-image:first-child, .tweak-index-page-fullscreen-all-pages .Index-page--has-image:first-child { /* min-height: 100vh; */ } site.css:13:410834.tweak-index-page-fullscreen-first-page-only .Index-page:first-child, .tweak-index-page-fullscreen-pages-with-backgrounds-only .Index-page--has-image, .tweak-index-page-fullscreen-all-pages .Index-page { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; /* min-height: 100vh; */ } I would like it disabled for all of my of pages with the exception of the home screen. Thanks! Ron
  11. I want to show my navigation bar in list view like
  12. Can anyone help? I'm trying to add my MixCloud shows within my site, the tools are not available. So the only way is to custom code - I HAVE NO IDEA. Could someone help and perhaps send a template so perhaps each week I simple edit it? <iframe width="100%" height="400" src="https://www.mixcloud.com/widget/iframe/?feed=%2Fwillberwillberforce%2Fno-bitcoins-london-to-addis-december-22-0035%2F" frameborder="0" ></iframe>
  13. Hey everyone, I need help changing the color of my header to black with white text when I'm on the product page of my website. The reason is that my logo has white wording in it and the white background completely covers half the logo. It does this on both web and mobile. I've been at this for days now and I can't seem to figure this out. See attached screenshots for reference. I attached what it looks like on my home page with the logo NOT covered by white background. And then again what it looks like covered. Any help is MUCH appreciated. Thanks, LW
  14. Is it possible to place my Pinterest tag and "add-to-cart" event code on the checkout page? I would like the event to fire on the url: www.mydomain.com/checkout. I already tried the code injection page (where I was able to add my Pinterest tag and "checkout" event code on the order confirmation page). I would like to be able to retarget users who added items to the cart, but didn't checkout. Thank you for your help!
  15. I am trying to embed my redbubble portfolio/shop onto my website but I cannot get it to work. Do I use embed or code block for this? The code is <script type="text/javascript" src="http://www.redbubble.com/assets/external_portfolio.js"></script><script id="rb-xzfcxvzx" type="text/javascript">new RBExternalPortfolio('www.redbubble.com', 'joshkoz', 5, 2).renderIframe();</script>
  16. I am currently using the Harris template, from the York family, and would like to display today's date and for it to update automatically. I understand this requires a code to be added somewhere near the top of my website, but so far I have been unsuccessful. I would also preferably like the date to show in Spanish. Thanks for your help!
  17. I want to replace my background image with video in Aubrey theme, Can I change?
  18. I want to add a small white outline to all of my gallery images that is offset so it appears on top of all of the images. With the code below I have been able to get it to work somewhat - the issue I am having with the gallery is that some of the outlines are getting cropped off with the images instead of aligning to the cropped square box. (see image). Any ideas on how I could get the outline to match up with the cropped box would be appreciated! .sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor[href] img { cursor: pointer; outline: #fff solid 3px; outline-offset: -20px; }
  19. 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/
  20. Hey fellow users, I am new to squarespace and i am trying to add code blocks for my site, the code i want to add is icons to represent some of the benfits my site has. I have copied and pasted the code but the code is now visually showing on my website, previously it was and now it is not i was wondering if anyone can help me out with this as i am trying to have my site up by the end of the week
  21. I want to show cart item on right side of the page please suggest any plugin or code thanks
  22. Hello Everyone! I was wondering if any of you who have e-commerce websites have tried inserting code to the checkout page to upsell ( not a fan of this term ) or cross sell? I have a product line that I'm really trying to get off the ground and I want people to try a few of the items together to see the benefit. Any thoughts on this? I would be ever so grateful as I don't want to have to switch to something like Landing Pages. Please let me know if I'm not clear in this question. Many Thanks!
  23. Hi is there a way to have my store in 2 languages if not what 3rd party integration should I use ? I have looked at shopintegrator.com
  24. need to have the images on the product pages for the baths to be a different shape/size to the product pages of the tiles. Because the bath images are (16:9) and the tile images are square. website link: www.londonencaustic.com
  25. I use the five template and on my home page I have two text blocks side by side and when it goes to cell phone version there is a larger than normal gap between the two bulleted lists and i am wanting it to look like a continuous list. Does anyone have a code to assist in fixing this issue? Photos attached of what it looks like on computer version and what it looks like on cell phone version.
×
×
  • Create New...