Jump to content

Navigation CTA button parameters

Recommended Posts

Posted
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.