I have this .bx-wrapper
element thats shown only on front page.
If it is displayed i need some extra top margin for my #columns
.
This is the code I wrote so far :
$(document).ready(function () {
if ($(".bx-wrapper").length) {
$('#columns').css({ "margin-top": "90px !important" });
}
});
However it is not working.
I'm new to jQuery
and javaScript
.
I guess there is a little mistake somewhere.
Thank you.