Instead of using the generic tab function provided by my website builder, I decided to take matters into my own hands and build one from scratch. While I am more comfortable with CSS than scripts at the moment, my attempt at creating a custom tab function is visually appealing but lacks functionality on clicks.
Check out the JSFiddle here: https://jsfiddle.net/6oq3t9ev/1/
<ul class="tab_conts" id="recent" style="display: block;">
<li class="tab_cont">
<a href="/test" class="tab_cont_link">Test</a>
<a>
<desc>Testing</desc>
</a>
</li>
<li class="tab_cont">
<a href="/test" class="tab_cont_link">Test</a>
<a>
<desc>Testing</desc>
</a>
</li>
</ul>
<ul class="tab_conts" id="new" style="display: none;">
<li class="tab_cont">
<a href="/test" class="tab_cont_link">Test</a>
<a>
<desc>Testing</desc>
</a>
</li>
<li class="tab_cont">
<a href="/test" class="tab_cont_link">Test</a>
<a>
<desc>Testing</desc>
</a>
</li>
<li class="tab_cont">
<a href="/test" class="tab_cont_link">Test</a>
<a>
<desc>Testing</desc>
</a>
</li>
</ul>
$(document).on("ready int:ready", function() {
var e = $(".tab_name"),
t = $(".tab_conts").hide();
e.prependTo(".tabs-cn"), e.click(function(n) {
n.preventDefault();
var i = $(this),
r = e.index(i);
e.removeClass("tab_name-active"), i.addClass("tab_name-active"), t.hide().eq(r).show()
}), e.first().click() })