Monday, May 14, 2012

Quick Lunch Box in Results.aspx

I run into something very strange in the Results.aspx page OOTB. Suddenly a wired box appeared. It seems to be the Quick Lunch zone but without the items inside. The wired thing is in the CSS code there are styles to hide it and fix it, but they are not working properly.

The wired box on the left below the status bar:



The CSS:


The thing is that the CSS have the styles as display:none, float:left and more to hide it when you don’t have the left navigation but it seems to ignore it.
So, in the hard way, as always, add these to the CSS / to the <style> in the page so it will do the work properly:


1.  #s4-mainarea #s4-leftpanel{   
2.    display:none!important;   
3.  }   
4.  .s4-ca {   
5.      background-color: inherit;   
6.      margin-left: 0px!important;   
7. 

No comments:

Post a Comment