Reputation: 203
I need to add an extra 35px to whatever the height calculated by Foundation Equalizer. Is this possible?
For example, if Equalizer height calculation is 350px, I would like 35px to be added on. So style created will be height: 385px;
instead of height: 350px;
.
Thank you.
Upvotes: 2
Views: 69
Reputation: 4162
Init Foundation with this code:
$(document).foundation({
equalizer: {
after_height_change: function(){
$('div[data-equalizer-watch]').height(function (index, height) {
return (height + 35);
});
}
}
});
Upvotes: 2