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 the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

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.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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 the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.