-
AuthorPosts
-
November 21, 2013 at 6:38 pm #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,
MarkusNovember 22, 2013 at 6:21 pm #191939Hi Markus,
Can you post the link to your website please?
Regards,
JosueNovember 23, 2013 at 7:16 pm #192308Hi Josue,
the url is: polyscale.m3ms.deCheers,
MarkusNovember 24, 2013 at 4:40 am #192398Hey Markus!
Add this code to the Quick CSS:
.entry-content-wrapper { min-height: 500px; }
Cheers!
JosueNovember 25, 2013 at 1:51 am #192700Hi 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,
MarkusCheers,
MarkusNovember 25, 2013 at 2:10 am #192712Hi!
Add this too:
@media only screen and (min-width: 768px) { .entry-content-wrapper { min-height: 900px; } }
Cheers!
JosueNovember 25, 2013 at 11:35 am #192877Hi 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.
November 25, 2013 at 11:38 am #192879But 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,
MarkusNovember 26, 2013 at 9:19 am #193293Hi!
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!
PeterNovember 26, 2013 at 9:22 am #193295Hi Dude,
so i have to live with that mass of css queries.
THank you.Cheers,
Markus -
AuthorPosts
- The topic ‘Footer / Socket at the bottom’ is closed to new replies.