Jump to content

Centre Align Buttons in Mobile Only

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 9/5/2022 at 1:39 PM, mattjenkins said:

Hello @tuanphan

 

My site is now live www.matthewjenkins.com.au 

When you do have a moment, it would be awesome to somehow centre those buttons in mobile only

matt

 

Add to Design > Custom CSS

/* Work page center button */
@media screen and (max-width:767px) {
body#collection-62f722c809e0a7406bace98b .button-block div {
    align-items: center !important;
    text-align: center !important;
    flex-direction: column;
}
}

 

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

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.