• Is there a means to tweak the page no-title template to make the template open a page to the full height of a browser window? Meaning Heading sticks to the top of the browser and footer sticks to the bottom of the browser window. I do see that the header can be stuck to the top, but there isn’t a similar option to stick the footer to the bottom of the window

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    WordPress does not have an option for sticky footers for block themes.
    If you are interested you can follow the conversations here: https://github.com/WordPress/gutenberg/issues/47043

    (Someone else may still be able to share some custom CSS to solve this)

    Thread Starter jwhitesides

    (@jwhitesides)

    I checked that link out. Seems like it’s something that people have asked for. One thing I’ve noticed with twentytwentyfive, is also referenced in the comments: the “sticky” header is not working. I’ve not been able to get that to work either.

    Hopefully someone has a CSS fix for both a sticky header and footer. I do like the theme, but it’s a little tricky to mess with.

    I’m on WordPress 6.7.1, php 8.3. So it’s not a lack of older software.

    • This reply was modified 1 year, 5 months ago by jwhitesides.

    Hi
    The “sticky” option uses CSS positioning.
    There are limitations in CSS that means the element that is positioned is only sticky inside its parent.
    If the option is enabled incorrectly, the header content will only be sticky inside the header itself, and it may be difficult to see that it is sticky unless the header is very tall.

    Please see this lesson: https://learn.ww.wp.xz.cn/lesson/adding-a-sticky-header-or-banner/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Full page height?’ is closed to new replies.