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

Search the Community

Showing results for tags 'code block'.



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 17 results

  1. Site URL: http://www.camberwellarts.org.uk/test123 Hi, I'm looking to remove the top/bottom padding on code blocks to create a seamless shape but can't seem to figure this out. Have inserted the following code below but the padding is still there on the top/bottom. https:// www.camberwellarts.org.uk/test123 .code-block { padding: 0 !important; } Thanks!
  2. Hey, I'm setting up a website, and I use code blocks for some features I can't build on the platform. For instance I found a gallery that works better on mobile, so I want to use that. It works fine with one, but when I insert two on the same page, they somehow conflict with each other, so only one works. The same thing happens, when I use two very different code blocks, something in one of them seems to conflict with the other one. Any good pieces of advice for how to handle this? Maybe rename some identical elements there might be across the blocks, so names become unique? Other tips?
  3. Site URL: https://www.bucksreferees.com/honours Hi, I'm using code blocks above sections on pages of my website to create anchors, so I can have a page navigation section at the top. However, the code blocks have a physical size that I can't seem to change, leaving an ugly gap between each section. I found a tutorial when I started the site months ago to change some of the template's padding, and I was wondering if there was a way to do the same for code blocks? If I wanted to add space I'd use a spacer! Many thanks in advance.
  4. Site URL: http://lemastersfitness.com My client brought to my attention that the drop-down/accordions on his 'Get Coached' page had stopped working (dropping down). When I went to edit the site, I noticed that the usual 'Embedded Scripts' warning was not present over that code block. I opened up the block, reviewed the code (which hadn't changed), and then saved it just to be sure - and the warning rendered. I opened a private browser window to verify that it had indeed fixed the issue on the live site, and it did - but then as soon as I close the squarespace editor and asked him to confirm it for me, he noted that it had stopped working again (which I then confirmed in my own private browser window). This is changed behavior; I can't say specifically as of when, since I'm sure he doesn't click those accordions on a regular basis, but I can say it worked fine as of 6 months ago when I finished that page for him. The best I can tell, it seems like SS is not recognizing or running the script in the code block - except when i'm in edit mode, which is when it shouldn't run it. I can provide screenshots/capture videos if helpful. I did do some searching before posting, but most of what I saw relative to broken Javascript was related to the newer AJAX functionality, which I disabled just to be sure, but wasn't the issue. Is this a bug in SS platform? Or am I missing something?
  5. Site URL: http://prideatthedragon.com/newsletter Is there a way to reference the existing template's CSS sheet in a code block? If you check my link there, I have added a Mailchimp campaign archive via code block, but the style is super plain. There are other blocks I would like to add to the site that I also need to mimic the site's style without me having to go through and customize each element in the block. How can this be done? For context: I am not skilled in coding. I understand basic concepts and can usually follow syntax, but I don't know enough to write or customize beyond changing a font/color.
  6. hi everyone.. working on a fundraising site for covid-19 relief.. trying to embed a contribution form via code block but the height is limited, forcing one to scroll to see full form... I also tried putting the code into a squarespace embed block. I tried putting entire embed code i was give, including script, into a squarespace code block. I tried putting entire embed code i was given, including script, into a squarespace embed block. I tried injecting script into site-wide head as well as page specific head. I identified block ID and tried CSS injection to change height of block. Nothing works. Anyway you can help? Thanks in advance!
  7. Site URL: https://oldworlddeli.net/ Hello, I need some assistance adding an "Order Online" button to my website. The screenshot shows the two preferred areas to place the button. I have the HTML from Toast but I'm not sure how to enable it in those locations. Any help is much appreciated. Thank you
  8. Site URL: https://seahorse-soybean-ygpf.squarespace.com/ I'm an experienced developer, new to SquareSpace. I'm trying to insert a custom HTML block into a page but there is nothing like "Code" or "Custom HTML" in the list of sections I can add to a page. I'm on the $30/mo Basic Commerce plan. I do see places to add custom code to header and footer - but I need to add custom HTML within the page itself. I've looked at webinars and such but they all look completely different than the UI that I'm given, I'm not sure if they were created with a different version(?) One YouTube video mentioned a "developer mode" under Advanced, but I don't have this on mine.
  9. Site URL: https://www.orlandohomescans.com/residential Hello - trying to figure out how to get the virtual tour video shown in the second snippet to go full width. The first snippet shows the code and the width is set to 100% and the second snippet shows the code block the full width of the page, yet the virtual tour will not expand width wise. It expands height wise if I adjust the height value in the code, but that doesn't seem to work with the width. Unfortunately I don't know code so any help in layman's terms is greatly appreciated :).
  10. Site URL: https://docs.sellfy.com/article/132-how-to-customize-buy-now-buttons-for-my-website#customize_embed_code_to_have_custom_button Sellfy provides code for a “Buy Now” button. There are also instructions that you can use to have an image act as your Buy Now button. That is what I am trying to do. See below for Sellfy instructions. I uploaded my image to My Custom Files. I added my Product Key and my image URL to their code and put that new code in a code block. It doesn’t work. Is that CSS below Squarespace-compatible? Any suggestions? Thank you for any and all responses. From Sellfy: Custom button or image Here's an example of how your button and code may look like with custom class. In the code below, the link to the button image is https://example.com/images/button.png, which is just an illustration of what the image link can be. You can generate such a link for your custom buttons by uploading the button image onto a server. You may also use a reliable online button generator that will produce such a link for you. <a href="https://sellfy.com/p/[PRODUCT-KEY]/" id="[PRODUCT-KEY]" class="sellfy-buy-button sellfy-buy-button-custom"><img src="https://example.com/images/button.png"></a> <script src="https://sellfy.com/js/api_buttons.js"></script> Cut and pasted from: https://docs.sellfy.com/article/132-how-to-customize-buy-now-buttons-for-my-website#customize_embed_code_to_have_custom_button
  11. Hi, I have used a code block to contain an image and have created some code to allow this code block to crop relative to the page dimensions. I am however unsure how to keep the content centered vertically rather than cropping from the top. Here is an example of my current css .sqs-block { padding: -0 !important; margin-top: -0px; margin-bottom: -0px; object-fit: cover; max-height: 50vh; } Many thanks
  12. I have this code block for my page but it doesn't show up right? I tried many codes but they all don't seem to work so I would really appreciate if someone could. On my page, it gets cut off. It doesn't fully render towards the bottom. I've attached a similar code block that works perfectly well on their page. Thoughts? Help? Thanks!
  13. Site URL: https://broccoli-reindeer-a7x3.squarespace.com/pumping Hi can't seem to figure out a way to make this zoho form wider on mobile. I have made the form as big as possible from the zoho side but squarespace seems to limiting the width. Anyone figure out any CCS code to make code blocks full width on mobile?
  14. Site URL: https://crane-cow-k3a2.squarespace.com/config/pages Hi, I am making a Squarespace website for a neighborhood park. It will consist mainly of a map. The test map (hosted by MapTiler, https://api.maptiler.com/tiles/dd6645fb-fe0a-427e-878a-e796b8ac9dec/?key=vVaGF01dkm9skQ34hS2Q#17/29.741/-95.382) displays in a web browser, but when I pasted the URL into a text box in Squarespace as a "code block," nothing appears. I'd be grateful for any suggestion!
  15. Site URL: https://www.websimpelsnel.nl/workshop-opgeven Hello people, Could you please explain what are the long term consequences of disabling ajax loading? Thanks in advance. I just disabled ajax loading to prevent the problem mentioned here: My eventbrite embed code didn't load (only after refreshing the page), just like the post below. I've found the solution in the post: this link https://sf.digital/squarespace-solutions/why-doesnt-my-code-work-until-i-refresh-the-page
  16. Hi there I'm trying to add a hyperlinked image to a code block on a blog page (7.1). Immediately after the code block is another code block which appears in the CMS but not on the live site. Also, there is a second code block a text block of 3 paragraphs after the second code block. Every single word in the text block is appearing as a link - it's linking to the URL used in the code block. The code I'm using is below. Anyone know what I'm doing wrong? TIA Jonathan https://www.jeju.plus/businessdirectory/cafesbakeries/ninebroscoffee p/w jejuplus <div class="grey"> <html> <body> <h4>Navigation</h4> <p>We recommend using Kakao Maps to navigate to Nine Bros Coffee. Click the icon below to access </p> <a href="http://kko.to/E1BW07V0T"target="_blank"> <img src="https://lh3.googleusercontent.com/DYeQ02AyIghsirp4ea3oEnyxT3X0GgTZrXYR8G7AN6tRr-9mFcQIJdCUub5VHiWKHA=s180-rw" alt="https://lh3.googleusercontent.com/DYeQ02AyIghsirp4ea3oEnyxT3X0GgTZrXYR8G7AN6tRr-9mFcQIJdCUub5VHiWKHA=s180-rw" width="104" height="104"> </div> <style> .grey { background: #f0f0f0; padding: 30px; text-align: center; } </body> </html>
  17. I've started working with 7.1 and read through the Release Notes. Perhaps I'm overlooking something, but has the code block disappeared?
×
×
  • Create New...