It was at 100% so would be significantly wider than the image.
padding-bottom: 25px;
padding-top: 20px;
}
- #toolbox figure {
- text-align: center;
- }
}
.category-search-map-sibling {
float: none;
.search-result-item .memberSR {
width: 100% !important;
}
- .search-result-item .memberSR img {
-/* margin-left: auto !important;
- margin-right: auto !important;
- float: none !important;*/
- }
-}
\ No newline at end of file
+}
+
+figcaption {
+ max-width: 100%;
+ width: 325px;
+}
+
+
{
$imageData = $this->_adapter->getImageSize($size . $this->_src);
- $html = '<div class="left small-12 medium-4 columns">'
- . '<figure>';
+ $html = '<figure class="toolboxSectionImageFigure left small-12 medium-4 columns">';
$html .= parent::getImage($size);
if (!empty($this->_caption)) {
$html .= '<figcaption>';
$html .= $this->_caption;
$html .= '</figcaption>';
}
- $html .= '</figure></div>';
+ $html .= '</figure>';
return $html;
}
{
$imageData = $this->_adapter->getImageSize($size . $this->_src);
- $html = '<div class="right small-12 medium-4 columns"><figure>';
+ $html = '<figure class="toolboxSectionFigureInner right small-12 medium-4 columns">';
$html .= parent::getImage($size);
if (!empty($this->_caption)) {
$html .= '<figcaption>';
$html .= $this->_caption;
$html .= '</figcaption>';
}
- $html .= '</figure></div>';
+ $html .= '</figure>';
return $html;
}