@ David
The problem is being caused by the theme’s plugins.js file found here.
The update function in the Tiny Scrollbar part of this script does not seem to exist (seems like the entire code was not copied in the file the theme dev) which is causing a fatal JavaScript error to occurring. This is likely causing any script after this error to not run, like the one for the Slim Plus template.
You can see this see this error for yourself by opening the page up in Chrome, hit the F12 key and then click on the Console tab. On the far to right the line highlighting the error will be the filename, when you click on the file name you will be taken to that file where the error is happening.
There’s really only options to fix this… Ask the theme dev to fix the error, if you know JavaScript, you fix it and lastly, remove the part of the code in the file causing the error. If you decide to remove the part of the script causing the issue, this is the section of code to remove:
// Tiny Scrollbar
(function(a) {
a.tiny = a.tiny || {};
a.tiny.scrollbar = {
options: {
axis: "y",
wheel: 40,
scroll: true,
lockscroll: true,
size: "auto",
sizethumb: "auto"
}
};
a.fn.tinyscrollbar = function(d) {
var c = a.extend({}, a.tiny.scrollbar.options, d);
this.each(function() {
a(this).data("tsb", new b(a(this), c))
});
return this
};
a.fn.tinyscrollbar_update = function(c) {
return a(this).data("tsb").update(c)
};
function b(q, g) {
var k = this,
t = q,
j = {
obj: a(".viewport", q)
}, h = {
obj: a(".overview", q)
}, d = {
obj: a(".scrollbar", q)
}, m = {
obj: a(".track", d.obj)
}, p = {
obj: a(".thumb", d.obj)
}, l = g.axis === "x",
n = l ? "left" : "top",
v = l ? "Width" : "Height",
r = 0,
y = {
start: 0,
now: 0
}, o = {}, e = ("ontouchstart" in document.documentElement) ? true : false;
function c() {
k.update();
s();
return k
}
this.update = function(z) {
j[g.axis] = j.obj[0]["offset" + v];
h[g.axis] = h.obj[0]["scroll" + v];
h.ratio = j[g.axis] / h[g.axis];
d.obj.toggleClass("disable", h.ratio >= 1);
m[g.axis] = g.size === "auto" ? j[g.axis] : g.size;
p[g.axis] = Math.min(m[g.axis], Math.max(0, (g.sizethumb === "auto" ? (m[g.axis] * h.ratio) : g.sizethumb)));
d.ratio = g.sizethumb === "auto" ? (h[g.axis] / m[g.axis]) : (h[g.axis] - j[g.axis]) / (m[g.axis] - p[g.axis]);
r = (z === "relative" && h.ratio <= 1) ? Math.min((h[g.axis] - j[g.axis]), Math.max(0, r)) : 0;
r = (z === "bottom" && h.ratio <= 1) ? (h[g.axis] - j[g.axis]) : isNaN(parseInt(z, 10)) ? r : parseInt(z, 10);
w()
};
function w() {
var z = v.toLowerCase();
p.obj.css(n, r / d.ratio);
h.obj.css(n, -r);
o.start = p.obj.offset()[n];
d.obj.css(z, m[g.axis]);
m.obj.css(z, m[g.axis]);
p.obj.css(z, p[g.axis])
}
function s() {
if (!e) {
p.obj.bind("mousedown", i);
m.obj.bind("mouseup", u)
} else {
j.obj[0].ontouchstart = function(z) {
if (1 === z.touches.length) {
i(z.touches[0]);
z.stopPropagation()
}
}
} if (g.scroll && window.addEventListener) {
t[0].addEventListener("DOMMouseScroll", x, false);
t[0].addEventListener("mousewheel", x, false)
} else {
if (g.scroll) {
t[0].onmousewheel = x
}
}
}
function i(A) {
var z = parseInt(p.obj.css(n), 10);
o.start = l ? A.pageX : A.pageY;
y.start = z == "auto" ? 0 : z;
if (!e) {
a(document).bind("mousemove", u);
a(document).bind("mouseup", f);
p.obj.bind("mouseup", f)
} else {
document.ontouchmove = function(B) {
B.preventDefault();
u(B.touches[0])
};
document.ontouchend = f
}
}
function x(B) {
if (h.ratio < 1) {
var A = B || window.event,
z = A.wheelDelta ? A.wheelDelta / 120 : -A.detail / 3;
r -= z * g.wheel;
r = Math.min((h[g.axis] - j[g.axis]), Math.max(0, r));
p.obj.css(n, r / d.ratio);
h.obj.css(n, -r);
if (g.lockscroll || (r !== (h[g.axis] - j[g.axis]) && r !== 0)) {
A = a.event.fix(A);
A.preventDefault()
}
}
}
function u(z) {
if (h.ratio < 1) {
if (!e) {
y.now = Math.min((m[g.axis] - p[g.axis]), Math.max(0, (y.start + ((l ? z.pageX : z.pageY) - o.start))))
} else {
y.now = Math.min((m[g.axis] - p[g.axis]), Math.max(0, (y.start + (o.start - (l ? z.pageX : z.pageY)))))
}
r = y.now * d.ratio;
h.obj.css(n, -r);
p.obj.css(n, y.now)
}
}
function f() {
a(document).unbind("mousemove", u);
a(document).unbind("mouseup", f);
p.obj.unbind("mouseup", f);
document.ontouchmove = document.ontouchend = null
}
return c()
}
}(jQuery));
Assuming this is not used anywhere and there are no other errors, this should fix it.
Hope that helps!
