Sharepoint online: single web part css
Question
Im trying to create nice titles for my webparts inside my SharePoint Online (Office 365). I got the following
Spanid = WebPartCaptionWPQ5
and the css:
.ms-webpart-titleText
But how can i make only a webpart called News getting a blue background as example. Instead of all the webparts get a blue background
Solution
You are almost there.
<style type="text/css">
#WebPartWPQ5 .ms-webpart-titleText {
background-color:blue;
}
</style>
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange