Jump to content

How to change buttons from rectangular to parallelogram?

Recommended Posts

  • Replies 5
  • Views 679
  • Created
  • Last Reply
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!)

Link to comment
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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.