Jump to content

Newsletter block form field width in mobile view

Recommended Posts

3 hours ago, Henil said:

I'm trying to fix email field width 100% same as button but I can't  find solution can you please help me to fix it.
image.png.2113d44b1c3a6b35c67e734c49dbcdd4.png

Can you share your site with the protected password so we can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
1 hour ago, Henil said:

Site Link: https://amphibian-hexagon-l9l6.squarespace.com/
The passworkd is: Adrgvk12@9&

Try in Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .newsletter-block .newsletter-form-fields-wrapper, .newsletter-block .newsletter-form-field-wrapper {
    width: 100%;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
15 minutes ago, bangank36 said:

Try in Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .newsletter-block .newsletter-form-fields-wrapper, .newsletter-block .newsletter-form-field-wrapper {
    width: 100%;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

It's working perfectly, Thanks!

One other things similar to this is I want to set text background within the width of the text. It's for the message of submission of newsletter. Can you help me for the same?
image.thumb.png.99aef7b49cbbf9ad59af03bb7285021d.png

Link to comment
2 hours ago, Henil said:

It's working perfectly, Thanks!

One other things similar to this is I want to set text background within the width of the text. It's for the message of submission of newsletter. Can you help me for the same?
image.thumb.png.99aef7b49cbbf9ad59af03bb7285021d.png

To set background of submission, kindly try

.form-submission-text {
  background: red;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
1 minute ago, bangank36 said:

To set background of submission, kindly try

.form-submission-text {
  background: red;
}

 

Hey, I've already set it to purple if you can see. I'm trying to adjust it within the test but it's work in full width 
 

Link to comment
2 hours ago, Henil said:

Hey, I've already set it to purple if you can see. I'm trying to adjust it within the test but it's work in full width 
 

Do you mean set color for text?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
16 hours ago, bangank36 said:

Do you mean set color for text?

No. I've Purple background color to the text. Now if you can see there is an extra space let-right of the text. now what I want is Remove that space and keep background color as width of the text. i.e See below image.
image.png.fb1012f60f553326f372b27e5345005c.png

Link to comment
On 1/1/2022 at 12:52 PM, Henil said:

No. I've Purple background color to the text. Now if you can see there is an extra space let-right of the text. now what I want is Remove that space and keep background color as width of the text. i.e See below image.
image.png.fb1012f60f553326f372b27e5345005c.png

Add this CSS

.form-submission-text {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: inline-block;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.