I’m pretty new to the whole cordova / ionic scene, at the moment I’m working on a simple app in which I need to use a jquery css method to determine the padding above a div to position it in the center of the view. I have used this kind of function before in standard web development, however it doesn’t seem to work here. I have imported jquery in the index.html, above the js and css files. I am using jquery ver 1.11.1.
Here is my code
The console doesn’t show any errors, which makes me think it’s working however the text div is still sitting at the top of the page.