2014-06-05

Insert tabs in magento 1.9 responsive theme

For creating tabs you need to write some html:
Title 1
Content html 1
Title 2
Content html 2
Where ajax-tabs - your own class.
And include styles in your scss file:
@include bp(min-width, $bp-medium + 1) {
    .ajax-tabs {
        @include tabs;
    }
}

@include bp(max-width, $bp-medium) {
    .ajax-tabs {
        @include accordion;
        @include accordionCollapse;
    }
}

No comments:

Post a Comment