Got a bit of a weird issue with a site I'm working on. When I load the homepage my fonts found within the navigation and headings seem to loose some font-weight for some reason. I've managed to narrow it down to a small piece of javascript that only loads on the homepage, when removed all my fonts are nice and fat.
In the javascript (made for a slider) it doesn't mention h tags at all, or anything to do with font-weight. But yet it still seems to be effecting it.
Here's the JS, if anyone can see why this might be happening?
var sliderActive = $("#wrapper #slider-single")
sliderActive.not(":first").removeClass("active");
sliderActive.on("hover", function() {
sliderActive.removeClass("active");
$(this).addClass("active");
});
That's it. Like I say, if I remove this file the fonts are fine. No idea why :S
The CSS for the class active affects the slider you see here: http://ember.lukeseager.com
.active .each {
background-color: rgba(0,0,0,.1);
-moz-transition: .3s ease; -webkit-transition: .3s ease;
-o-transition: .3s ease; -ms-transition: .3s ease; transition: .3s ease;
}
.active .home_video {
top: 0px;
z-index: 0;
}
Any info you guys have would be amazing! Thanks!
EDIT: Testing this across browsers, it seems to just be an issue on Chrome (only tested on Mac so far). Maybe it's just a browser rendering issue?