Jump to content

moonlitdesign

Circle Member
  • Posts

    154
  • Joined

  • Last visited

Posts posted by moonlitdesign

  1. On 3/8/2024 at 11:36 AM, tuanphan said:

    I created this quick demo, you can see to see if it is what you want

    https://tuanphan3.squarespace.com/hover-client-name-show-logo-1?noredirect

    pass: abc

    (I wrote this guide, if you see it is fine, I will send guide)

    Hey @tuanphan thank you so much for this, is there a way to make the text not disappear? something a bit more like this: https://codepen.io/RMKNGY/pen/rrpzgW

    but the images appear ease in rather than straight away

  2. 23 hours ago, cro0w said:

    79$ for a bit of code! Yikes!

    Try this:

     

    /* Shrinking Logo On Scroll - 7.1 */
    .header.shrink img {
        max-width: 120px; /* Adjust the max width as needed */
        transition: all 0.2s ease-in-out;
    }
    
    .header img {
        transition: all 0.2s ease-in-out;
    }
    
    /* Second logo styling */
    .second-logo {
        display: none; /* Initially hide the second logo */
        max-width: 120px; /* Adjust the max width as needed */
        transition: all 0.2s ease-in-out;
    }
    
    /* Show second logo on scroll and align left */
    body:not(.homepage) .second-logo {
        display: block;
        float: left; /* Align left */
    }
    
    /* Trigger effect at the start of the second page section */
    body:not(.homepage) .header.shrink .second-logo {
        opacity: 1; /* Adjust opacity or other styles as needed */
    }

    PRO Tip: Use ChatGTP to 1 work out the quirks.

    Hope it helps. Stay creative!

    thank you, yeah i know gutted, but hopefully can utilise on as many client projects as possible hahah. thank you for the code, i'm still not quite getting the effect i want even with trying to modify it. it's annoying because i've seen it done on other sites: www.lowtide.co for example. but her logo stays the same, where as i want to change mine. will keep trying to work on it!

  3. hi there, i've achieved a vertically stacked menu but i'm struggling to achieve the desired 'drop down' secondary menu look. 

    attached is what it currently looks like, and the desired look.

     

    - remove current moon icon only on the drop down folder menu links and replace with the small icon circle style: https://www.thestyledsquare.com/navigation-circle-hover-effect-plugin

    - remove small icon circle from the main menu menu links

    - currently the box won't stay active if you move the cursor away from 'offerings'

    - offerings link hover stroke effect to extend to the box

    www.moonlitdesign.uk/home-old

     

    CURRENT CODE:

     

    //navigation moon icon//

    /*BASIC STYLES FOR ALL LINKS*/
    .header-nav-item a::before,
    .header-menu-nav-item a::before {
      content: '';
      background-size: contain !important;
      background-repeat: no-repeat !important;
      flex-direction: column;

    }

    .header-nav-item:nth-child(1) a::before,
    .header-menu-nav-item:nth-child(1) a::before {
      background: url('https://static1.squarespace.com/static/61aa04c639b60c4711dd2d19/t/65e0b869f4fe0936cab39abb/1709226089614/Asset+23.png');
        height:25px;
      width: 10px;
    }


    //////

    // CIRCLE NAVIGATION HOVER EFFECT

    .header-nav-item {
    a {
    color: #2b2b0d !important;
    &:before {
    content: '○ ';
    font-size: 1.1em;
    }
    &:hover:before {
    content: '● ';
    }
     
    }
    }

    ///////

    //drop down menu styling//

    /* Folder dropdown style */
    .header-nav-folder-content {
        background: #E8E8DD !important;
        border-radius: 15px;
      border: 1px solid #1d1d1d;
    }


    .header-nav-folder-content {
        left: 100px !important;
      margin-top:-30px;
    }

    //dropdown menu hover and active //

    .header-nav-folder-item--active .header-nav-folder-item-content {
      background: none !important;
      text-decoration:line-through;
    }

    ///////


    //menu hover effect//

    .header-nav-item--active a:hover {
    text-decoration:line-through;
      
    }


    .header-nav-item--active {text-decoration:line-through;

    //active state//

    div.header-nav-item--active a {
        background-image: none !important;
    }

    ///////
     

     

     

    image.png.c1a32f4b04ec01bc430ee6e2d159dad3.png

    image.thumb.png.0628bb0886f153e1866e4602227b5656.png

  4. 14 minutes ago, melody495 said:

    Try this in your Custom CSS. 

    .Marquee-svg {
        transform: none;
    }

    Let me know how it goes. Might need to add !important.

    When you say remove padding, assuming something like this? Rather than having the top of the text touching the border?

    image.thumb.png.8047b9d9632e4d59b1ee06a33d05dfd2.png

    hey lovely thank you for replying and taking the time to do that, it nudged it up slightly but didn't make it completely flushed, is there anything else i can try? xx

  5. hi there, i'm looking to shrink and replace the main logo with a different logo on scroll.

    the second logo needs to be left aligned.

    I would like this to kick into effect at the start of the second page section. 

    I would also only like the second smaller logo to appear in the left corner on all content pages.

     

    here is an example: https://lowtide.co/

    another example: https://www.thestyledsquare.com/header-scroll-feature-plugin?fbclid=IwAR1U437b3xWcCzGTCe6jKmJUcgmxpua1SU6tLDr26BUzmygfooxQK1NbZbs

     

    my site url: www.moonlitdesign.uk/home-old

    attached is my design:

    Screenshot 2024-02-26 at 18.00.59.png

  6. I've designed this landing page for my website, and now i'm stuck on what process to take.
     
    I want the logo to be initially fixed and then the image to overlap on scroll. The logo needs to then shrink down to a monogram style version once we come to the second section of the site (the section below the landing page). The navigation menu links need to be sticky and where they are the whole time.
     
    Do I, a) have the logo set as a header title/logo
    or b) hide the header logo, just have the nav links to deal with and then have the logo as an image on the landing page? (shown here).
     
    if i do option b, this is what i need to do/need help with:
     
    Initial Setup:
    - Hide the header logo initially.
    - Implement the navigation menu links as sticky.
    - Make the menu navigation links vertically stacked, and left aligned to the full width of the page.
    - Add the circle icon above the nav links.
     
    Landing Page:
    - Display the logo as an svg image on the landing page.
    - Ensure it's initially fixed in position.
     
    Scroll Effects:
    - Use CSS or JavaScript to create the overlap effect of the image on scroll.
    - Make the necessary adjustments to ensure the logo behaves as desired during scrolling.
     
    Second Section:
    - Detect when the user scrolls to the second section.
    - Trigger the logo to shrink down to the monogram style version using CSS or JavaScript.
     
     
     

    Screenshot 2024-02-26 at 18.00.59.png

  7. Site URL: http://www.moonlitdesign.uk

    I am so disheartened and not sure what i've done wrong. 

    How do I create a fully responsive design where images and text do not move around when you resize the browser?
    i've set the media queries for mobile, tablet and laptop perfectly.

    There isn't one set for desktop, as I did all that coding first, then did the media queries for the other devices after. 

    is this my issue? I'm just trying to find out what is best practices to make it work. 

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