Jump to content

tuanphan

Circle Member
  • Posts

    64,819
  • Joined

  • Last visited

  • Days Won

    517

Reputation Activity

  1. Like
    tuanphan got a reaction from Emily233567 in Create page loading/page transition effect   
    You can remove code from Site wide Code Injection to Homepage Header Code Injection
  2. Like
    tuanphan got a reaction from bhua_2022 in Create page loading/page transition effect   
    updated code, I added some attributes, you try adding it again, if it still doesn't work, try moving the code to Code Injection > Header,
    if it still doesn't work, you can keep the code, I can check again easier
     
  3. Thanks
    tuanphan got a reaction from Malou in Lightbox-only caption photo gallery with CSS?   
    You can use a CSS code like this (Website > Website Tools > Custom CSS)
    [data-slide-url]:after { display: block; color: black; z-index: 99999; position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%); } [data-slide-url="u912u88ef4rhh05pptrzi3tazv1pr4"]:after { content: "Feral Goats on Slievecarran"; } [data-slide-url="1kv0c7bmb7tf9i671nq7zlvzvor0nf"]:after { content: "Bouleevin-Sunrise"; } [data-slide-url="9fdxxom6mdst2k89vrmsk0tph2qbgg"]:after { content: "Doonties-Gateway-Dingle-Peninsula.jpg"; } Result

    To find data-slide-url, you can open lightbox > right click anywhere on the page > Inspect
    It will show a box on right or under screen > You can search data-slide-url
    it will show all

     
  4. Love
    tuanphan got a reaction from nickbarr in Image overlay hover in 7.1 Masonry Grid   
    You mean
    You have a Masonry Grid with 30+ images
    You want: when users hover on each image >> change it to another image?
    If yes, it is possible, you can share link to page where you use Masonry, I will give some code to achieve this
  5. Like
    tuanphan got a reaction from Beyondspace in Where 'Use Existing Gallery' in 7.1?   
    Squarespace provided a solution 1-2 months ago (Please check in Circle Forum to see detail)
  6. Like
    tuanphan got a reaction from tom43654329 in Change background image size on mobile   
    Add to Page Header
    <style> @media screen and (max-width:767px) { #page>article>section:first-child { min-height: 50vh !important; } } </style>
  7. Like
    tuanphan got a reaction from Beyondspace in Where 'Use Existing Gallery' in 7.1?   
    SS bring back Gallery Block in 7.1
  8. Like
    tuanphan got a reaction from Beyondspace in Where 'Use Existing Gallery' in 7.1?   
    Have you found the solution yet?
  9. Like
    tuanphan got a reaction from Beyondspace in Where 'Use Existing Gallery' in 7.1?   
    See this guide. https://support.squarespace.com/hc/en-us/articles/206543407-Gallery-Blocks
  10. Like
    tuanphan got a reaction from tom43654329 in Change background image size on mobile   
    Add to Home > design > Custom CSS
    @media screen and (max-width:767px) { .homepage section:first-child { height: 30vh !important; min-height: unset !important; } }  
  11. Like
    tuanphan got a reaction from SBeneke in Adding a button near add to cart button   
    Hi,
    I don't see button in Additional Info.
    You can add it then use this code to Website > Website Tools > Code Injection > Footer
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('section.ProductItem-additional .button-block').appendTo('.sqs-add-to-cart-button-wrapper'); }) </script>  
  12. Like
    tuanphan got a reaction from Johnny87632 in Connect summary block read more link to source URL   
    Don't remove any code in your current code.
    Add this code to Last Line in Code Injection > Footer
    <script> $(".summary-item").click(function(){ window.location=$(this).find(".summary-title a").attr("href"); return false; }); </script>  
  13. Thanks
    tuanphan got a reaction from smith4743 in Changing Shopping Cart Page   
    Add to Home > design > Custom CSS
    /* Shopping cart title */ .cart-title { visibility: hidden; } .cart-title:before { visibility: visible; content: "tuanphan"; } /* Checkout */ .checkout-button { background: green !important; color: red !important; font-family: monospace !important; }  
  14. Like
    tuanphan reacted to Rawan in Move certain links in header to other side   
    Solved my problems again, thank you!
  15. Like
    tuanphan reacted to Howdwil in Vanishing Image on phone view   
    Sorry for theslow response, unfortunatel it didn't appear to work.
    I have another similar "shop" on the site which it doesn't happen to so think it must be a localised issue.
    I'm closing the shop in a couple of days so don't worry.
    Thanks for your assistance
  16. Like
    tuanphan reacted to PurpleFox in Disable Lightbox on Mobile 7.0 (Avenue)   
    Thanks, it was Gallery Section, but I've abandoned the project in the meantime!
  17. Like
    tuanphan reacted to ETLTS in Instagram carousel & Product display   
    You are the best!! Thank you! I didn't even know that margin section existed. That was the missing piece that i have been struggling with. 
    My website is looking much better now thank you. 
  18. Like
    tuanphan got a reaction from Sammis in I want "Video Collection" videos to play in a simple lightbox, rather than a dedicated page.   
    You can use Lightbox Plugin to achieve this. I will write a quick guide on how to do this & send soon
  19. Like
    tuanphan reacted to JulieMcK in How to Resize Thumbnail Image for blog component on mobile   
    Awesome! Thanks @tuanphan 😃
  20. Like
    tuanphan got a reaction from Jorinde in Align the "Additional Info" text with the "Product Description" text on a product page   
    Edit your site Footer > Add a Block > Choose Markdown > Paste the code.
    In case you can't make it work, let me know, I will give another approach
  21. Like
    tuanphan got a reaction from MoeTalks in Page Code & CSS Organization - Best Practice/Tips/Ideas/   
    I usually insert CSS code into the Page Header if the code only affects one page. (or use Code Block, if use Personal Plan) Use CSS in CSS boxes if it affects all pages Sometimes I use CSS in Code Injection, if the code is directly related to the script code already inserted there. For example, if I use script code to insert the Second Logo, and I need CSS to resize the logo, I will insert the CSS there too. If the CSS code is too long, I'll usually create a CSS file, paste all CSS there, and then declare it to Code Injection Header via <link rel="stylesheet" href="link to css file"/> For all code, I will add a Comment line, so I know what the code will do, for easy editing.  
  22. Like
    tuanphan reacted to JCR123 in Livechat is connected to my site but the chat widget does not appear any more   
    After some discussion with ChatLive's support, it appears that the solution was to check if the Chat Widget is enabled in Settings > Manage apps > Squarespace: https://my.livechatinc.com/settings/applications/squarespace in the agent app. 
    I hope it will help someone. 
  23. Like
    tuanphan reacted to creedon in Social Media Icons Disappeared on 7.1   
    The issue is you have syntax errors in your code. In Website > Website Tools > Code Injection > HEADER remove the following.
    <!DOCTYPE html> There should be only one of these on a page and Squarespace already adds that for you. This doesn't manifest the issue you are seeing but you don't want this error to bite you later.
    You need to reinstall my Fluid Engine Page Section Upgrade Button Hide code as it is incomplete. Incomplete code is a syntax error and will cause issues.
  24. Like
    tuanphan got a reaction from PurpleFox in Disable Lightbox on Mobile 7.0 (Avenue)   
    Lightbox of Image Block, Gallery Section, Form Lightbox, Quick View Lightbox or? If you share link to page where you want to do this, we can help easier
  25. Like
    tuanphan got a reaction from threadsonline in How to adjust spacing on product page (mobile)   
    Change code to this
    body.view-item .product-mark.sold-out { display: none !important; } body.view-item .sold-out .product-price:after { content: "Sold Out"; margin-left: 20px; text-transform: uppercase; font-weight: bold; } @media screen and (max-width:767px) { h1.ProductItem-details-title { margin-bottom: 5px !important; } }  
×
×
  • 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.