Jump to content

Change Contact form in 7.1?

Recommended Posts

  • 11 months later...

Hi,

I have changed my contact form (image attached) using the code below. 

The visitor text inside the boxes are of different sizes. I am only able to modify the size of the text in the 'Email', 'Subject' and 'Message' box but not the text in the 'First Name' and 'Second Name' box. On the contrary, I was able to change the color to red for all text inside all boxes.

why is that happening? anyone can help? 

.form-wrapper .field-list .field .field-element{
  border:none;
  border-bottom: 2px solid;
  border-color: #fff;
  background: #000000;  
}
.form-wrapper .field-list .field .field-element
{
font-size: 20px;
color: #FF0000;
}

Screenshot 2021-03-13 at 12.49.15.png

Link to comment
  • 2 weeks later...
On 3/13/2021 at 7:58 PM, vcampaner said:

Hi,

I have changed my contact form (image attached) using the code below. 

The visitor text inside the boxes are of different sizes. I am only able to modify the size of the text in the 'Email', 'Subject' and 'Message' box but not the text in the 'First Name' and 'Second Name' box. On the contrary, I was able to change the color to red for all text inside all boxes.

why is that happening? anyone can help? 

.form-wrapper .field-list .field .field-element{
  border:none;
  border-bottom: 2px solid;
  border-color: #fff;
  background: #000000;  
}
.form-wrapper .field-list .field .field-element
{
font-size: 20px;
color: #FF0000;
}

Screenshot 2021-03-13 at 12.49.15.png

Hi. Can you share link to page where you added contact form? We can check easier

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

Link to comment
  • 3 weeks later...
On 4/20/2021 at 8:01 PM, vcampaner said:

not really when I type my name and last name is always smaller then when I type email and subject and message. I made them all same size, but I would like all of them bigger 

 

Add to Design > Custom CSS

/* form input size */
.form-wrapper .field-list .field .caption .field-element {
    font-size: 20px;
}

 

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

Link to comment
  • 2 years later...

Hi everyone, 

These code does not work anymore:( 

They seem correct and logic, but they don"t work unfortunately. I found a different code, but I dont understand why are those random numbers and letters in it, they are a bit strange. Any thoughts on this?

.form-wrapper .field-list .field .field-element, .form-wrapper .field-list .field .field-element:focus, .form-wrapper .field-list textarea, .eTv7qUMqLR9lJxpIAC3F, .EPP7gUN4hvOdLcPLvYT2 {
  color: #666 !important;
  background: #fff !important;
  padding: 20px 0px !important;
  border-bottom: 1px solid #000 !important;
  border-top: none !important;
  border-right: none !important;
  border-left: none !important;
}

Link to comment
Quote

.eTv7qUMqLR9lJxpIAC3F, .EPP7gUN4hvOdLcPLvYT2

These look like dynamically generated class names and are not stable. They change at a whim and you shouldn't use them. Unless you don't mind doing a lot of break/fix cycles.

I don't have a solution to this 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.