Finally, what I did is to put a fake first tab in the widget, and add for the class .tw-widget-first something like that:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
.tw-widget-first{
color: transparent;
display: block;
font-size: 1px;
height: 0.001em;
line-height: 0.001em;
padding-left: 300px;
}
It’s not very clean, but it works…
Hi,
yes ther’s a way:
go to widgets>Tabbed Widgets>modify
open tabbed-widgets/js/init-plugin.js
and change this
if ($was_open) {
if ($was_open.split('-')[0] == $widgetid) {
$start_tab = parseInt($was_open.split('-')[1]);
var $open_previous = true;
}
by that
if ($was_open) {
if ($was_open.split('-')[0] == $widgetid) {
$start_tab = parseInt($was_open.split('-')[0]);
var $open_previous = false;
}