Jump to content

tuanphan

Circle Member
  • Posts

    65,953
  • Joined

  • Last visited

  • Days Won

    525

Community Answers

  1. tuanphan's post in Can Desktop Carousel slides become stacked images on Mobile? was marked as the answer   
    Yes. This is possible. 
    If you share link to page where you use carousel, we can help you achieve this
  2. tuanphan's post in Changing the font in the blog's author bio? was marked as the answer   
    Use CSS like this
    div.blog-item-author-profile-wrapper * { font-family: 'Josefin Sans' !important; }  
  3. tuanphan's post in Help with Header dropdown menu. was marked as the answer   
    You can create a Folder with Name: Shop
    Next, add 2 Link Items in Folder, first with name: New Arrivals, link to new arrivals page or category, second with Best Sellers link.
    To make folder title "Shop" clickable, you will need to use code, you can add it first + share site url, then we can give you code to make this clickable to shop page
     
  4. tuanphan's post in Scrolling logos using gallery section - Issue on mobile was marked as the answer   
    Use this code to Custom CSS
    @media screen and (max-width:767px) { section[data-section-id="65786538301caa326ce2e675"] .gallery-grid-wrapper .gallery-grid-item { min-width: 25% !important; } }  
  5. tuanphan's post in Hiding header logo on homepage only was marked as the answer   
    Change your code to this
    body.homepage { .header-title-logo img { visibility: hidden; } .shrink .header-title-logo img { visibility: visible; }}  
  6. tuanphan's post in Decrease Blog Post Width, without affecting anything else was marked as the answer   
    You can use this code to Website Tools (under Not Linked) > Custom CSS
    @media screen and (min-width:901px) { .collection-type-blog.blog-sidebar-right #mainContent { margin-right: 550px !important; } }  
  7. tuanphan's post in Adding images under product photos on a product page was marked as the answer   
    Add to Last Line in Code Injection > Footer
    <script> $(document).ready(function(){ $('section.ProductItem-additional .image-block').insertAfter('.ProductItem-gallery-slides'); }); </script> <style> .ProductItem-gallery-slides { overflow: visible !important; } .ProductItem-gallery { overflow: visible !important; flex-wrap: wrap; } .ProductItem-gallery .image-block { width: 100% !important; flex: 1 1 100% !important; } .ProductItem-gallery .image-block .has-aspect-ratio { padding-bottom: 40% !important; } </style>
  8. tuanphan's post in Fixed Background was marked as the answer   
    background-attachment: fixed won't work on mobile, you can consider disable effect on mobile only
  9. tuanphan's post in How to display different videos in each language? was marked as the answer   
    Ah, I targeted wrong ID. Use this new code
    html[lang="de-CH"], html[lang="de"] { .fe-block-yui_3_17_2_1_1704897992777_9256 { display: none; }} html[lang*="en"] .fe-block-yui_3_17_2_1_1704897992777_6100 { display: none !important; }  
  10. tuanphan's post in Split header links left/right was marked as the answer   
    You can use this code to Website Tools (under Not Linked) > Custom CSS
    div.header-nav-item:nth-child(2) { position: absolute; right: 2vw; }
  11. tuanphan's post in help with overriding template components was marked as the answer   
    You can add this code to Website Tools (under Not Linked) > Custom CSS
    nav#main-navigation { position: absolute !important; right: 0 !important; }  
  12. tuanphan's post in New(er) Website- Feedback appreciated was marked as the answer   
    I see mobile logo is small. You can consider increase its size

  13. tuanphan's post in Add product information was marked as the answer   
    To add Info under Add to Cart
    You can add it to Product Additional, then we can use code to move it under Add to Cart.
    You can add then share link to a product, we can check easier
  14. tuanphan's post in Enlarge photo on mouse hover was marked as the answer   
    Use this new code
    div.image-block:hover { transform: scale(1.3); transition: all 0.3s; } div.image-block { transition: all 0.3s; }  
  15. tuanphan's post in Blog carrousel arrows need to be adjusted was marked as the answer   
    Use this CSS code
    .ProductItem-gallery-carousel-controls .product-item-gallery-carousel-control { width: 50px !important; height: 50px !important; background: #fff; border-radius: 50%; } .ProductItem-gallery-carousel-controls .ProductItem-gallery-next:after { font-size: 40px; font-family: 'squarespace-ui-font'; content: "\E02D"; display: inline-block; color: rgb(199, 199, 199); transform: unset !important; border: unset; width: 50px; height: 50px; line-height: 50px; } .ProductItem-gallery-carousel-controls .ProductItem-gallery-prev:after { font-size: 40px; font-family: 'squarespace-ui-font'; content: "\E02D"; display: inline-block; color: rgb(199, 199, 199); transform: rotate(180deg) !important; border: unset; width: 50px; height: 50px; line-height: 50px; } .ProductItem button.product-item-gallery-carousel-control { justify-content: center !important; }  
  16. tuanphan's post in Site feedback needed please. New site and would love feedback. was marked as the answer   
    Footer
    It links to 404 page

    Similar Learn more button on this page
    https://www.whatabouthellministry.com/share-salvation
     
  17. tuanphan's post in How to make a different gallery size on mobile and desktop view was marked as the answer   
    You can adjust 30 to another number
  18. tuanphan's post in Other text in Header was marked as the answer   
    You can use #3 code in this thread
     
  19. tuanphan's post in Padding in same color as background was marked as the answer   
    You can try this code to Website Tools (under Not Linked) > Custom CSS
    body { background-color: white !important; }  
  20. tuanphan's post in Removing Author Photo in Comments Section was marked as the answer   
    You can add this code to Website Tools (under Not Linked) > Custom CSS
    .avatar { display: none !important; }
  21. tuanphan's post in How can I move social icons and change the spaceing? was marked as the answer   
    You can add this code to Website Tools (under Not Linked) > Custom CSS
    .header-actions.header-actions--left { position: absolute !important; right: 0; top: 0; } .header-actions.header-actions--left a:first-child { position: relative; right: -2.5vw; }  
  22. tuanphan's post in Infoview after clicking on gallery thumbnail was marked as the answer   
    Try adding this code to Website Tools (under Not Linked) > Custom CSS
    @media screen and (min-width:992px) { .imageWrapper.has-info { overflow: visible !important; margin-right: 516px !important; } .image-detail-wrapper { opacity: 1 !important; z-index: 1 !important; left: unset !important; right: 30px !important; top: 50% !important; transform: translateY(-50%) !important; } }  
  23. tuanphan's post in Defect for quote styles? The vertical bar goes missing when page is published was marked as the answer   
    Not sure why, but you can add this to Website Tools (under Not Linked) > Custom CSS to fix problem
    blockquote { border-left: 4px solid #dadada; padding-left: 2em; }
  24. tuanphan's post in Change colour of title on one portfolio tile only was marked as the answer   
    Suppose you want to change color of "Care/Of" text, use this code to Custom CSS box
    a.grid-item[href="/work/american-portraiture-xez9p"]:hover h3.portfolio-title { color:#f1f; } /work/...9p is Care/Of URL slug

  25. tuanphan's post in How to change a single ad image for multiple pages at once? was marked as the answer   
    (1) First, add this code to Website Tools (under Not Linked) > Code Injection > Footer
    <a href="https://google.com" target="_blank" class="image-ads"> <img src="https://cdn.pixabay.com/photo/2023/12/20/07/04/clouds-8459053_1280.jpg"/> </a> <!-- DO NOT ADJUST BELOW THIS LINE --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('.image-ads').appendTo('.code-block .image-ads'); }); </script> Change Google.com with your new url. Change Pixabay with your image url
    (2) Next, edit page where you want to place Ads Image > Add a Block > Choose Code > Paste this code
    <div class="image-ads"></div>
     
     
×
×
  • 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.