I have a div that I want the height set to the same size as the width, so I added a javascript file that looks like this
var cw = $('.block-me').width();
$('.block-me').css({
'height': cw + 'px'
});
to my javascript files. When I load the page the height is not being added in the code, however the file is being called in the head.
I am using the Jetpack plugin's CSS editor so I'm wondering if I have to specify which css file to add too or what?