View Full Version : appearing content not pushing content down
chechu
06-15-2019, 11:24 PM
Hey all,
On this page you need to fill in your birthdate: https://www.lichaamengeest.be/geboortegetal.php
When filled in, the appearing content appears below the gallery, whilst I want it above.
On this page all works well: the gallery is pushed down by the appearing content: https://www.lichaamengeest.be/persoonlijkheidsgetal.php
These are the two scripts:
https://www.lichaamengeest.be/scripts/numerologie.js
https://www.lichaamengeest.be/scripts/persgetal.js
Can anyone find the solution, please?
Thanks.
coothead
06-16-2019, 03:04 PM
Hi there chechu,
on line #721 of your numerologie.js file.
try changing this...
div = document.createElement('div'); ft = document.getElementById('footer'); trg = ft.parentNode;
...to this...
div = document.createElement('div'); ft = document.getElementsByClassName('fullwidth-carousel-container')[0]; trg = ft.parentNode;
coothead
chechu
06-16-2019, 08:30 PM
Works like a charm now.
Thanks!!
coothead
06-16-2019, 09:09 PM
two problems resolved in one day,
I must be getting good at this. :D
coothead
chechu
06-16-2019, 09:16 PM
You know you are ;-)
Are there surely will be more to come ...
coothead
06-16-2019, 09:28 PM
I'm now on the wrong side of seventy,
so time is, obviously, running out. :eek:
coothead
chechu
06-17-2019, 09:27 AM
Well, as you feel you have little time, here's another one ...
On this page https://www.lichaamengeest.be/teksten4.php
you can see that on the right there is a sticky sidebar. But when I get to the end of the page, the sidebar shows over the sticky menu, whilst it should disappear under the menu.
Here's the css (no js):
.sticky-top{
position:-webkit-sticky;
position:sticky;top:100px
;z-index:1020
}
Do you still have time to solve this one, please?
coothead
06-17-2019, 11:16 AM
Hi there chechu,
have you tried...
z-index: 0;
...yet?
coothead
chechu
06-17-2019, 01:55 PM
Obviously I hadn't
and obviously I should have ...
Thanks!
coothead
06-17-2019, 02:14 PM
Obviously I hadn't
Nothing ventured, nothing gained !!! :D
coothead
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.