Showing posts with label SharePoint 2010 Masterpage. Show all posts
Showing posts with label SharePoint 2010 Masterpage. Show all posts

Wednesday, 9 May 2012

How to Change the size of Default settings page and list page in SharePoint 2010 and change the body background color completely

Hi I was designed a master page and page layout for a branding site.  The master page having 950px width and aligned in the center.

But the problem is when I visit the default page of SharePoint like site setting, view all site content they all are remains in the same width. 

I wondered because I covered the content place holder by a div with 950px width.  But it is not applied so I decided to do a smart work.  Open the firefox and check the style with the help of firebug I found that a content table completely keep the default page there a style that take about the width and the color. 

.s4-ca {
    background: none repeat scroll 0 0 #fffff;
    margin-left: 155px;
    margin-right: 0;
    min-height: 324px;
}

I change the style as per my wish....

then paste it to my master page to override.

Now it is working....  

If you remove background color property at the time you can able to get the background color defined in the body style class..   But it is not looking fair......

Happy Coding:)

Hide the master page menu in the pop ups like 'check in' in SharePoint 2010

         Now am busy with the branding task.  We are working to develop a custom master page using v4.master in SharePoint 2010.   We almost finish the development but we face a problem that is when the user going to check in the page at the time a pop up comes with lightbox effect the our master page menu is displayed.

         That is not we expected.  So I am tried to resolve the problem in a smart way.  By using the developer tool in Mozilla Firefox I found the master page header and remaining items are hide out by dynamic div section that is asp panels. 

         Our menu is inside the default asp panel called pnlMenu  so I commented the panel but still it displayed then I check the header content's asp panel that is hide out while displaying the pop up.  

         Simply cut and paste my menu to there....

         Now it is working fine..... 

         Happy Coding :)