• Is there a way I can set a standard page height across my site? The page height is autromatic and depends on the amount of content on it which is causing issues. Is there a way I can make them all equal?

    • This topic was modified 4 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • You can use CSS to define body to be as

    Assuming you want 800px height and all your content on all pages will be contained in this 800px height. This is just in case, you want to do it as per your requirement.

    
    body
    {
    min-height:800px; 
    }
    

    You can, but it’s best if you let the browser handle it, since that’s the browser’s job.
    The CSS would have to account for window size, viewport size, content size, and scrollbar (which can be different sizes).
    If there is an issue, then that thing needs better CSS, instead of changing the height of the page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Height Help’ is closed to new replies.