Jump to content

Help with format for customized button: text spacing changes for mobile version. any suggestions?

Recommended Posts

Site URL: https://www.bodytemple.church/make-the-shift

https://www.bodytemple.church/make-the-shift

Hi all,

I am trying to create customized buttons for an upcoming program and have found that even when adding "whitespace: normal" (was suggested in another forum) the line spacing and text-wrap for these buttons come out all squished together. 

Does anyone have a suggestions for this? Any help is appreciated. 

thanks

Jen

here is the code:

<center><a href='https://poweroflove.as.me/?appointmentType=27794669'><button style="background-color:#DE4B00;border-radius: 18px ;
  height: 52px ;padding: 32px 55px;
  white-space: normal;
  display: inline-block;
  text-align: center;
  line-height: 9px;
  text-decoration: bold;
  color: white;
  font-size: 20px"><b>SCHEDULE A CONSULT CALL NOW</b></button></a></center>

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

57 minutes ago, bodytemplesupport said:

Site URL: https://www.bodytemple.church/make-the-shift

https://www.bodytemple.church/make-the-shift

Hi all,

I am trying to create customized buttons for an upcoming program and have found that even when adding "whitespace: normal" (was suggested in another forum) the line spacing and text-wrap for these buttons come out all squished together. 

Does anyone have a suggestions for this? Any help is appreciated. 

thanks

Jen

here is the code:

<center><a href='https://poweroflove.as.me/?appointmentType=27794669'><button style="background-color:#DE4B00;border-radius: 18px ;
  height: 52px ;padding: 32px 55px;
  white-space: normal;
  display: inline-block;
  text-align: center;
  line-height: 9px;
  text-decoration: bold;
  color: white;
  font-size: 20px"><b>SCHEDULE A CONSULT CALL NOW</b></button></a></center>

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1635295909242_7319 button {
    height: unset !important;
    padding: 20px 20px !important;
    font-size: unset !important;
    font-size: 15px !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing result

image.png.94abee8bf70678c1dd6dd6da24ecb065.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.