Jump to content

How to change buttons from rectangular to parallelogram?

Recommended Posts

  • Replies 5
  • Views 798
  • Created
  • Last Reply
Posted
On 6/22/2021 at 7:16 PM, MacW said:

Site URL: https://spinach-orchid-899d.squarespace.com/

Hello,

I was wondering if it's possible to change button style from rectangular to parallelogram?

Can anyone share a code?

Thanks a lot in advance.

Mac

Hi. Yes. Possible with CSS transform: skew(enter deg);

What is access password? We can check easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
1 hour ago, MacW said:

Ah would be great. Password is: Future2021

Thank you in advance.

I'd be able to put together code thanks to tuanphan recommendation, put this into design-custom css

.sqs-block-button-element {
  transform: skew(-10deg);
}

image.png.c6a36c95cccdee9bbb7c551c320174c8.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted

Ah, that's wonderful thank you! Any chance only the rectangular has got the skew effect applied, not the font?

Archived

This topic is now archived and is closed to further replies.

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