Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Bootstrap gallery #1421

Merged
merged 1 commit into from
Apr 29, 2015
Merged

Remove Bootstrap gallery #1421

merged 1 commit into from
Apr 29, 2015

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.

1 participant