A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Hot answers tagged

1

The following example for your reference. CSS style: <style type="text/css"> div[class^='content-']{ background-color: green !important; } div[class^='ButtonCard root-']{ background-color: green !important; } </style> jQuery code: <script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script> &...


1

Try this, it works for me .ms-vh-div[displayname='Title'] { width: 450px; }


1

Assuming there is valid justification in your unspecified backstory of why you are reformatting with jQuery instead of using the native XSL in the Content Query: You should use the jQuery .each() (see jquery docs) method to perform an operation on each selected item. Each instance call of the loop makes the this keyword a reference to the currently ...


1

As per my understanding, SPFx webparts are responsive by design. So, most of the times you don't need to use bootstrap or media query. It is recommended to use Office UI Fabric React components (not compulsory) which is a responsive and simple for you to create web experiences by using the Office Design Language. Read more at Design considerations for ...


1

Add CSS below to script editor web part: <style> span[id='Ribbon.ListItem.New.NewListItem-Large'] { display: none; } </style>


Only top voted, non community-wiki answers of a minimum length are eligible