"Wonky" CSS / layout when header and sidebar are removed

edited May 8, 2019 in Questions
Hi team, 

I'm trying to save some load time and screen real estate by removing SF header/sidebar on my Skuid page. On the left I have the page with header, loading the design and layout as expected.

On the right you see the same page without modifications, just with the "Show Header" box unticked. All text and many design elements are magnified and it seems that some different styling is applied as well (or not applied?). 


Is this usual behaviour? Is there a fix for this? Do I have to include or reference some additional CSS in my Skuid page for the layout to be preserved?

Thank you in advance!




  • edited May 8, 2019
    Hi Robin,

    I've noticed similar results when the Salesforce header is hidden.  It could be that the header component injects JS/CSS that when absent results in the "wonky" appearance.

    Did you search the community?  Would not be surprised if this question has already been asked.

  • edited May 24, 2018
    Hi Irwin, 

    Thanks for your reply! I did my research and was surprised to not find the answer for this since I also expect it would be a common scenario. Not saying it is not posted here, just that unfortunately I so far have been unsuccessful tracking it down :)

  • edited May 8, 2019
    I bet the Skuid team has run into this before.  
  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 2, 2017
    Here's the reason it looks weird, then we'll give the fix:

    Salesforce's standard header styles, which are added to the page when you have Show Header turned ON, add the following lines of CSS to the page, which make the page not look "wonky":

    body {
       font-size: 75%;

    a {
       color: #333435;

    So if you add this CSS into your pages where you have Show Header OFF, they should look more normal.
  • edited May 24, 2018
    Hi Zach, Fantastic, that did the trick! Thanks for the explanation and for the fix. Much appreciated :) Keep on squiddin'
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!