Jump to content

Custom Button Font Size for Mobile

Recommended Posts

Hi there, 

So I'm having an issue with my buttons - we have text overflow when in mobile view.

We have 7.1 which has a lot of limitations when doing mobile optimization, but is there a custom css that I can use to make the button text smaller?

I've tried so many different things but I'm stuck.

I'd like it to look like the webpage in the second image attached.

Screenshot 2022-09-04 at 12.33.05.png

Screenshot 2022-09-04 at 12.36.40.png

Edited by tradecreatives
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

9 hours ago, tradecreatives said:

We have 7.1 which has a lot of limitations when doing mobile optimization, but is there a custom css that I can use to make the button text smaller?

Squarespace 7.1 makes it really easy to optimise your pages for mobile!

You can do this by clicking on the mobile preview icon in the top-left corner and then move and resize your blocks to suit the mobile layout. These changes will only affect the mobile layout; the changes to size and position will not affect the desktop layout.

Here's an example:

image.gif

Edited by paul2009

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment
10 minutes ago, tradecreatives said:

I have tried that but we still have the same overflow.

It is difficult to comment without browsing to the site and taking a look. Please provide a working link to the page on the site. For more guidance, please see How to Post a Forum Question.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.