Jump to content

Navigation CTA button parameters

Recommended Posts

On 10/12/2022 at 7:31 PM, HollyCurry said:

Site URL: https://www.thepositivepracticalparent.com/

Hi,

When I view my site on a laptop the CTA navigation button 'BOOK A FREE DISCOVERY CALL' is falling off the edge of the screen but I can't see where to set the parameters for this to make the text wrap on screen size or similar. 

Any advice?

Thanks,

Holly

The navigator text size is so big and it make your width content larger the view width.

Try the following code to make the text wrap in  case it is too big. In addition to that, use the media query to set the appropriate text size so it meets your requirement

.header-actions .header-actions-action--cta {
  white-space: normal;
}

@media only screen and (max-width: 767px) {
  /*Mobile display*/
  .header-actions .header-actions-action--cta  .sqs-button-element--primary {
    font-size: 10px !important;
  }
  
  /*...*/
}

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, Lightbox Studio plugin
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.