Jump to content

Promotional Pop-up Button Width

Recommended Posts

  • Replies 5
  • Views 947
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
On 10/7/2021 at 1:12 AM, TZ253 said:

How can I change the width of my Promotional Pop-up Button with CSS?

Add to Design > Custom CSS

.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] [data-slice-type="buttons"] {
    width: 50%;
    margin: 0 auto;
}

 

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!)

  • 1 year later...
Posted

I would also like to change the width of my Promotional Pop-Up button, but this code doesn't work on my site. 

Not sure how to adjust the code.

Also would like the button type to be all on one line : )

megamedia.co

Screen Shot 2023-01-10 at 11.18.28 AM.png

Screen Shot 2023-01-11 at 3.56.31 PM.png

Posted
On 1/12/2023 at 3:56 AM, didanyc said:

I would also like to change the width of my Promotional Pop-Up button, but this code doesn't work on my site. 

Not sure how to adjust the code.

Also would like the button type to be all on one line : )

megamedia.co

Screen Shot 2023-01-10 at 11.18.28 AM.png

Screen Shot 2023-01-11 at 3.56.31 PM.png

Add to Design > Custom CSS

.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] [data-slice-type="buttons"] {
    white-space: nowrap;
}

 

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!)

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.