Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #191553

    Hi, i got some pages with less content. So the footer/socket ist displayed very big (height)..
    How do i fix this, that the socket, i just want to show the socket, has only a fixed height at the bottom.

    I´ve read some articles with no help, just the advice to get some professional coding help.
    But for a popular theme like this, this has to be integrated or at least there has to be a solution.

    Cheers,
    Markus

    #191939

    Hi Markus,

    Can you post the link to your website please?

    Regards,
    Josue

    #192308

    Hi Josue,
    the url is: polyscale.m3ms.de

    Cheers,
    Markus

    #192398

    Hey Markus!

    Add this code to the Quick CSS:

    .entry-content-wrapper {
        min-height: 500px;
    }

    Cheers!
    Josue

    #192700

    Hi Josue,
    this works a bit, but can´t be the last solution for that problem. :-)

    Is there a chance to get this “responsive”?
    For a display with 1024×768 500 could be fine, but for a resolution with 1920 x 1200 a min-height of 500 is to less.

    With a function you can get the actual resolution and with that information there has to be a way to get this.
    For example:
    Get Resolution –> Result is 768 –> min-height=(768-(header-height)-(footer height))
    Could this be a way to do?

    Cheers,
    Markus

    Cheers,
    Markus

    #192712

    Hi!

    Add this too:

    @media only screen and (min-width: 768px) {
     .entry-content-wrapper {
        min-height: 900px;
     }
    }

    Cheers!
    Josue

    #192877

    Hi Josue,
    that works good,
    made a lot of queries with different max-heights. :-)

    For others who want to get the footer always shown:
    …..
    @media only screen
    and (min-height : 1200px) {
    .entry-content-wrapper { min-height: 875px; }
    }
    @media only screen
    and (min-height : 1250px) {
    .entry-content-wrapper { min-height: 925px; }
    }
    ….

    Just change the min-height of the content-wrapper to fit your sysrtem.

    #192879

    But right now i got 14 queries.
    Wouldn´t it be easier and better looking with a function that queries the actual media-height and then sets the content-wrapper to (nedia-height-(header+footer-height)?

    Cheers,
    Markus

    #193293

    Hi!

    Unfortunately you can’t do such a calculation with css code. It would require js/jquery calculations and the disadvantage would be that it causes some sort of stutter/page shift when the page loads and the browser executes the js code whereas the css code kicks in immediately as soon as the other styling code is loaded.

    Cheers!
    Peter

    #193295

    Hi Dude,
    so i have to live with that mass of css queries.
    THank you.

    Cheers,
    Markus

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Footer / Socket at the bottom’ is closed to new replies.