Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@retlehs
Copy link
Member

@retlehs retlehs commented Apr 12, 2015

i'd like to move this out of sage. it could possibly be moved into a plugin. this also basically achieves the same thing:

// Gallery shortcode
.gallery-columns-3 {
  .make-row();
}
.gallery-columns-3 .gallery-item {
  .make-sm-column(4);
}
.gallery-item .attachment-thumbnail {
  &:extend(.thumbnail all);
}
.gallery-caption {
  display: none;
}
add_filter('use_default_gallery_style', '__return_false');

@retlehs
Copy link
Member Author

retlehs commented Apr 29, 2015

ref roots/soil#85

@retlehs retlehs force-pushed the remove-bootstrap-gallery branch from bdfdf5e to 7066299 Compare April 29, 2015 04:49
@retlehs
Copy link
Member Author

retlehs commented Apr 29, 2015

sass equivalent:

// Gallery shortcode
.gallery-columns-3 {
  @include make-row();
}
.gallery-columns-3 .gallery-item {
  @include make-sm-column(4);
}
.gallery-item .attachment-thumbnail {
  @extend .thumbnail;
}
.gallery-caption {
  display: none;
}

retlehs added a commit that referenced this pull request Apr 29, 2015
@retlehs retlehs merged commit 9efeb67 into master Apr 29, 2015
@retlehs retlehs deleted the remove-bootstrap-gallery branch April 29, 2015 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants