Jump to content

sarahcreates

Circle Member
  • Posts

    107
  • Joined

  • Last visited

Posts posted by sarahcreates

  1. On 1/27/2023 at 3:42 AM, creedon said:

    I think something might be done. The trick, I think, is to use a MutationObserver to watch the text of the add to cart button and then after it indicates that the item has been added, then do a redirect.

    Now I have some prototype code to do the first part, watch for the text Added! in the atc.

    Can you tell us a little more about how you want these products with forms to redirect? Is every product with a form going to redirect to cart? Do all your products have forms on them? Would you ever want to redirect anyplace other than the cart?

    Once I have a bit more info I can cogitate of how the redirect part can be handled.

    Hello @creedonsorry for the delayed response.

    It is a simple e-comm site for event entry (charity), the form gathers the team member names. There will only ever be one 'product' (team) added to the cart at any time. No additional products needed.

    Yes to each product redirecting to the cart.
    Yes to both products having forms on them.
    No to redirecting to any other place.

    Just as a side note, I can't use the form at checkout though as there are two products (team entry and individual entry), I wouldn't want the same form to be shown to both hence using the custom form within each product.

    Thanks for any help!

  2. For anyone coming looking for the answer to my query, @bangank36 has solved it. Thank you!

    To move the meta below the excerpt, but above the 'read more' link. Insert (and enter your own ID) this to your css:

    section[data-section-id="xxx"] .blog-basic-grid--text {
      display: flex;
      flex-direction: column;
    }
    section[data-section-id="xxx"] .blog-meta-section {
      order: 1;
    }

    section[data-section-id="xxx"] .blog-more-link {
      order: 2 ;
    }

  3. On 3/25/2021 at 2:01 AM, bangank36 said:

    Update the placement using css

    .blog-basic-grid--text {
        display: flex;
        flex-wrap: wrap;
    }
    .blog-basic-grid--text .blog-more-link {
      width: 100%;
    }
    .blog-basic-grid--text .blog-meta-section {
      order: 9;
    }

    @bangank36 I have tried customising this myself but having no luck. Could you let me know how I'd move the meta to above the 'read more' link ('more info' button in my case), please? 7.1 basic grid blog.
     

    Screenshot 2022-09-29 at 14.49.07.png

  4. Just wanted to share this as I was looking for a solution. Thank you @squarepaste

    https://squarepaste.com/blog/squarespace-accordion-block-in-product-description

     

     

    Quote

     

    1. While editing your product, go to the Additional Info section and add an Accordion Block.

    2. Underneath the Accordion Block, add an Embed Block or Code Block. Use an Embed Block if you are on a personal plan; if you are on a business plan or higher, then you can use a Code Block.

    3. Copy the code below and paste it into the Embed or Code Block

    <script src="https://storage.googleapis.com/squarepaste/base-jquery.js"></script> <script>$(".accordion-block").appendTo(".ProductItem-details-excerpt");</script>

    All done! Now, the Accordion Block on that product should automatically be placed within the Product Description.

     

     

  5. 48 minutes ago, ArminB said:

    @sarahcreates @tuanphan (in case this is still an issue)

    This can be solved by changing the DEFAULT TEMPLATE COLOR THEME. For some reason, this is currently only possibe by using the Squarespace App. With most websites the default theme is set to a dark one.

    Hope that helps!
     

    Bildschirmfoto 2021-07-06 um 10.05.52.png

    This is a fairly old thread and things have progressed by now 🙂

  6. I think I may have found the answer to this... my site is still in trial mode before launch and this is an expected behaviour. Squarespace hd posted elsewhere saying due to recent changes, any sites in Trial Mode will not have external access to uploaded files. Once a site is upgraded to a paid plan, file access will work as normal. 

    Seems bizarre though as it works in Safari...

  7. Did anyone solve this? Having the same issues above with it not appearing. My code is the usual and I've done this plenty times but for some reason on a new build 7.1 its not working... (have also tried /s/bavs-inverted-logo.svg as url to no avail.)

     

    /* SVG Logo */
    .header-title-logo img {
        visibility: hidden;
    }
    .header-title-logo a {
        background-image: url(https://static1.squarespace.com/static/6076e0876d2b4b1c79bc6dee/t/60ab7290fe96d458d9ee98d2/1621848720713/Bavs-inverted-logo.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }
    /* END SVG Logo */

  8. Site URL: https://www.urquhartglass.com

    Hello all,

    Hoping someone can help me navigate around changing the background in a 7.1 Cart page...

    The site is black, and I'd like the cart and checkout to be a light background as some of the elements in a 7.1 cart page don't show up on black, i.e the remove X. The 'Use light background' in checkout is working just fine, but the cart page prior to checkout still remains dark.

    If you'd like to see the site mentioned above, please let me know and I'll message the password. However hoping someone can just tell me how to target the background of the specific page like I can do in Brine for example...!

    Thanks
    Sarah

    Screenshot 2020-05-20 at 18.58.12.png

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.