quick-start
wm-atomic-docs
installation
css-classes
colors
colors-row-themes
javascript-modules
row-components
git-usage
git-fixing-mistakes
git-cheatsheet
how-tos
site-structure
site-variables
bem-resources
sass-resources
link-elements
list-elements
normalize
fancybox
print
cheatsheet-functions-and-mixins
function-color
function-font
function-px-to-rem
function-remove-unit
function-spacing
mixin-banner-heights
mixin-breakpoints
mixin-button-styles
mixin-color-theme
mixin-fluid-anything
mixin-link-styles
mixin-menu-open-closed-styles
mixin-right-arrow
mixin-social-media-icons
wm-breakpoints
breakpoint-cheatsheet
wm-colors
vims-colors
wm-font-families
wm-spacing
wm-widths-and-heights
wm-z-indexes
wm-border
wm-element-styles
location-array
heading-specs
listing-specs
background-image
heights
switch
sr-only
theme-colors
wm-helper-min-js
wm-plugins-js
wm-shortcodes-js
perfect-scrollbar
wm-main-js
wm-secondary-js
adjust-row-card-height
event-row-js
news-feed-js
tiny-slider-js
wm-row-slideshow-js
global
headings
text-treatments
buttons
links
lists
tables
forms
images
svg-caret-white
wm-row-base-component
wm-split-layout-component
wm-row-buttons
wm-cards-component
wm-description-text-component
wm-card-component
wm-text-card-component
wm-image-card
wm-statnum-component
themes
listing-layout
main-layout
sharebar
alert
boxcopy
breadcrumbs
broadcast-bar
buttons-wm
bxSlider
default-extra-announcements
default-extra-events
default-extra-features
default-extra-news
directory-with-photo-grid
dropdown
emergency-info
figure
figure-responsive
figure-icon
galleria-gallery-slideshow
header
horiz-nav
lightbox
lightbox-content
listing-page-item
news-home-latest-news
news-home-top-stories
photoset
rrssb
search-form
search-results
sidebar-listboxes
sidebar-news-events-rss
sidebar-news-home-video
sidebar-news-press-releases
sidebar-news-wminthenews
sidebar-widgets
table-collapsible
tables-wm
text
wysiwg-photos
youtube-embeds
examples-listboxes-widgets
examples-listings
examples-headings
-user-content-styles
announcement-content
atoz-listing
campus-map-content
content-page-content
directory-content
_experts-content
feature-page-content
full-page-content
gallery-page-content
gateway-page-content
grid-classic
grid-classic-right-col
grid-classic-rows
grid-classic-multisize
grid-classic-multisize-right-col
grid-flow
grid-flow-right-col
grid-flow-titles
grid-flow-captions
_ideation-story-content
_ideation-story-header-content
listing-page-announcements
listing-page-children
listing-page-directory
listing-page-features
listing-page-files
listing-page-news-stories
listing-page-portfolio
multimedia-grid-content
news-home
news-story-content
portfolio
row
sidebar
slideshow-research
tr-form-content
youtube-playlist
embed-row
button-bar-row
_base-row
accordion-list-row
announcements-row
callout
contact-place
content-row
events
fiftyfifty
icons
links-row
news-feed-row
search-row
statistics
video-feature
homepage-hero
homepage-admission
homepage-programs
homepage-stats
topbar-logo-homepage
menu-banner
topbar-logo-section
topbar
banner
banner-medium
banner-tall
banner-super
chosen
footer
info-for-menu
page-nav
page-nav-ideation
page-nav-news
page-nav-social-buttons
site-menu
AtoZ-Listing-template
Campus-Map-Location-template
Content-Page-template
_Experts-Page-template
Feature-Page-template
Full-Page-template
Gallery-Page-template
Gateway-Page-template
Gateway-Page-left-nav-template
_Ideation-story-template
Landing-Page-template
Multimedia-Grid-template
News-Media-Home-template
News-Story-template
Slideshow-Page-template
Paste-N-Test-template
WM-Homepage-template
Announcement
AtoZ-Listing
Campus-Map-Location
Content-Page
Content-Page-2-Columns
Content-Page-Grid-all-versions
Content-Page-Grid-Classic
Content-Page-Grid-Masonry
Directory-Page
_Experts-Page
Feature-Page
Full-Page
Gallery-Page
Gateway-Page
Gateway-Page-left-nav
_Ideation-Story
Landing-Page
Listing-Page-Announcements
Listing-Page-Children
Listing-Page-Directory
Listing-Page-Features
Listing-Page-Files
Listing-Page-News-Stories
Listing-Page-Portfolio
Multimedia-Grid
_News-Media-Home
News-Story
Portfolio-Page
Slideshow-Page
YouTube-Playlist
Paste-N-Test
WM-Homepage
wm-cheatsheet
vims-cheatsheet
7-page-content
edit
multimedia-grid-content
edit
1693 Scholars Photo Galleries
Freshmen Canoe Trip 2018
Eastern Shore trip November 2017
Pumpkin Carving October 2017
Freshmen Canoe Trip 2018
Eastern Shore trip November 2017
Pumpkin Carving October 2017
HTML
Output
SCSS
Add a javascript file
Expand
Copy
Edit
<!-- components/7-page-content/multimedia-grid-content.php --> <!-- _internal/_formats/legacy/_deprecate /Head Extra - Multimedia Grid --> <style type="text/css"> section#main { padding: 2.3em; } .grid { background: #f0f1f2; overflow: hidden; padding: 10px; width: 272px; box-sizing: content-box; } .grid figure { display: block; position: relative; overflow: hidden; float: left; width: 250px; height: 185px; margin: 10px; border: 1px solid #fff; background: #000; box-sizing: content-box; } .grid figure img { width: 250px; height: 185px; } .grid figcaption { position: absolute; background: #000; background: rgba(0, 0, 0, 0.7); color: #fff; padding: 10px; margin: 0; opacity: 1; text-align: center; bottom: 0; left: 0; font-weight: 300; width: 230px; box-sizing: content-box; } .no-touch .grid figcaption { opacity: 0; bottom: -50%; } .grid figcaption .title { font-size: 16px; display: block; margin: 5px 0; } .grid figcaption .desc { font-size: 14px; display: block; margin: 5px 0; line-height: 16px; } .video-wrapper { border: none; height: 185px; width: 250px; } @media screen and (min-width: 720px) { .grid { width: 577px; padding: 18px 19px; } .grid figure { margin: 18px; } } @media screen and (min-width: 1000px) { .grid { width: 883px; padding: 21px 22px; max-width: none; } .grid figure { margin: 21px; } } </style> <?php outputElement("header", "1693 Scholars Photo Galleries"); ?> <div class="grid" style="margin: 20px auto 40px !important;"> <figure><a href="canoe_2018/index.php"><img alt="canoe2018_thumb" src="<?php echo $asset_url; ?>/as/1693scholars/galleries/canoe_thumb1.jpg"> <figcaption><span class="title">Freshmen Canoe Trip 2018</span></figcaption> </a></figure> <figure><a href="eastern_shore_murray/index.php"><img alt="esthumb" src="<?php echo $asset_url; ?>/as/1693scholars/galleries/esthumb.jpg"> <figcaption style="bottom: -50%; opacity: 0;"><span class="title">Eastern Shore trip November 2017</span></figcaption> </a></figure> <figure><a href="pumpkin_carving_2017/index.php"><img alt="pumpkinthumb" src="<?php echo $asset_url; ?>/as/1693scholars/galleries/thumb_pumpkin.jpg"> <figcaption><span class="title">Pumpkin Carving October 2017</span></figcaption> </a></figure> <figure><a href="canoe_2018/index.php"><img alt="canoe2018_thumb" src="<?php echo $asset_url; ?>/as/1693scholars/galleries/canoe_thumb1.jpg"> <figcaption><span class="title">Freshmen Canoe Trip 2018</span></figcaption> </a></figure> <figure><a href="eastern_shore_murray/index.php"><img alt="esthumb" src="<?php echo $asset_url; ?>/as/1693scholars/galleries/esthumb.jpg"> <figcaption style="bottom: -50%; opacity: 0;"><span class="title">Eastern Shore trip November 2017</span></figcaption> </a></figure> <figure><a href="pumpkin_carving_2017/index.php"><img alt="pumpkinthumb" src="<?php echo $asset_url; ?>/as/1693scholars/galleries/thumb_pumpkin.jpg"> <figcaption><span class="title">Pumpkin Carving October 2017</span></figcaption> </a></figure> </div>
Copy
Copy
Edit
/* scss/7-page-content/_multimedia-grid-content.scss */