Jump to content

Gigi-C

Circle Member
  • Posts

    47
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Gigi-C got a reaction from Beyondspace in Mobile menu code issue   
    Hello! 
    website: coucoustudio.squarespace.com 
    PW: CCS24
    I used a code to change my logo on scroll with a transparent background to a solid background with a black logo. However when you open the hamburger menu on mobile and scroll it reverts back to the white/light logo (see video) 
     
    Could someone help me understand how to make sure it stays the black logo when the hamburger menu is open? 
     
    Thanks!
    Screen Recording 2024-05-16 at 18.32.05.mov
  2. Like
    Gigi-C reacted to tuanphan in Parallax Scroll BG   
    background-attachment: fixed; won't work on iOS, you can consider disable effect on mobile.
    Detail: https://forums.developer.apple.com/forums/thread/99883
  3. Like
    Gigi-C got a reaction from tuanphan in How to make vertical tab slider responsive for mobile   
    Thank you so much!! This worked a treat!!
  4. Like
    Gigi-C reacted to tuanphan in How to make vertical tab slider responsive for mobile   
    With Codepen, you can add to Code Block, but need to tweak a bit, use this code
    <ul class="main-box"> <li class="box active"><span>Slide One</span> <div class="detail active"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> <p> The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. </p> </div> </li> <li class="box"><span>Slide Two</span> <div class="detail"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> <p> The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. </p> </div> </li> <li class="box"><span>Slide Three</span> <div class="detail"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> <p> The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. </p> </div> </li> <li class="box"><span>Slide Four</span> <div class="detail"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> <p> The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. </p> </div> </li> <li class="box"><span>Slide Five</span> <div class="detail"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> <p> The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. </p> </div> </li> </ul> <style> .main-box { display: flex; background: #000; margin: 70px auto 70px auto; padding:0; width: 991px; } .box { height: 322px; padding:15px; border-right: 1px solid white; webkit-transition: 0.8s; -o-transition: 0.8s; transition: 0.8s; position: relative; overflow: hidden; list-style: none; } .detail { width: 85%; height: 100%; position: absolute; right: 0; top:0; background: white; color:black; opacity: 0; padding:30px; box-sizing:border-box; webkit-transition: 0.8s; -o-transition: 0.8s; transition: 0.8s; -webkit-transform: translateY(100%); transform: translateY(100%); } .box.active { width: 70% !important; } .box.active .detail { opacity: 1; -webkit-transition-delay: 0.6s; -moz-transition-delay: 0.6s; -o-transition-delay: 0.6s; transition-delay: 0.6s; transform: none; } .box span { writing-mode: vertical-rl; font-size: 20px; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; text-transform: uppercase; letter-spacing: 4px; width: 40px; transform: rotate(180deg); font-weight: 400; cursor: pointer; position: absolute; left: 0; right: 0; margin: 0 auto; } .box.active span { left:25px; right:auto; margin:0; font-weight:600 } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> var getslide = $('.main-box li').length - 1; var slidecal = 30/getslide+'%'; $('.box').css({"width": slidecal}); $('.box').click(function(){ $('.box').removeClass('active'); $(this).addClass('active'); }); </script> With this code in screenshot, you need to add it to Custom CSS box

  5. Like
    Gigi-C reacted to Ziggy in Fix linear gradient between sections   
    Nope, that never comes through with the question.
  6. Like
    Gigi-C got a reaction from Ziggy in Fix linear gradient between sections   
    sure! 
     
    https://www.youbynatseleen.com/education
    I always add it when it asks me to before I post a discussion.. I thought it shows up! 
     
    Thanks @Ziggy 🙂
  7. Like
    Gigi-C got a reaction from paul2009 in Accordion links have different spacing   
    Thanks so much! 
  8. Love
    Gigi-C reacted to paul2009 in Accordion links have different spacing   
    It looks like you've added some custom CSS that is adding this margin to the left of the two links:
    .accordion-item__description * {         font-size: 14px !important;         margin-left: 40px;         width: 100%     } If you remove this, it should solve the problem.
    Did this help? Please give feedback by clicking an icon below  ⬇️
  9. Like
    Gigi-C reacted to Ziggy in Blend background image of a section with the rest of the page sections   
    No problem, can you mark my post as the solution and give it a like? Thanks!
  10. Like
    Gigi-C reacted to Ziggy in Blend background image of a section with the rest of the page sections   
    You can use code like this, but you'll need to change the section ID:
    section[data-section-id="64ca3dddb54e1314dda1dc5f"] .content-wrapper { width:100%!important; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%, rgba(20, 20, 20, 1) 90%, rgba(20, 20, 20, 1) 100%); z-index: 1; max-width: inherit; }  
  11. Like
    Gigi-C reacted to Ziggy in Fixed header opacity change on scroll   
    rgba(28,28,27,1.000) is a solid colour.
    The last number is 1.0 which means 100% opacity. In the code I gave you it was using 0.66 (66%), try changing that number to this:
    rgba(28, 28, 27, 0.66)
  12. Like
    Gigi-C got a reaction from Ziggy in Blend background image of a section with the rest of the page sections   
    Incredible!! This worked perfectly! 
     
    Thanks so much! 
  13. Love
    Gigi-C reacted to tuanphan in Image to header on scroll   
    Add to Design > Custom CSS
    header#header:not(.shrink) img { position: relative; top: 100px; }  
  14. Like
    Gigi-C reacted to Ziggy in Header shrink on scroll   
    This effect would need coding quite differently, it's not something I have seen before, the logo is in two pieces, I don't have anything I can offer that would give you that look.
  15. Like
    Gigi-C reacted to Ziggy in Header shrink on scroll   
    You can try this free plugin:
    https://www.ghostplugins.com/steps/shrinking-logo-on-scroll
×
×
  • 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.