Jump to content

sarah_cowan

Circle Member
  • Posts

    34
  • Joined

  • Last visited

Posts posted by sarah_cowan

  1. Site URL: https://www.findnorth.uk/home

    Hi, I've seen this question asked on a few previous posts but none of the codes worked for me.

    Basically I want the image in the header on the top right of the homepage (https://www.findnorth.uk/home) to stack underneath the copy the same as it does in mobile to create a cleaner look. Changing the mobile breakpoint just changes the navigation bar.

    I've attached screenshots for reference below.

    Thank you in advance!

    Desktop view (fine):

    Screenshot 2024-10-04 at 17.22.12.png

    Tablet view (text too long and looks messy)

    Screenshot 2024-10-04 at 17.23.44.png

    Mobile view (how I want the content to stack in tablet view too).

    image.png

  2. On 8/17/2024 at 9:33 AM, tuanphan said:

    Use some code like this

    div#block-yui_3_17_2_1_1723214808527_50690:hover img {
        content: url(https://images.squarespace-cdn.com/content/v1/65bcc6bcea405932b75c37f6/3a077276-77de-42df-9b4b-30e8e610f75c/Staff_Placeholder-11.png?format=500w);
    }

    Just repeat the code but replace div#block....90 with Image Block ID. Each image will have an ID.

     


    Works perfectly! Thank you so much for your help again @tuanphan!

  3. 3 hours ago, tuanphan said:

    You can use this code to Website Tools > Custom CSS

    section#home-who .image-block:hover img {
        content: url(https://images.squarespace-cdn.com/content/v1/65bcc6bcea405932b75c37f6/3a077276-77de-42df-9b4b-30e8e610f75c/Staff_Placeholder-11.png?format=500w);
    }

     

    Hi @tuanphan This works perfectly, thank you so much!!! 😄

    These staff images are currently placeholders on the website while I wait for images from the client. I will be adding different staff photos for each thumbnail. I have updated these on the website to show you what I mean. Is there a code I can add so I can update the image URL for each image individually? Thank you!

    image.thumb.png.4812eb50117a37b153f6ef3e959d5a00.png

  4. 9 hours ago, creedon said:

    To sum up you want them all to be color and then on hover, over an individual image, to be not color? Also when hovered the decolored state should match the green background? Kind of like a sepia effect.

    Yes exactly that 🙂 For reference the green/teal is #00AA9B

  5. Hi,

    I've seen this question in the forum in a few different places where people are asking for an image to have a colour overlay on hover, however I'm looking for the opposite.

    I've attached an example of my design and the effect I'm after. I'd like these (staff photos) on one section of the website to have a colour overlay, which disappears on the hover.

    (Website for ref: https://findnorth.uk/home)

    Thanks in advance 🙂

    image.png

  6. Thank you all for your super speedy replies! It's good to know if was still working for others if not for me/BT users. 

    @paul2009 Bizarrely this was the issue! Both me and my client use BT as our provider in the UK. As soon as I replaced "assets" with "plugins" in the header code injection the filters all appeared again. Very strange, but so relieved this is working now. Thank you so much!

    I also sent a to Squarespace as well requesting the product filters as a feature for commerce websites. Have been asking for this for years, but hopefully one day we'll get them.

  7. Is anyone using the Universal Filter Plugin from Square Websites finding their code no longer works since the last Squarespace update, and the product filters have completely  vanished and been replaced with Squarespaces clunky product categories? I've tried removing and re-adding the code again but nothing is showing/working. This is occurring on both 7.0 and 7.1 websites.

    Websites it has stopped working on:
    https://www.giveadamngift.com/shop/
    https://manorbarnorganics.com/shop

    It's so disappointing that we've been screaming out for filters (price asc/des, newest, search bars etc) for commerce pages for years, and even paying for plugins like this, only for Squarespace to break them and still refuse to bring in these features.

    Any help or feedback would be gratefully received. My clients are rightfully not happy (and right in the at the beginning of the Christmas sales period), so if anyone can suggest alternatives that still work too that would be amazing.

  8. 1 hour ago, tuanphan said:

    Add this to Design > Custom CSS

    /* resize user icon on mobile */
    .header-menu-nav-folder-content .user-accounts-text-link {
        background-position: center;
        background-size: 40px;
    }

     

    Thanks so much Tuanphan! 🙂 That's a much better size, but is there a way to move it so it sits alongside the shopping back in the top right?

    Untitled-2.png

  9. 2 hours ago, iamdavehart said:

    you won't find "content:f290" because that is from font-awesome (an icon font). you've inserted a custom script to add a font-awesome icon. the script looks like this, and there will be a font-awesome link/script tag as well probably

    <script>
      $(".Cart-inner").append("<i class='fa fa-shopping-bag' aria-hidden='true'></i>");
    </script>

    It will probably be in your site-wide code injection. The location of the script in your sites source is consistent with where squarespace puts site-wide injected footer code.

    Go to settings > advanced > code injection

    Amazing, thank you so much Dave! It was driving me bonkers trying to find where it was, but if it was a font that will be why. Managed to get it sorted now, thanks again for your help 🙂

  10. 15 minutes ago, Ziggy said:

    Somewhere in your CSS you have this:

    .fa-shopping-bag:before {
        content: "\f290";
    }

    Hi Ziggy, thanks for responding to this so quickly.

    Is there a way of locating where this piece of CSS is? Have searched all custom fields and the only thing I can find is:

    i.fa.fa-shopping-bag {
        font-size: 22px;
    }

    but when I delete this the black bag icon remains but shrinks in size. I can't locate the content: "content:f290"; part anywhere..

  11. I'm currently having an issue with my client's nav bar. Years ago when I set up their website, I must have added some custom css to display a shopping bag instead of a shopping cart in the top right of the nav bar. Now that there are multiple shopping cart/bag icons available to choose from on Squarespace I want to use a different default one from Squarespace. However when I select this and delete all the custom CSS from the custom CSS field, the old black bag icon still remains, so there are two bag icons. I've searched the Custom CSS fields, custom files folder, code injection fields, and page header code injection fields and cannot find where this icon is coming from. 

    Any help would be great appreciated, thank you in advance.

     

    GADG nav.png

  12. 8 hours ago, tuanphan said:

    #1. Icon is an image. You can't change it to custom color with code. You will need to download image to your pc, change its color with PTS, AI...then upload it to your site, then get image url, then add to this line

    background-image: url(enter new image url here, see how to upload image & get image url: https://beaverhero.com/squarespace-how-to/#How_to_Upload_an_Image_Get_its_URL);

    #2. Add to Design > Custom CSS

    /* Login icon on mobile */
    @media screen and (max-width:767px) {
    .user-accounts-text-link {
        filter: invert(0);
        background-position: center;
    }
    }

     

    Hi @tuanphan thanks for getting back to me so quickly.

    I've inserted the new image following your helpful instructions, thanks 🙂

    I'm having some trouble with the code for adding the customer account login icon into the mobile navigation bar. It's placing the account login icon in the mobile menu and not in the navigation bar. Please see the images attached of where this currently is and where I want it to go (essentially where Squarespace 7.0 used to place the icons in the mobile nav).
    Please can you help?

     



     

     

    Screenshot 2022-03-14 at 11.25.20.png

    Screenshot 2022-03-14 at 11.27.28.png

  13. Site URL: https://www.giveadamngift.com/home

     

    Hi, another Squarespace user here frustrated at not being able to customise the customer nav bar icon in 7.1 like we could for 7.0!

    I found info in this previous post here about changing the 'login' text in the nav bar to an svg icon, and added the code below.

    I'm currently trying to change the colour of this from white to #4c7bb2 and make it so the customer icon also appears in mobile view.


    Can anyone please help?

     

    /* Login text to icon */
    .user-accounts-text-link span {
        color: transparent;
    }
    
    .user-accounts-text-link {
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgMGMtNi42MjcgMC0xMiA1LjM3My0xMiAxMnM1LjM3MyAxMiAxMiAxMiAxMi01LjM3MyAxMi0xMi01LjM3My0xMi0xMi0xMnptNy43NTMgMTguMzA1Yy0uMjYxLS41ODYtLjc4OS0uOTkxLTEuODcxLTEuMjQxLTIuMjkzLS41MjktNC40MjgtLjk5My0zLjM5My0yLjk0NSAzLjE0NS01Ljk0Mi44MzMtOS4xMTktMi40ODktOS4xMTktMy4zODggMC01LjY0NCAzLjI5OS0yLjQ4OSA5LjExOSAxLjA2NiAxLjk2NC0xLjE0OCAyLjQyNy0zLjM5MyAyLjk0NS0xLjA4NC4yNS0xLjYwOC42NTgtMS44NjcgMS4yNDYtMS40MDUtMS43MjMtMi4yNTEtMy45MTktMi4yNTEtNi4zMSAwLTUuNTE0IDQuNDg2LTEwIDEwLTEwczEwIDQuNDg2IDEwIDEwYzAgMi4zODktLjg0NSA0LjU4My0yLjI0NyA2LjMwNXoiLz48L3N2Zz4=);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        filter: invert(1);
    }

     

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