Jump to content

SSong

Member
  • Posts

    53
  • Joined

  • Last visited

Posts posted by SSong

  1. On 3/6/2021 at 7:32 AM, tuanphan said:

    Hi,

    2 options

    Option 1. Use this guide to create image hover effect. You can achieve click easier.

    Option 2. Edit code to this then let me know. I will give some CSS to enable clickable. Replace beaverhero with new url.

    <div class="image-swap">
      <a href="https://beaverhero.com"></a>
      <img src="https://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c90c7c1e447d7b159a1/1614621840788/G1blk.jpghttps://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c90c7c1e447d7b159a1/1614621840788/G1blk.jpghttps://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c90c7c1e447d7b159a1/1614621840788/G1blk.jpg">
      <img src="https://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c979295ad0aaf8025a3/1614621847571/G1ora.jpghttps://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c979295ad0aaf8025a3/1614621847571/G1ora.jpghttps://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c979295ad0aaf8025a3/1614621847571/G1ora.jpghttps://static1.squarespace.com/static/5f6d95d8648c493bc6755ec7/t/603d2c979295ad0aaf8025a3/1614621847571/G1ora.jpg">
    </div>

     

    Hello! I'd like to get option 1 working, it worked on image for a second and then it didn't work again. Could you help me check (link here) and see what I did wrong? Thank you!

  2. On 4/10/2022 at 9:00 AM, tuanphan said:

    Add to Design > Custom CSS

    div.header-nav-item [href="/dreamvs"] {content: '';
        background: url(https://content.invisioncic.com/p289038/monthly_2020_11/FreezePeach-ComingSoon.png.ce50920572f09ddd418a10fcdc065c88.png) no-repeat;
        background-size: cover;
        height: 100%;
        color: transparent !important;
        background-position: center center;
    }

     

    Can you help me as well? I'd like to change the FOR FUN navigation link of this site to this logo here. And f I want it to be a vector svg instead of a png, can I just swap it out after? Thank you!

  3. 11 hours ago, tuanphan said:

    Where did you add style tag?

    I took it off, because if I added it on, it would break the whole thing.

    Here's what I added, maybe I didn't have the right target?

    <style>
    .farm-anchor a{
    font-size:medium;
    color:gray !important;
    border-bottom-style:none !important;
    border-bottom-width:0px
    }
    .farm-anchor a:hover{
     color:#404040 !important;
    }
    <style>
  4. Site url

    Hello kind people!

    I'm trying to implement a sticky side bar inside index sub-page with a jump-links that will be highlighted as you scroll to each section, I'm half way there and did manage to make the side bar sticky with help, but I don't know how to make the jump links change color as you scroll to the perspective section. Here's a perfect example of what I'm trying to do. Can somebody help me with this? Can it be done without javascript? My coding knowledge is pretty rudimental.

    Thank you!!

  5. 3 hours ago, tuanphan said:

    Add to Design > Custom CSS

    /* About sticky */
    @media screen and (min-width:641px) {
    section#farm-intro .span-4 {
        position: sticky;
        position: -webkit-sticky;
        top: 0;
    }
    section#farm-intro>div {
        overflow: visible !important;
    }
    section#farm-intro {
        overflow: visible !important;
    }
    }

     

    Thank you!! It was working, until I turned them into anchor links and somehow broke everything...

    I think you still have permission as the website editor, so feel free to dig around in there if it helps. 

    Below is what I put down anchor link. Maybe there's something obvious that I just can't see as my familiarity of css is pretty limited.

    Basically, this is what I'm trying to achieve but I have no idea how to implement this into Squarespace. 

     

    <div class="farm-anchor">
    <h3><a href="#varieties">Varieties</a></h3>
    <h3><a href="#practices">Practices</a></h3>
    <h3><a href="">Compost</a></h3>
    <h3><a href="">Reduced Till</a></h3>
    <h3><a href="">Crop Rotation</a></h3>
    <h3><a href="">Biodiversity</a></h3>
    </div>
    
    <style>
    .farm-anchor a{
    font-size:medium;
    color:gray !important;
    border-bottom-style:none !important;
    border-bottom-width:0px
    }
    .farm-anchor a:hover{
     color:#404040 !important;
    }
    <style>

     

  6. @tuanphan

    Could you help me? I'm looking to do something similar on an index page sub page #farm-intro, trying to make the the left column (with the FARMING PRACTICES, COMPOST, REDUCED TILL, CROP ROTATION, BIODIVERSITY) sticky within the subpage, and also highlighted somehow (darker color or bigger font size) as one scrolls down past the section on right column. 

    I tried to do it myself but it's not working... 😥

    Thank you!!

  7. On 1/22/2022 at 7:19 AM, tuanphan said:

    Add to Page Header

    <style>
    .view-list .product-mark.sold-out {
        font-size: 0;
    }
    .view-list .product-mark.sold-out:before {
        content: "Coming soon";
        font-size: 10px;
        background-color: black !important;
        display: block;
        color: white;
        width: 80px;
        right: 10px;
        position: absolute;
        top: 10px;
        line-height: 20px;
    }
    </style>

     

    Thank you! But how do I target just 1 or 2 products? @tuanphan

  8. 12 hours ago, tuanphan said:

    Change circle sold out to coming soon for Vegetable csa product only?

    Yes, plus the sold out labels in the related product section as well, which I almost figured out. The only thing I managed to figure out is replacing the "sold out" text in the product description. I'm having a hard time finding exactly how to target a specific product thumbnail on the shop page. 

    I know "Coming Soon" is not gonna fit in that same circle, so the background could just be a rectangle in a different color so it's more obvious.

    Thank you Tuan!!

  9. On 10/17/2021 at 8:16 PM, tuanphan said:

    Add to Design > Custom CSS

    /* Sale out to Coming Soon */
    .product-mark.sold-out {
        visibility: hidden;
    }
    .product-mark.sold-out:before {
        visibility: visible;
        content: "Coming Soon";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

     

     

    How do I change the label of a single product's thumbnail on my shop page? I'd like to change the Veggie CSA's thumbnail to say coming soon, but I don't want to create a different category for it.

    Screen Shot 2022-01-19 at 3.45.59 PM.png

  10. On 11/16/2021 at 12:59 PM, creedon said:

    I'm not seeing the code installed. If it is not installed please install it so we can see what might be wrong.

    So this is what I see on my phone. The two button are in the same row instead of stacked, but I'm actually ok with that. I don't want the row reverse on mobile anymore, it's better if the continue shopping button is on the left on mobile, but something is weird with the padding of the checkout button, and there's also no margin in between for some reason. Would also love bigger margin at the top of the whole thing. Thank you!!

    IMG_4727.jpg

  11. 18 hours ago, creedon said:

    @SSong

    Add the following to Design > Custom CSS.

    /*
    
      begin cart checkout buttons change
      
      Version         : 0.1d0
      
      SS Version      : 7.0
      
      v7.0 Templates  : Brine ( Aria, Blend, Burke, Cacao, Clay, Fairfield, Feed,
                        Foster, Greenwich, Hatch, Heights, Hunter, Hyde, Impact,
                        Jaunt, Juke, Keene, Kin, Lincoln, Maple, Margot, Marta,
                        Mentor, Mercer, Miller, Mojave, Moksha, Motto, Nueva, Pedro,
                        Pursuit, Rally, Rover, Royce, Sofia, Sonora, Stella, Thorne,
                        Vow, Wav, West )
      
      Dependancies    : LESS
      
      By              : Thomas Creedon < http://www.tomsWeb.consulting/ >
      
      */
      
      #cart {
      
        .checkout {
        
          display : flex;
          gap : 1.5rem;
          
          .checkout-button {
          
            margin : unset;
            
            }
            
          } // .checkout
          
        } // #cart
        
      @media screen and ( min-width : 640px ) { // desktop
      
        #cart .checkout {
          
          flex-direction : row-reverse;
          
          }
          
        }
          
      @media screen and ( max-width : 639px ) { // mobile
      
        #cart .checkout {
        
          justify-content : flex-end;
          
          .checkout-button:not( .t-continue ) span {
          
            display : inline-block;
            width : 10rem;
            
            }
            
          }
          
        }
        
      // end cart checkout buttons change
    

    Let us know how it goes.

     

    It worked, but I still want the button to be stacked on mobile, which currently, they are not (see pic). Now that I look at it, I would like to replace the Continue Shopping button into just a linked text on mobile with an added arrow, beneath the Check Out button. Thank you thank you!

    Screen Shot 2021-11-12 at 3.38.35 PM.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.