Jump to content

Problem with custom code

Recommended Posts

Site URL: http://brightbarboston.com

Hey! I purchased a code from insdie the square and when I add it to squarespace it looks very messed up. Any help to make the following code look more like the picture I attached?

.sqs-block-button-element{position: absolute; left: 50%; top: 50%;  transform: translateX(-50%) translateY(-50%); background:  #fff!important; width: 100px;padding: 20px 30px; border-radius:  0px!important; border: 5px solid #4ac0ee!important; color:  #4ac0ee!important; font-weight: bold; text-transform: uppercase;  text-align:center; z-index: 2; @include transition(all .15s .15s  ease-out); &:after, &:before { position: absolute; width: 100%; max-width: 100%; top: 100%; left: 0; bottom: -10px; content: '';  z-index: 1; @include transition(all .15s .15s ease-out);} &:before {background: #4ac0ee; top: 10px; left: -15px; height: 100%; width: 15px;} &:after { width:100%; background: #4ac0ee; right: 0px; left: -15px; height: 15px; } &:hover {background: #4ac0ee; color: #fff; margin-left: -7.5px; margin-bottom: -7.5px; &:after,&:before {top: 100%; left: 0; bottom: 0px;} &:before {top: 0px; left: 0px; width: 0px;}&:after {right: 0px; left: 0px;height: 0px;}}}

Screen Shot 2021-08-02 at 07.10.35.png

Link to comment
38 minutes ago, brightbarboston said:

I purchased a code from inside the square and when I add it to squarespace it looks very messed up.

As a first step, I recommend you contact the author @inside_the_square.


About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

Thanks for tagging me @paul2009 🙂 @brightbarboston there are some troubleshooting tips in the PDF (page 58 I think?) about copy and pasting out that PDF but you can always email me too! Send a link to support@insidethesquare.co so we can see what is going on. You might be targeting a different button type or have an extra formatting character in there. Please email me so I can help! ❤️

Code queen and CSS behind InsideTheSquare.co

😃 Free CSS tutorials: insidethesquare.co/tutorials-for-squarespace
🥳 Free 7.1 training course: itssevenone.com/training
👍 CSS Cheat Sheet - codes for 7 & 7.1: insidethesquare.co/css
📚 CSS for Squarespace course: customcodeacademy.com

Link to comment
  • 4 weeks later...
On 9/1/2021 at 3:32 PM, brightbarboston said:

Havent heard back-anyone have any other thoughts on how to fix this button? It's driving me crazy!

Can you share link to page where you use button? We can take a look

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.