Loading...
Top Bar Widget, use plain HTML. Learn more

bs Isotope

// Fix inside Tabs or Accordion

/*!
 * Bootscore custom styles
 */

// Add your own code here!
// Because this file is compiled after Bootstrap, you're also able to use Bootstrap mixins for better code.
// Some examples can be found here: https://bootscore.me/documentation/bootstrap-css-sass

.accordion-collapse {
  opacity: 0;
  //transition: opacity .15s;
  transition-delay: .35s; // Show collapse content if Isotope is loaded 
	
  &.show {
	  opacity: 1;
  }
}




jQuery(function ($) {

  // Fix Isotope inside Bootstrap Accordion
  var $grid = $('.grid').isotope({
    // your isotope options
    itemSelector: '.item',
  });

  $('.accordion').on('shown.bs.collapse', function (e) {
    $grid.isotope('layout');
  });


}); // jQuery End

Inside Tabs

This is some placeholder content the Home tab’s associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

This is some placeholder content the Contact tab’s associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

Inside Accordion

This is the first item’s accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It’s also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.

This is the third item’s accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It’s also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.

Pages by parent id

[bs-isotope-equal-height type="page" post_parent="1843"]

Isotopes by category

[bs-isotope-masonry type="isotope" tax="isotope_category" terms="planes, boats, cars"]

Posts by category

[bs-isotope-equal-height type="post" tax="category" terms="cars, boats, bikes" orderby="title" order="ASC" posts="6"]

Posts by tag

[bs-isotope-masonry type="post" tax="post_tag" terms="sticky, template" orderby="title" order="ASC" posts="20"]

Custom post types by parent-category id

[bs-isotope-masonry-overlay type="isotope" tax="isotope_category" terms_parent="234" orderby="rand"]
Unicorn Wallpaper

Car 2

Lorem

Horizontal Featured Image

Boat 1

Lorem

Golden Gate Bridge

Car1

Lorem

Sea and Rocks

Plane 1

Lorem

Custom post types by category

[bs-isotope-equal-height-overlay type="isotope" tax="isotope_category" terms="cars, planes"]
Sea and Rocks

Plane 1

Lorem

Unicorn Wallpaper

Car 2

Lorem

Golden Gate Bridge

Car1

Lorem

Products by category

[bs-isotope-product type="product" tax="product_cat" terms="tshirts, accessories, hoodies, music" orderby="title" order="ASC" posts="10"]
To top