SharePoint (2003 thru Online): How to increase the font size of Web Parts Content

Monday, June 8, 2015

How to increase the font size of Web Parts Content



Increase the font size of Web Part Title, Body and colors.

------------------Content Editor Web Part---Title + Body---------------------
<style type="text/css">
.ms-WPTitle {font-size: 16px; font-weight: Bold; color: #354260;}
.ms-summarycustombody a {font-size: 14px;}
</style>

----------------------------Announcement Web Part Title-----------------------
<style type="text/css">
ms-announcementtitle {font-size: 14px; font-weight: bold;}
</style>

---------------------Content Editor Web Part  - Font + Color-------------------
<style type="text/css">
.ms-WPTitle {font-weight: bold; font-family: verdana, arial, helvetica, sans-serif;
color: #003399;
padding-left: 6px;
padding-right: 7px;
padding-top: 2px;
padding-bottom: 2px;
font-size: 8pt;
}

.ms-WPTitle A:link, .ms-WPTitle A:visited
{
color:#003399;
text-decoration:none;
cursor:hand;
}

.ms-WPTitle A:hover
{
color:red;
text-decoration:underline;
cursor:hand;
}

.ms-toolbar {
font-family: verdana;
font-size: .68em;
text-decoration: none;

color: #003399;
</style>
------------------------------------------------------

Add the Above code in the CEWP [Content Editor Web Part].

No comments:

Post a Comment