Jump to content

tuanphan

Circle Member
  • Posts

    66,845
  • Joined

  • Last visited

  • Days Won

    535

Posts posted by tuanphan

  1. 16 hours ago, azaslona123 said:

    hi @tuanphan it's all understandable but I have 8 logos and squarespace doesn't let me create more than 6 columns. Do you have any solution for that? 

     

    Also, I tried with 6 pictures with this code and following your instruction and it doesn't work. 

    the website is: 
    www.toleasing.pl 

    You mean this section?

    #1. Number of Columns is not affected. Whether you choose 3, 6 or 8, the code will convert all to one line scroll.

    image.thumb.png.cbd226edf8d07e9fe642aec1864ecaf8.png

    #2. I see you used incorrect ID

    image.thumb.png.9c886e0723ff2c215f89c073a78040d0.png

  2. On 6/24/2024 at 9:28 PM, NewtonDesignCo said:

    Thanks!  Yes so here is a good example: https://www.newtondesign.co/timmy-shot-me

    You'll see on desktop computers, or android mobile devices the start in the scrolling header renders as it should. But when you look on an iOS device, apple swaps that for a horrible emoji! lol.

    I've had a chat with a friend how says it's probably not possible to fix.  So it might very well be I need to just remove the star shape which will be a shame.

    I've put in a request for the ability to add an image to the scrolling bar, then we can add our own custom symbols etc.

    You can try this approach to add icon to Scrolling Block

     

  3. On 6/24/2024 at 6:27 PM, hayleykimstudios said:

    @tuanphan this works but also changes all of my H1,H2 and H3 fonts across the whole site 😞 

    Remove the code & use this new code

    div.product-quantity-input *, .ProductItem-details .ProductItem-details-checkout [class*="variant"] * {
        font-family: "Neue-Haas-Unica-Medium";
    }

    If it still doesn't work, please share link to a product on your site, I can check code easier

  4. On 6/24/2024 at 6:18 PM, Soona said:

    Thanks! So here is my CSS so far (HTML already in the section) you can see what I got here. But as you can see ( https://www.goldensoulholistics.com/home-new ) the icons on both sides only fit the first link, and I would like them to adjust to the width of each link, if possible. Do you have a solution for that? 
    Thank you very much 😉 

     

    .game-start-links {
      text-align: center; /* center the links */
    }
    
    .link {
      display: block; /* make links block elements to stack them */
      margin: 20px; /* add some space between links */
      position: relative; /* for absolute positioning of icons */
      transition: all 0.3s ease-in-out; /* add a smooth transition effect */
    }
    
    .link:hover {
      /* add the icon frames on hover */
      padding: 0 15px; /* add space for the icons */
    }
    
    .link:hover:before,.link:hover:after {
      content: ''; /* add an empty content to create the icon frames */
      position: absolute;
      top: 0;
      width: 25px; /* adjust the width to match your icon size */
      height: 100%; /* make the icon frame full height */
      background-image: url('https://static1.squarespace.com/static/65413b3902773a145da0729b/t/66794a48ef95203740740c1a/1719224904594/Icon-Game-left.png'); /* add the left icon */
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    .link:hover:before {
      left: 0;
    }
    
    .link:hover:after {
      right: 0;
      background-image: url('https://static1.squarespace.com/static/65413b3902773a145da0729b/t/66794d4b4f07162c0d039924/1719225675464/Icon-Game-right.png'); /* add the right icon */
    }

     

    I think it already show fine on all three texts. Did you solve it?

  5. On 6/24/2024 at 5:05 PM, Tlwes said:

    Hi, 

    I would love to know if its possible to reduce this dead space below the 'slideshow: reel' when captions are turned on. 

    I have also used the CSS to move the caption up onto the bottom of the image, but there is now plenty of space below where the caption once was

    Thanks!

     

    If you share link to page where you use Reel, we can check easier.

  6. Use some code like this

    div.button-block a {
        position: relative;
        width: 200px;
        height: 80px;
        overflow: hidden;
        background-color: #522d5b !important;
        clip-path: polygon(
        0 20%,
        10% 0,
        90% 0,
        100% 20%,
        100% 80%,
        90% 100%,
        10% 100%,
        0% 80%
      ) !important;
        color: #fff !important;
        border-radius: unset !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    image.png.41ee62da09c28f04caec34e8f38f08a8.png

  7. On 6/23/2024 at 4:22 AM, cmiller said:

    Wow!  Thank you so much!  Is it possible to add code for this section to do the same thing:

    image.thumb.png.9acbfbbfb3c69ad3e29402cdb42fdc59.png

     

     

    You can enable button then use this CSS code

    section[data-section-id="665fd250c388e16e8dec6849"] {
    li.list-item {
        position: relative;
    }
    .list-item-content__button-container {
        position: static;
    }
    .user-items-list-carousel .list-item-content__button-container a {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        color: transparent !important;
        background-color: transparent !important;
        border: none !important;
    }
    .user-items-list-carousel .list-item-content__button-container {
        position: static !important;
    transform: unset !important;
    }
    a.list-item-content__button.sqs-block-button-element:before {
        visibility: hidden;
    }
    .user-items-list-carousel__slide {
        pointer-events: initial !important;
        user-select: unset !important;
    }
    .user-items-list-carousel__gutter {
        cursor: pointer;
    }
    .list-item-content--hidden {
        display: block !important;
    }}

     

  8. On 6/23/2024 at 5:45 PM, sheridanckai said:

    I'm trying to figure out how to change the gallery reel arrows to a solid triangle , does anyone know how to do this?

    thank you

    iconmonstr-caret-right-filled-240.png

    You can use this code to Custom CSS box

    button.gallery-reel-control-btn svg {
        display: none !important;
    }
    button.gallery-reel-control-btn {
            background-size: contain;
            background-repeat:no-repeat;
            background-position: center center;
            opacity: 1 !important;
            padding: 30px !important;
    }
    .gallery-reel-control-btn::before {
        background-color: transparent !important;
    }
    button.gallery-reel-control-btn[aria-label="Previous Slide"] {
        background-image: url(https://content.invisioncic.com/p289038/monthly_2024_06/iconmonstr-caret-right-filled-240.png.8651401bdea275af339bab793f6c309b.png);
    }
    button.gallery-reel-control-btn[aria-label="Next Slide"] {
        background-image: url(https://content.invisioncic.com/p289038/monthly_2024_06/iconmonstr-caret-right-filled-240.png.8651401bdea275af339bab793f6c309b.png);
    }

     

  9. On 6/23/2024 at 10:44 PM, Gmm398 said:

    You are amazing thank you so much! One last thing. When I added that, then my qty input box that I coded to be 50% to match the width of the other two inputs and my "add to cart" button now are slightly off when I change screen size... (at full screen they are in alignment), they are not responding exactly like the first to inputs. I tried making  all the boxes the same size by using percentages but that didn't work for the add to cart. It only responds to em or px? I tried making add to cart button is 30em and the others are 22em, but then they don't respond at all of course when I change window size. Anyway to get the add to cart and the QTY input to respond like the first two variants? 

    Can you take a screenshot of problem?

×
×
  • 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.