Jump to content

Change form field shape to rounded / pill on promotional pop-up?

Go to solution Solved by Spark-Plugin,

Recommended Posts

  • Replies 5
  • Views 391
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Hi @yogacid, try this code and let me know how it goes. Also, play with the PX values:

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

  border-radius : 25px;
  
  }

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

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

.sqs-slide-wrapper[ data-slide-type = "popup-overlay"] button 

{ border-radius: 10px;
  
}

 

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

Posted
16 hours ago, Spark-Plugin said:

Hi @yogacid, try this code and let me know how it goes. Also, play with the PX values:

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

  border-radius : 25px;
  
  }

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

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

.sqs-slide-wrapper[ data-slide-type = "popup-overlay"] button 

{ border-radius: 10px;
  
}

 

Hi, thanks, this worked, except for the email form! Can we round the email field into a pill too?

  • Solution
Posted

Hi @yogacid, sure we can, there you go:

.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions:not(.stacked) .form-item input[type="text"] {
    border-radius: 10px !important;
}

Let me know if it works for you:)

Screenshot 2024-10-17 at 09.12.07.png

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

Posted
8 hours ago, Spark-Plugin said:

Hi @yogacid, sure we can, there you go:

.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions:not(.stacked) .form-item input[type="text"] {
    border-radius: 10px !important;
}

Let me know if it works for you:)

Screenshot 2024-10-17 at 09.12.07.png

That works, thanks! However, the email field is still square on mobile. Is that changeable too?

Posted (edited)

@yogacid, Yes it is, here is the full updated code:

   .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions.stacked .input-wrapper:not(.hidden) .form-item, .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions:not(.stacked) .input-wrapper:not(.hidden) .form-item, .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions.stacked .input-wrapper:not(.hidden) button, .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions:not(.stacked) .input-wrapper:not(.hidden) button, .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions.stacked .input-wrapper:not(.hidden) input[type="text"], .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].newsletter-layout-style-inline .actions:not(.stacked) .input-wrapper:not(.hidden) input[type="text"] {
        width: 100%;
        border-radius: 10px !important;
    }

 

Edited by Spark-Plugin

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

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.