Jump to content

Buttons look weird

Go to solution Solved by katycarlisle,

Recommended Posts

Posted (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?

Skärmavbild 2024-11-27 kl. 22.40.39.png

Edited by carolineholm
Spelling mistake
  • carolineholm changed the title to Buttons look weird
  • Replies 3
  • Views 77
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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
Posted

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 

Create an account or sign in to comment

You need to be a member in order to leave a comment

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