-
AuthorPosts
-
February 24, 2016 at 5:30 am #810040
ZeshanMemberYou’re welcome!
March 3, 2016 at 1:09 pm #822366
o4kirillParticipantHi guys,
Just launched a web-site on X Theme using Integrity stack Light. having the same issue..
Javascript code (below) is not helping unfortunately..jQuery(document).ready(function($) {
var $main = $(‘.x-main’),
$windowHeight = $(window).outerHeight(),
$masthead = $(‘.masthead’).outerHeight(),
$wpbar = $(‘#wpadminbar’).outerHeight(),
$footer = $(‘.x-colophon.bottom’).outerHeight() + $(‘.x-colophon.top’).outerHeight();$main.css(‘min-height’, $windowHeight – $masthead – $wpbar – $footer – 66);
});Can you please assist? We need a footer to be in the bottom of the page..
Links to see what’s going on:
http://bedroom-bar.co.uk/food/
http://bedroom-bar.co.uk/gallery/Thank you very much
Best
Bedroom BarMarch 3, 2016 at 9:19 pm #822855
LelyModeratorHi There,
Thanks for posting in. To make the footer to be fixed at the bottom of the page no matter what the content height is, please add the following CSS instead:
.x-colophon.bottom { position: fixed; bottom: 0; width: 100%; background: red; }Above javascript code is not needed. The CSS will make it fixed at the bottom.
Hope this helps.
March 4, 2016 at 8:04 am #823586
o4kirillParticipantHey,
Many thanks for your answer. This simple CSS really helped to keep the footer at the bottom!
Just one more thing please..Can we also keep the background image 100% height cause it still reacts on content height here:
http://bedroom-bar.co.uk/contact/Thanks again for your help and for an amazing theme you guys created.
Best
Bedroom BarMarch 4, 2016 at 3:15 pm #824069
JadeModeratorHi there,
You can add this under Custom > CSS in the Customizer.
.page-id-152 #x-section-1 { height: 100vh; }Hope this helps.
March 7, 2016 at 2:32 pm #827483
o4kirillParticipantThank you very much you ve been very helpful
March 7, 2016 at 10:35 pm #827981
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
April 21, 2016 at 4:52 pm #894376
darlene_cainParticipantI was experiencing the same problem, and the custom javascript code you gave Brent F. works for me as well. X Support is the greatest!
April 21, 2016 at 9:43 pm #894665
NicoModeratorHappy to hear that.
Feel free to ask us again
Have a great day! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-228277 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
