Change Web Part Header Style on SharePoint 2013/2016/Online
To change the Web Part header as below.
The following styles will change the WebPart header as curved header.
<style type="text/css">
div.ms-webpart-chrome-title { background: #484546; border-style: none; border-top-left-radius: 10px; border-top-right-radius: 10px; padding-left: 10px; }
div.ms-webpart-chrome { border-style: none; }
h2.ms-webpart-titleText { color: #fff !important; font-weight: bold; }
h2.ms-webpart-titleText a:link,
h2.ms-webpart-titleText a:active,
h2.ms-webpart-titleText a:visited,
h2.ms-webpart-titleText a:hover
{ color: #fff !important; }
.ms-wpContentDivSpace { margin: 0; }
div.ms-webpart-chrome { border-color: #eee; border-top-style: none; }
tr.ms-viewheadertr {background-color: #f2f2f2;}
</style>
The following styles will change the WebPart header as curved header.
<style type="text/css">
div.ms-webpart-chrome-title { background: #484546; border-style: none; border-top-left-radius: 10px; border-top-right-radius: 10px; padding-left: 10px; }
div.ms-webpart-chrome { border-style: none; }
h2.ms-webpart-titleText { color: #fff !important; font-weight: bold; }
h2.ms-webpart-titleText a:link,
h2.ms-webpart-titleText a:active,
h2.ms-webpart-titleText a:visited,
h2.ms-webpart-titleText a:hover
{ color: #fff !important; }
.ms-wpContentDivSpace { margin: 0; }
div.ms-webpart-chrome { border-color: #eee; border-top-style: none; }
tr.ms-viewheadertr {background-color: #f2f2f2;}
</style>

Comments
Post a Comment