How to Create Equal Width Buttons in Squarespace // Same Size Buttons on Mobile Squarespace CSS

Just getting started with Squarespace CSS? Awesome! 😍 I want to teach you the basics – grab my free Getting Started Guide here πŸ‘‰ https://insidethesquare.co/learn
β€”
πŸ₯³ Ready to launch ? Use the code PARTNER10 for 10% off (affiliate code): https://insidethesquare.co/partner10
β€”
πŸ’• Love this free Squarespace tutorial? You can donate via Paypal to help support my YouTube Channel here πŸ‘‰ https://www.paypal.com/paypalme/insidethesquare
β€”
This tutorial features my 7.1 demo site, but the codes will work in any theme in version 7
β€”

In this tutorial I am going to show you how to use some custom CSS to create equal width buttons in your Squarespace site.

A few important things to note before you copy and paste the code below into your own site:

✨ There is more than one way to do this! This is just one approach of many because code is super customizable.

πŸ”— Here is a link to the tutorial on how to install this code on a single page in your Squarespace site: https://www.youtube.com/watch?v=kX6kRjCbzu8

πŸ™‹ Need some help? Visit ​https://insidethesquare.co/code-help​ to see my current support options.

This code will make all your buttons 200px in width. You can adjust the pixel width to be a percentage (80%) or a vw (10vw) or any other value you want to use!

.sqs-block-button-element {width: 200px}

Ready to apply this to just the mobile version of your site? Add the media query to make sure it only applies to screens smaller than 640px in width. Pro tip: I like to use the value 80% for this code.

@media only screen and (max-width:640px) { .sqs-block-button-element {width: 80%}}

β€”
🀩 Ready for more codes? The codes in this tutorial are just the beginning of all the cool things you can do with Custom CSS! When you’re ready to dive in and start customizing, you can use codes from my CSS Cheat Sheet. It has over 30 pages of code snippets and pro tips to help you get started. Download your copy πŸ‘‰ https://InsideTheSquare.co/css
β€”
πŸ₯³ Ready to launch ? Use the code PARTNER10 for 10% off (affiliate code): https://insidethesquare.co/partner10 ❀️
β€”
πŸ™‹ Need some help? Visit ​https://insidethesquare.co/code-help​ to see my current support options.
β€”
The term β€œSquarespace” is a trademark of Squarespace, Inc. This content is not affiliated with Squarespace, Inc. I just really love their platform β™₯
β€”
#squarespace #squarespacecss #howto #customizesquarespace #css #squarespacetricks #squarespacehacks #squarespacetips

You May Also Like