Jump to content

jorohaco

Circle Member
  • Posts

    27
  • Joined

  • Last visited

Posts posted by jorohaco

  1. Hi all

    I built a landing page that has a single persistent CTA in the desktop header that is an anchor link to the bottom-most section of the page.

    Site: https://buttercup-sparrow-a7h3.squarespace.com

    I need to replace the mobile burger menu with the exact same anchor link/button that is on the desktop breakpoint, or put another way—take that CTA button that also lives in the mobile menu and have it replace the mobile burger icon. I've already hidden the burger menu with the CSS below, but that's as far as I've gotten. Any help on this would be appreciated.

     

    // No burger
    @media screen and (max-width:1024px) {
      .header-nav {
        display: flex !important;
        justify-content: flex-end !important;
      }
      .header-burger {
        display: none !important;
      }
      .header-title {
        max-width: 48% !important;
      }
      a#site-title {
        white-space: nowrap;
      }
    }
  2. Neither of those seemed to work 😕. Still getting the same behavior (visible in Custom CSS view, not anywhere else including in an incognito window).

     

    // CUSTOM ICONOGRAPHY
    // cart
    .header .header-actions-action--cart svg {
      stroke: transparent !important;
    }
    .header-actions-action--cart .icon-cart-quantity {
      display: none !important;
    }
    /* .header .header-actions-action--cart {
      background-image: url('/s/shopping-cart.svg') !important;
      background-size: contain !important;
      height: 32px !important;
    }*/
    .icon--cart {   
      svg {     
        display: block !important;
      }   
      background-image: url('https://broccoli-parakeet-js8k.squarespace.com/s/shopping-cart.svg') !important;   
      background-size: 32px 32px !important;   
      background-repeat: no-repeat !important; 
    }

     

  3. Hmm.. the icon seems to not be reliably showing up after implementing the code below. It seems to only be visible when I'm in the Custom CSS view. Thoughts anyone?

     

    Custom CSS view

    711318497_Screenshot2022-11-18at4_22_53PM.thumb.png.c49c657364ee68b353019731933231ec.png

     

    Standard view

    2023411240_Screenshot2022-11-18at4_23_16PM.thumb.png.94b7e314ef07ebda8fb9332824a5a42c.png

     

    // cart
    .header .header-actions-action--cart svg {
      stroke: transparent !important;
    } .header-actions-action--cart .icon-cart-quantity {
      display: none;
    } .header .header-actions-action--cart {
      background-image: url('/s/shopping-cart.svg');
      background-size: contain;
    }

     

  4. Tried searching the forum but seems no one's asked on how to use an SVG as a replacement for the cart icon. I don't want to use a PNG, because I wouldn't be able to control the color at that point.

    I started using the following code to replace the default cart icon but the SQS interface wouldn't let me upload an SVG (odd, right?), so I couldn't define a background-image url. Since I can't upload an SVG file (unless I'm missing something), how can I leverage the raw SVG code to replace the default cart icon?

     

    https://broccoli-parakeet-js8k.squarespace.com/

    Site Password: duckdogelk

     

    // cart icon
    .header .header-actions-action--cart svg {
      stroke:transparent!important
    } .header-actions-action--cart .icon-cart-quantity {
      display:none
    } .header .header-actions-action--cart {
      background-image: url(image-url-here); background-size: contain
    }

     

  5. Site URL: https://heptagon-bugle-5sad.squarespace.com/

    Here's yet another basic CSS question over how to target and change the font of one div block on a particular page. Sorry for redundancy. Site is on 7.1 and at https://heptagon-bugle-5sad.squarespace.com/ and password is 4c5sad

    Under section[data-section-id="62d1ca1f7242da41460f5e9f"] of the homepage, I need to change the title "Subheadline to Who We Are" there to a header style, or rather to just this:

    font-family: 'barlow_semi_condensedblack', sans-serif !important;
    letter-spacing: -1px !important;

    Help.

  6. I need to do the same, but I have Galleries and page descriptions (in 7.0) that don't allow markdown blocks. So, I wonder if/how we're able to globally replace all Italic text with something like:

    font-style:normal; background-color:green;

    Basically, how would I target the italic font style globally? I hardly ever use italic text in my copy, so I figured that could be a solution.

    Or is there a better approach to this perhaps?

  7. Site URL: https://john-coleman-voum.squarespace.com/landing-pages-emerson

    It's been years since I've updated my portfolio so I'm a bit rusty—and I'm unfortunately I'm still running on 7.0 and can't afford to rebuild under 7.1 right now.

    Anyhow, I need to remove the padding between some images within a Project gallery. The site I'm linking to is just an example. I need to reduce the vertical padding between the second and third images to 0px, but keep the padding between the first and second images as is. And I'll need to repeat this process for several other images that I will later upload.

    Any help is appreciated. Thank you.

  8. Site URL: https://carillon-flower-3xhs.squarespace.com/

    Hello. I need to modify the mobile stacking order of content in a 3-column image/text/spacer layout.

    Site password: XRdesign

    Jump or scroll to the "Process" section. For larger displays, the order of the content blocks is:

    ROW A: Image — spacer — Text
    
    ROW B: Text — spacer — Image

    ... rinse and repeat.

    On mobile they all need to follow one pattern:

    COLUMN: Image — spacer — Text

     

    I've done a search on this and there were a number of threads covering but they all kind of dead-end(ed). I honestly feel like a fix to this should have been baked into 7.0 since it's such a common UI pattern. Any help would be appreciated. And thank you! 🙏 

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