Code for tabbed content

Responsive WordPress theme suitable for Schools, Colleges or educational websites.
GK User
Mon May 02, 2016 1:24 pm
Hello,
I was looking at your demo site. How do I put content in tabs as per this page: https://demo.gavick.com/wordpress/unive ... et-styles/

Pls advice. Thanks.
User avatar
Senior Boarder

Joshua M
Wed May 04, 2016 10:21 am
Hi,

You have to use GK Tabs widget. Please check the documentation:
https://www.gavick.com/documentation/wo ... ns/gk-tabs
User avatar
Moderator

GK User
Wed May 04, 2016 10:23 am
But I'd like to add the tabs to the main content area of a page. The above documentation is for the widget correct?
User avatar
Senior Boarder

Joshua M
Wed May 04, 2016 10:25 am
Yes, and here: https://demo.gavick.com/wordpress/unive ... et-styles/ There's also a widget from Mainbody Bottom widget area, there's no tabs in post/page content implemented.
User avatar
Moderator

GK User
Wed May 04, 2016 10:29 am
Yes. I saw that on your demo site but there is no shortcode generator in the text editor to implement the tabs. Pls advice.
User avatar
Senior Boarder

GK User
Wed May 04, 2016 10:31 am
Ok. I got it from the source. Thought there would be an easier way to simply insert tabbed content. Thanks.
User avatar
Senior Boarder

GK User
Wed May 04, 2016 10:33 am
Can I change the color of the current active tab and also turn off auto-progress of the tabs?
User avatar
Senior Boarder

Joshua M
Wed May 04, 2016 10:46 am
Yes, you can do it from widget settings (autoanimation). Regarding the color, try to add the following custom css code:
Code: Select all
.gk-tabs-wrap > ol > li:hover,
.gk-tabs-wrap > ol > li.active,
.gk-tabs-wrap > ol > li.active:hover {
   border-top-color: #xxxxxx;
}
User avatar
Moderator

GK User
Wed May 04, 2016 10:47 am
Thanks. But I am still unsure how you are adding tabbed content to the main page content in a page. I tried using code from the page source code but that doesn't work very well. Pls advice.
User avatar
Senior Boarder

Joshua M
Wed May 04, 2016 11:13 am
Like I said before - it's a widget. Widget from Mainbody Bottom area, so it's under the page content and looks like a page/post content, but it's not.
User avatar
Moderator

GK User
Wed May 04, 2016 11:24 am
Ok. Thanks
User avatar
Senior Boarder


cron