Hi
I cant put the fotter at the bottom if I have small content. Tried some resolutions from this forum, but it`s not working. Could you help me?
Hey adiwarsaw,
I took a look at your site & checked out your pages but didn’t find a example of a page with little content.
Please link to one.
Basically we have two options, we can write some code to give your pages a minimum height, just below “the fold” aka, below the bottom of the screen, which I can adjust to a few device resolutions, or for some pages we can set the footer to be fixed to the bottom of the screen.
Do you have a preference for these solutions?
Best regards,
Mike
Hi,
Thx for the answer. The problem is on FHD resolutions and bigger, you can see it here http://s87.pl/content.jpg. I think best solution will be get screen size and put footer at the bottom when we have to small content, in other options below content
Hi,
Thank you, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
.entry-content-wrapper.container_wrap {
min-height: 90vh !important;
}
this will give the content area a 90% visual height, if it’s changed to 100vh the “socket” aka footer, will be below the bottom of the screen. This can be used for all of the pages because it sets the “minimum” height, which will allow for some pages to be larger.
Another option is this:
#socket {
position: fixed;
bottom: 0;
}
we would have to assign this to only certain pages, because if the page is larger it will bring the socket up in to view. But some people like this because they put “call to action” links or info in the socket.
Best regards,
Mike