creativetimofficial / get-shit-done

A free UI Kit built on Twitter Bootstrap
MIT License
107 stars 132 forks source link

Get Shit Done Pro - Parallax Issue #9

Closed Neuroforge closed 7 years ago

Neuroforge commented 7 years ago

Hello,

Firstly! I love this product it's getting me around the "Desgined by a Developer" pitfall! Really getting shit done.

However, I am having some difficulty with the parallax image.

It works fine in the examples, but i am putting it into cshtml views with .NET MVC.

From the browser output, the same styles and scripts are being imported in the example and in my project. The html matches and inspecting the element shows that the correct styles are being applied, but there is no parallax effect.

The only difference between my code and the example is that the "top" property on the img tag in the example is being updated as the pages scrolls. (This is an issue across browsers)

Is there a script which is updating the top style property of the img tag? Could my project somehow not be calling an update script that sets the top property? Any tips on debugging this?

I cannot find this in the javascript or the css.

Regards,

Daniel