Increase the width of text input (for simple text field).
- Дмитрий Фоломеев
- Posts: 13
- Joined: Tue Nov 25, 2014
Help me. I can not find on the forum how to change (increase) the width of the text input for simple text field. That is, leave the width of the title constantly and increase only the text input.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
- Дмитрий Фоломеев
- Posts: 13
- Joined: Tue Nov 25, 2014
Maybe, I did not correctly apply solutions to the forum?
In the CSS editor I describes a class:
.your-custom-class {
width: 700px;
}
Next in the Css Class in field Layout: your-custom-class ,
save and reopen the form..
The input size of the field does not change.
How to change the size of the input field? On the form in this tab there are other text fields, the size of the field is the same as the size of other text fields.
In the CSS editor I describes a class:
.your-custom-class {
width: 700px;
}
Next in the Css Class in field Layout: your-custom-class ,
save and reopen the form..
The input size of the field does not change.
How to change the size of the input field? On the form in this tab there are other text fields, the size of the field is the same as the size of other text fields.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Dmitry,
Please, try to define your CSS following way:
Please, try to define your CSS following way:
Code: Select all
.your-custom-class .ms-long {
width: 700px;
}
- Дмитрий Фоломеев
- Posts: 13
- Joined: Tue Nov 25, 2014
it does not work, I'll try to give a screenshot..
- Дмитрий Фоломеев
- Posts: 13
- Joined: Tue Nov 25, 2014
Please see the settings in the screenshot.
https://onedrive.live.com/redir?resid=1 ... hoto%2cjpg
With these settings does not work (SharePoint 2010, field on tab).
https://onedrive.live.com/redir?resid=1 ... hoto%2cjpg
With these settings does not work (SharePoint 2010, field on tab).
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
So, please, try to add the !important directive:
Code: Select all
.your-custom-class .ms-long {
width: 700px !important;
}
- Дмитрий Фоломеев
- Posts: 13
- Joined: Tue Nov 25, 2014
Please tell a similar solution for the fields, containing numbers (numeric field).
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Please, try this:
Code: Select all
.your-custom-class .ms-input {
width: 300px;
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests