Monday, 5 March 2018

SharePoint 2013 Lookup Column Width increase and change the backgorund color,apply color to save and cancel of list forms

SharePoint 2013 Lookup Column Width increase

Try this code in content editor webpart;-

<style>
.ms-formtable table.ms-long {
    width:600px !important;
}
 
.ms-formtable table.ms-long .ms-input>select {
    width:300px !important;
}
</style>

Change the backgorund color,apply color to save and cancel buttonof sharepoint list forms

.ms-formbody {background-color:#f1f1f1 !important} input[value=Save],input[value=OK]
{
background-color:#00417C;
font-size:14px;
color:white;
width:110px;
}
input[value=Save]:hover,input[value=OK]:hover
{
background-color: #00417C !important
}
input[value=Cancel]
{
background-color:#599bb3;
font-size:14px;
color:white;width:110px;
}
input[value=Cancel]:hover
{
background-color: #599bb3 !important
}

No comments:

Post a Comment