Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Timeline JS CSS/JS issue, cannot scroll WordPress


Hi all,

I have an issue with timeline js ( on wordpress, it was working fine until my webmaster added a fix/responsive header image function.

I can't scroll through the page:

The main page works fine:

the blog page does not seem to work either:

My webmaster believes it's a css or javascript issue, anyone knows a fix?

All help appreciated!


Answers (2)


Jayaram Y answers:


I see that its because of the height of the content...

For timeline page i dont see any issue.. i am able to scroll.. For blog page the issue is there is only one post.. If you add another post the issue will be solved as the page height increases... To avoid this please give the below code in your custom/style css file

.container #content{

Orelse you need to reduce the height of the header.

Jayaram Y comments:

Hi artaudlemomo,

I have given the same code as well.. Hope that worked.. But the issue with blog post tiltle hiding is, the header is getting fixed at the top, so them main content section is moving to top..

What can be done is.. on mouse scroll, we need to add class to Main content section and give margin-top to it..

artaudlemomo comments:

Thanks Jayaram I saw you helped too,

How to do I do the mouse scroll bit?


Jayaram Y comments:

Hi artaudlemomo,

Please place the code in footer.php file.. just before

<?php wp_footer(); ?>

This adds a class to the main section.. Let me know once the class is added so that i can give the css to finish this.

else {

artaudlemomo comments:

Great I have done it, hopefully properly!

Thanks for you help!

Jayaram Y comments:

to get the blog title below header, you need to add the below script in footer.php and css in custom/style css.

jQuery(document).ready(function($) {
var scrolltop = 100;
$(window).scroll(function () {
if ($(window).scrollTop() > scrolltop ) {

.main_info{ margin-top:180px}

and for header.shrink you need to remove height and max-height.. No need of that.

Hope this helps..

artaudlemomo comments:

Thanks for you help, it worked.

But there is two new issues now, first there is two gray squares on each side of the main menu items, see picture.

The second problem is that my footer is gone completely... I used to have a sentence and some social links button like in the top right corner.