carolineholm Posted November 27 Posted November 27 (edited) Site URL: https://carolineholm.com/ Hi! For some reason some buttons on my site look like they don't have enough space to fully show the whole button, I don't know if that's the button container or something else. It worked just fine for like a day then some started showing that issue without me changing anything else. Can someone suggest what the problem might be? Edited November 27 by carolineholm Spelling mistake
carolineholm Posted November 27 Author Posted November 27 My code for the specific press down effect is (and it worked fine yesterday, works on my phone also), although the landing page links aren't working on desktop and phone + some other linkes: // PRESSED DOWN HEADER BUTTON // .header-actions .btn { box-shadow: 5px 5px #260806 !important; transition: all ease-in .05s!important; } .header-actions .btn:hover { box-shadow: none!important; transform: translateY(4px) !important; transition: all ease-in .05s!important; } // PRESSED DOWN HEADER BUTTON // .header-menu .header-menu-cta a { box-shadow: 5px 5px #260806!important; transition: all ease-in .05s!important; } .header-menu .header-menu-cta:hover a { box-shadow: none!important; transform: translateY(4px) !important; transition: all ease-in .05s!important; }
Solution katycarlisle Posted November 28 Solution Posted November 28 Adding this to your custom CSS should solve the problem (the overflow is currently set to hidden which is why the drop-shadows are being cut off). [data-button-type="primary"], .header-actions-action--cta { overflow: visible !important; } Oh hey! I'm Katy Carlisle, a web designer and trainer who goes by the name SQSP Queen. My pronouns are she/her and I'm based on Vancouver Island in BC 🍁 I've been using Squarespace since 2013, and work mainly with non-profits or freelancers on projects that do good. I love answering questions about Squarespace and don't expect anything in return, but if you do want to say thanks, feel free to buy me a coffee ☕
carolineholm Posted November 28 Author Posted November 28 Oh thank you! It seems to have done the trick, I'm no code expert whatsoever so this was very helpful! 😀 katycarlisle 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment