Modify paperclip skin
· 2 min read
Because I sometimes want to paste source code into my posts, I want my skins to be a little wide. Source code is often much wider than normal text. I really like the new Community Server 2.0 paperclip skin, but it wasn’t wide enough. So I changed it a bit. These are the steps I took:
- First, choose the appropriate skin. I chose “Paperclip Cactus”
- View your weblog, right click it in Internet Explorer (or any browser) and choose “View Source” to view the html source. Now you want to find the .css file that belongs to your current skin and skin-style. For Paperclip Cactus this is in the HTML as “/Themes/Blogs/paperclip/style/style.css” and “/Themes/Blogs/paperclip/style/cactus.css”, of which the first would be right here on this community. The first stylesheet if for Paperclip overall, the second one are overrides for the Cactus style specific.
- Now comes the hard part, as you’ll have to figure out which elements in the style-sheet must be changed according to your wishes. To make the Paperclip wider, you need the following parts:
- #nav
- #main
- #content
- #masthead
- Now I chose to make everything a few hundred pixels wider. I believe it was 300 pixels. I also included an extra large header image I created myself. The code should be like this:
#nav
{
width: 1092px;
}
#main {
width: 834px;
}
#content
{
width: 1092px;
}
#masthead
{
background-image: url(/Themes/Blogs/paperclip/images/customer-pen.jpg);
width: 1104px;
}
And you’re done… Have fun!