-
AuthorPosts
-
May 26, 2014 at 10:37 am #48523
Hi there ! I am using the integrity stack and find the contact and comment input fields too big. How can I customize the size of the input fields and make them smaller ?
Thanks a lot !May 26, 2014 at 9:21 pm #48674Hey Santiago,
For the height, please add the CSS code below in the Customizer > Custom > CSS.
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input { height: 2.3em; }
Adjust the 2.3 as per your needs.
For the width, it is set to span 100% the width of its container so you just need to edit your container width or column to reduce the width.
Hope that helps. 🙂
May 27, 2014 at 2:53 am #48747Hi, thanks a lot for the help. It did work in the contact form but not in the posts comment’s form. That one is still big. I cannot change the width of the comment’s form because that’s in the post’s layout and not designed by me like any other page where I am able to play with the columns and different sizes. How could I change the comment’s input size and width ?
Thanks !May 27, 2014 at 4:31 pm #48987Hi there,
Can you give us a link to a page on your site? This way we can double check it for you.
May 27, 2014 at 11:29 pm #49070This reply has been marked as private.May 28, 2014 at 9:54 am #49281Hi there,
Please replace this:
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input { height: 2.3em; }
with this:
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input { height: 2.3em; font-size:13px; line-height: 2em; }
May 28, 2014 at 12:05 pm #49331This reply has been marked as private.May 28, 2014 at 2:18 pm #49392Hi there,
For both the issues, please add the following CSS:
.comment-form-comment textarea{ height:100px; } @media (max-width: 979px){ select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{ width:100%; } }
Let me know if you face any issues.
Thanks!
May 28, 2014 at 9:18 pm #49565Great ! I had to change some things around but made it work. Your code gave me more clues. Thanks a lot for all your help and sorry again for being a pain ! 😉
May 29, 2014 at 6:44 am #49773You’re welcome Santiago.
-
AuthorPosts