Jump to content

is there a code for rounded corners on promotional pop up?

Recommended Posts

hello! 

i was wondering if there is a code that i could inject to change the promotional popup to have rounded corners instead of the square corners?

and also, is there a way to stop this black box around the x button that immediately appears on the pop up, and it only goes away when i click on the screen? 

 

thank you!!

image.png

Link to comment

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
2 hours ago, rachelle-freddie said:

do you know how to remove this black box thingy around the x button

This is a "focus outline". The contrasting black outline is added to the area of the page that has focus. Removing focus outlines can create issues for people navigating the web with a keyboard, and isn't recommended. In some territories, there are legal stipulations for accessibility so removing accessibility features may cause legal issues for the website owner.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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)

Buy me a coffee

Link to comment
  • 1 month later...
On 7/29/2022 at 8:21 PM, creedon said:

Add the following to Design > Custom CSS.

.sqs-popup-overlay .sqs-slide-layer-content {

  border-radius : 25px;
  
  }

.sqs-popup-overlay .sqs-popup-overlay-close {

  border-top-right-radius : 25px;
  
  }

This is for v7.1.

Let us know how it goes.

I have done this also and works great, but have an image on my popup that does not curve. would you have any idea what the css to curve the image on the pop-up would be too?

Link to comment
5 hours ago, oweyskowey said:

but have an image on my popup that does not curve. would you have any idea what the css to curve the image on the pop-up would be too?

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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.