Jump to content

hav_ery

Circle Member
  • Posts

    18
  • Joined

  • Last visited

Posts posted by hav_ery

  1. Thank you A LOT @tuanphan

    That worked perfectly! You're amazing 😄

    I'll just add the two codes back to back to mark this as the solution :

    
    // PORTFOLIO IMG NAV //
    
    body:not(.header--menu-open) .header .header-nav-wrapper .header-nav-item> a[href*="/portfolio"] {
      background-image: url(https://images.squarespace-cdn.com/content/61c1cab0cf9b832f2ffc6ae7/0ec7276c-0e6e-409d-945d-b90e5271be5b/PORTFOLIO+homebar.png?content-type=image%2Fpng); // change to your image link here
      background-position: center center;
      background-size: contain;
      background-repeat: no-repeat;
      color: transparent;
      height: 40px!important
    }
    nav.header-nav-list {
        align-items: center;
    }
    
    // PORTFOLIO IMG MOBILE //
    
    
    div.container.header-menu-nav-item [href="/portfolio"] {
        background-image: url(https://images.squarespace-cdn.com/content/61c1cab0cf9b832f2ffc6ae7/0ec7276c-0e6e-409d-945d-b90e5271be5b/PORTFOLIO+homebar.png?content-type=image%2Fpng);
      background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        color: transparent !important;
        height: 40px!important;
    }

     

  2. Hello @tuanphan

    First of all, thank you for taking your time to fix this issue !

    Here's the code I used (i didn't want the bar to be that big) 

    // PORTFOLIO IMG NAV //
    
    body:not(.header--menu-open) .header .header-nav-wrapper .header-nav-item> a[href*="/portfolio"] {
      background-image: url(https://images.squarespace-cdn.com/content/61c1cab0cf9b832f2ffc6ae7/0ec7276c-0e6e-409d-945d-b90e5271be5b/PORTFOLIO+homebar.png?content-type=image%2Fpng); // change to your image link here
      background-position: center center;
      background-size: contain;
      background-repeat: no-repeat;
      color: transparent;
      height: 40px!important
    }
    nav.header-nav-list {
        align-items: center;
    }

    Just another detail (i hope), to add the "sticker" to my mobile hamburger view what should i do?

    PS: if this is taking too much time, i would be more than happy to send you a PayPal !
    Thank you (again) 🙂

  3. Hello everyone and fellow Squarespace Circle members, 

    I'm currently trying to put an image instead of a text in my navigation bar.
    My goal would be to change the Portfolio Text by an image similar to the "sticker" you can see in my homepage.
    I just can't handle the CSS…

    /!\.  I'm using the // Floating Header - Ghost // from Ghostplugins.com.  /!\

    Capturedecran2024-06-04a13_33_28.thumb.png.ab509d3e4f2df42e4ef0afb8e0185100.png

    My website :
    havery.studio

    Thank you so much !


    BONUS POINT : If you have any idea on how to put a custom language icon and hiding the text *that's not even aligned*, I'd be more than happy. Thank you AGAIN

  4. Hello everyone, 

    I'm desperately trying to make my homepage's gallery grid react to hover with grayscale 
    https://havery.studio/ It's a simple Gallery Block 

    Capturedecran2023-07-31a16_57_51.thumb.png.c7d248ac98cdc7e1b9c6ec1d3bab21c1.png

     

    I'm trying to replicate what i did it for my portfolio page : https://havery.studio/portfolio

     

    Capturedecran2023-07-31a16_58_36.thumb.png.c06ec2e42805746daa811fc0fc356755.png

    I used this code for the Portfolio Hover Gray.

    I don't have a clue how to do it for my homepage, thank you ! 🙂

    //IMAGE HOVER//
    
    .grid-item .grid-image{filter:grayscale(1)}
    
    .grid-item:hover .grid-image{filter:grayscale(0)}
×
×
  • 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.