Site logo

Archived topic

how to set a minimum content height on individual pages

10 replies · Started by avani on September 10, 2018

Viewing posts 1–11 of 11

I'm wanting to set a minimum height on individual pages. ?? thanks

Hi there,

you could add this CSS:

#page {
    min-height: 800px;
}

Any pages that are taller than this will expand the height. Any reason why you only want this on certain pages?

Actually I meant for each page. So this would just apply to all pages then? thanks

I added this to the Appearance, customize, CSS but it didn't work. ??

This would apply to all pages. So the page content would always be a min height.
I am not sure the reason to apply it individually, but if you want to apply page specific CSS you can use this plugin of Tom's:

https://wordpress.org/plugins/simple-css/

sorry it did work I was focused on the content area. Its the colored content area I want to set the min height rather than the page? is this doable?

I can see the code in action. The content area is now 800px high. Clear your browser cache.

Try this:

.inside-article {
    min-height: 800px;
}

Ah thanks. I'll change it. cheers

Thanks it worked!

You're welcome. Glad to be of help

This archived topic is closed to new replies.