Jump to content

L1NST3R

Member
  • Posts

    38
  • Joined

  • Last visited

Recent Profile Visitors

379 profile views
  1. Site URL: https://www.tgtfresh.com/shroominfo (the problem occurs on every page) Recently, having to post a link to my site on Facebook, I discovered that there's an issue with scaling when scrolling. From what I've seen, whilst this doesn't occur on most dedicated browser apps on mobile, it is particularly prevalent for built-in browsers in apps like Facebook and Instagram (only in posts, doesn't happen when the link is opened in messages). I think the problem mainly stems from their UI, where the top and bottom bars expand/hide when you scroll up/down, and because of that, the page height constantly changes leading to rapid resizing. I'm not sure how this works, but is there a way for the entire site (not just some elements) to prevent scaling by height and only by width in these situations / ignore the bottom half of the screen's height / or to add a very long delay to the resizing's transitions? Examples: video-1660854896.mp4 video-1660854905.mp4
  2. Thanks for the response! I wasn't sure where to place/replace the code, so I did so once each for the Additional Info code block and the header injection, then both of them together after, but none of these seemed to have changed anything. Is there somewhere else where I'm supposed to put this code in, or were there some previous codes that I should've deleted? Thanks! (I had to change the tag to "roomtemp" as well as the button text to "7-11 常溫賣場" and link to "https://myship.7-11.com.tw/seller/profile?id=GM2208098456054", but I've made changes to the codes accordingly)
  3. Site URL: https://www.tgtfresh.com/fresh/p/longan I've added buttons linking an alternative store for most of my product pages using tags and css/code injection, however, I haven't been able to move the button next to the Shopify buy button. Is there a way to do this? I'm trying to make them look like this: The Shopify buy buttons were moved from Additional Information code blocks using this: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('section.ProductItem-details .code-block').insertAfter('.ProductItem-details .ProductItem-product-price'); }); </script> The buttons linking an alternative store were added using this in header: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(function() { $("<a class='cvsbutton' target='_blank' data-initialized='true' href='https://myship.7-11.com.tw/general/detail/GM2208088428146'>7-11 低溫賣場</a>").insertAfter(".tag-available .code-block"); }); </script> and this: .cvsbutton { order: 4 !important; font-family: arial; font-size: 15px; color: #fff; font-weight: normal; font-style: normal; text-align: center; width: 100px; border-radius: 3px; text-decoration: none; padding: 10px 10px; background-color: #FF8A43; } .checkoutbutton:hover { color: #fff; background-color: #d49999; }
  4. Thanks for the response, I've just tried this, but this stops the logo shrink outside of the overlay menu too, is there a way to limit it to being only for the overlay menu?
  5. @bangank36 I found a solution! @media only screen and (max-width: 450px) { .lightbox-content .form-wrapper input[type=submit] {margin-bottom: 100px; } }
  6. @bangank36 Sorry for not having specified it earlier, that's the Tawk.to form for when online customer support is offline. For the squarespace form lightbox that I've been having problems with, it can be accessed through the button shown in the picture attached, on the page that was linked to this post: Also, has there been a solution to this question: https://forum.squarespace.com/topic/208569-is-there-a-way-to-delay-the-scroll-back-for-the-header-on-mobile/#comment-509734 ? Thanks!
  7. Site URL: https://tgtfresh.com/catering As shown in the image attached, on mobile, form lightboxes get slightly cut off at the bottom, being unable to be scrolled all the way down. Is there a way for me to add padding to the bottom of this?
  8. Thank you so much for helping me with this! It works exactly as I wanted now!
  9. @creedonIt worked, thanks! However, on mobile it doesn't really fit to have 3 columns. Is there a way to make this only apply to desktop view?
  10. Site URL: https://www.tgtfresh.com/seafood-form/ Hi, I've got a form with quite a long list of radio options, and was wondering if there's a way to make it show in 3~4 columns, thanks. to add
  11. Yeah, and to disable logo shrink when the overlay menu is open, so the logo will still show when I'm in the menu. Is that possible?
  12. Site URL: https://www.tgtfresh.com/ I'm hoping to sort of delaying the scroll back header from hiding when I'm scrolling down to only start to hide after I scroll past the first section or two, so there wouldn't be a blank area most of the time when the page isn't completely scrolled to the top. Secondly, since I'm hiding the logo with instructions from https://schwartz-edmisten.com/blog/shrink-logo-on-scroll-in-squarespace-71 on mobile, and modified to transform instantly, the logo makes the page jump a bit every time I scroll to top - I'm thinking that delaying the scroll back to somewhere lower than the top of the screen might make this process off screen and reduce its impacts. Also, is there a way to disable the code for shrinking the logo when I'm in the overlay navigation menu?
  13. Site URL: https://www.tgtfresh.com/fresh Is there a way to reduce the spacing on the sides of the mobile store page? Thanks!
  14. Thanks for these, they're working exactly as I needed!
×
×
  • 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.