CSS for more than one column inside tab
-
Hello, I have been trying to add a div inside the tab to have more than one column, but I haven’t been able to work it out.
These is what I have done:
//Html
<?php echo do_shortcode(‘[tabby title=”my_tab”]’);?>
<div class=”columns_container “>
<div class=”prg_col_left”>
//content
</div>
<div class=”prg_col_right”>
//content
</div>
</div>//Css
@media screen and (min-width: 769px) {
. columns_container{
position: relative;
}
.column_left{
float:left;
width:300px;
}
. column_right{
float:right;
width:400px;
}
}My problems start with display:block
.responsive-tabs .responsive-tabs__panel–closed-accordion-only {
display: block;//problem
}I tried to change the display from block to table and it seems to work until you resize the screen and everything gets mess up. I am not saying there is something wrong with the plugin, it may be the way I am trying to work it out.
Do you have any comments or suggestion that can point me in the right direction? Anything will be appreciated, thanks.
- The topic ‘CSS for more than one column inside tab’ is closed to new replies.