-
AuthorPosts
-
February 8, 2019 at 2:09 pm #1064577
Hello
Can I get small help here ? I am using menu on left side and because of that footer is not assigned to the bottom. Can you help me to put footer at the bottom of the page, reason why I need it is because when i dont have too much text like here footer is at the middle of the page.
Thanks
February 11, 2019 at 9:29 pm #1065683Hey ProSEO,
That is something already discussed previously on our forums – please take a look
https://kriesi.at/support/topic/sticky-footer-6/Best regards,
BasilisFebruary 12, 2019 at 12:43 pm #1065929Hi Basilis
It doesnt work properly
Menu on hover is hidden and footer is comming all way to the right side
- This reply was modified 5 years, 10 months ago by ProSEO.
February 12, 2019 at 2:27 pm #1065944first of all you can avoid that menu problem on setting the z-index to 10.
second do you realy want to show always your footer half height of the screen?
or is it the fact you like to avoid on pages with less content that there is at the bottom a gap which has different color then content background?
i would get that result on giving the #main a min-height of 100vhthe linked page is from 2015 and for a layout with header on top.
you have to think of that your header takes away 300px form 100% width – and on responsive case the header width is 27% so for footer width is 73% etc pp.
So you had to calculate the max-width to 1010px ( on default it is 1310px) and the width as a difference etc. pp. –
you see that will be complicate enough.
By the way – you had to give a padding-bottom to #main to see all content under the footer.February 12, 2019 at 3:23 pm #1065965You are right I want to avoid to have footer at the middle of the site on pages with less content. So you are recommending to use #main min-height 100vh; ?
Without changing footer css ?
Thanks
February 12, 2019 at 4:24 pm #1065983yes – and all your troubles gone-
maybe a bit less than 100vh to have for those pages who will fit the socket in viewportFebruary 12, 2019 at 4:26 pm #1065984by the way – all demos on enfold with sidebar header are non boxed one. Maybe this would be a nice idea for your page too
The link is gone so i can not see now what happend but i would do it this wayFebruary 12, 2019 at 5:34 pm #1066010Thanks a lot for your help really appriciate it .
February 12, 2019 at 6:25 pm #1066044February 14, 2019 at 12:45 am #1066699Hi,
It seems like you have following custom CSS code on your page
.entry-content { min-height: 650px; }
Please edit it and decrease the height
Best regards,
YigitFebruary 14, 2019 at 6:03 pm #1067093please remove this css rule the one Yigit mentioned !!!
February 14, 2019 at 7:24 pm #1067118February 15, 2019 at 9:00 am #1067353i think this will be enough code –
lets see if this comes into conflict at some pages
delete:.entry-content { min-height: 650px; }
so try first this here in quick css:
@media (min-width: 768px) { #main { display: flex; height: 100vh; flex-direction: column; position: relative !important; overflow: visible !important; } .container_wrap { flex: 1 0 auto; width: 100% !important; } #footer, #socket{ flex:none; } }
February 18, 2019 at 9:01 am #1068190I think I’ve never written such an elegant solution to have the footer below – but it seems there was no interest in a good solution. – What a pity
February 18, 2019 at 12:03 pm #1068293Hi Guenni007,
It is an elegant solution! I hope future generations will appreciate it :)
Thank you!
Best regards,
VictoriaFebruary 18, 2019 at 6:08 pm #1068510:lol :roflmao
yes – flexbox model is a very powerful tool, which is rarely used properly.
But only for that case Header Left or Right. And as he had only one container_wrap classMay 13, 2019 at 9:57 pm #1100306Wow – you are a genius! Thank you very, very much for this solution! I will try something similar to get the social media icons in the side menu to the bottom.
May 13, 2019 at 10:07 pm #1100308This a no-go, but I haven’t researched how to actually use “flex” yet:
@media (min-width: 768px) { #header_main, .av-logo-container { display: flex; height: 100vh; flex-direction: column; position: relative !important; overflow: visible !important; } .av-logo-container.inner-container { flex: 1 0 auto; width: 100% !important; } .av-sidebar-social-container{ flex:none; } }
May 15, 2019 at 11:10 pm #1101185Hi,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.