Tabs by GavickPro

March 2014 WordPress Theme
GK User
Wed Feb 11, 2015 3:54 pm
Hi there, on the right hand sidebar of the demo you can see a Latest / Popular Tabs section. I have setup the same thing on my demo site here: http://www.jamjosandbox.com/magazine/

However you can see when you load it the first time the tab title seems to be red the same colour of the tab itself like so: http://i60.tinypic.com/2u4r6gm.jpg

The demo however seems to operate correctly here: https://www.gavick.com/demo/wordpress/news2/ so I am not sure on this one if I am missing a setting of the tab colour for example?

Secondly how does the popular tab/widget actually work, does it show the most clicked posts or most viewed posts in a given week for example? I see the link url is #popular in the widget but I am not sure if this is a manual thing you must do to setup the popular posts or is it a dynamic widget?

Thanks
User avatar
Expert Boarder

GK User
Thu Feb 12, 2015 8:37 am
Hi,

Are you using some kind of plugin which may add links into widget titles? Because you have the same structure and on the demo there's no <a href=...> anyway, try to add this code to fix it:

Code: Select all
.gk-tabs-nav .active > a {
    color: #fff;
}

Regarding your second question, tabs is only a container to display other widgets in tabs, so the content you should configure in this case in News SHow Pro widgets, so, there's no problem to show latest post there, but i'ts not possible to set "popular" posts (it's only a label), you can use category/tags/cutom post slugs etc to decide which posts should be displayed in which order .
User avatar
Moderator


cron