I’m not sure exactly what you’re trying to achieve as it isn’t clear without a link & some explanation, but the following works for me for having two columns within the tab content:
Tabby shortcodes & content:
[tabby title="First Tab"] Tabby ipsum dolor sit amet, kitty sunbathe dolor, feed me.
[tabby title="Second Tab"]Lay down in your way catnip stuck in a tree, sunbathe kittens.
[tabby title="Third Tab"]
<div class="insidetab-wrapper">
<div class="left">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Vestibulum id ligula porta felis euismod semper. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Nullam id dolor id nibh ultricies vehicula ut id elit.</div>
<div class="right">Cras mattis consectetur purus sit amet fermentum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</div>
</div>
[tabbyending]
CSS rules(added to child theme etc):
.insidetab-wrapper {
overflow: auto;
}
.left {
float: left;
width: 48%;
}
.right {
float: right;
width: 48%;
}
This works except when there is an image in one of the columns. If you resize the content disappears in that tab
Please provide a link to a page where this occurs.
Is the image responsive? Set its width to be a percentage of the containing element and the height to auto.
As the plugin provides responsive tabs, the theme and the content should be responsive as well for everything to work together.
Hi can’t provide a link yet, as it is hosted locally, but it looks like some conflict with the theme (which is responsive) I am using.
Sorted it out when applying the fix for
http://wordpress.org/support/topic/images-run-over-tabcontent?replies=4
Then it happened, when i removed that everything works
Thank you very much for the replay, it pointed me to int the right direction, but to avoid the scroll showing up I used the following:
.insidetab-wrapper:after{
content: ”;
display: block;
clear: both;
}
.left {
float: left;
width: 220px;
}
.right {
float: left;
width: 460px;
}
Hi there I have used the above code for multi column tabs and it worlds great. My problem is that any where I have used it WordPress is also adding extra opening and closing paragraph tags before and after “insidetab-wrapper”. Any idea on how to get rid of these?
Thanks.
Hi, I don’t think that has to do with the plugin or the css, I have read a lot of time that wordpress does that automatically, I am not sure how to work it out…