1

To improvement design of my app on sharepoint SP2013, I need change (in my case reduce) the width of text box of new form, how do it!? some idea?

enter image description here

1 Answer 1

1

Please insert a Script editor on the page and put the below code in it :

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
    $("input[title = 'Title of your column']").css('width', '200px');
});
</script>

You can check the internal title of column by pressing F12 and then target the box.

I hope this helps !!!

1
  • @Eduardo Freitas Please don't forget to mark the answer as accepted , Thanks! Jun 23, 2019 at 7:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.