Tagged: featured image, masonry
Hello,
For the masonry portfolio we got several options. We choose the option with ‘landscape’ and ‘portrait’ tags. I was wondering if it would be possible to do another one of these where it gets 2×2 size (4xNormal blog/portfolio size)?
This is something I would love to have, so you got the options of:
1. Normal size.
2. Twice the height. (portrait)
3. Twice the width. (landscape)
4. (NEW) Twice height and width.
Is it possible to do so? I know that it would require a little more here and there, but I can’t find anywhere else where someone should have asked about this. And to me it seems like a normal choice to have that just isn’t included yet.
Could it be something like adding some CSS to ‘shortcodes.css’
.av-fixed-size .av-masonry-entry.av-landscape-img .av-inner-masonry-sizer{ padding-bottom:40%;}
.av-fixed-size .av-masonry-entry.av-portrait-img .av-inner-masonry-sizer{ padding-bottom:160%;}
example: (maybe?)
CSS:
.av-fixed-size .av-masonry-entry.av-double-img .av-inner-masonry-sizer{ padding-bottom: 160%; }
#top .container .av-masonry-entry.av-double-img { width: 100%; }
masonry_entries.php add:
if(in_array(‘landscape’, $tags)){ $img_size .= ‘ av-landscape-img’; }
if(in_array(‘double’, $tags)){ $img_size .= ‘ av-double-img’; }
Not sure if something like that might work?
Hi!
All feature requests can be posted here to then be voted on for inclusion in the theme: https://kriesi.at/support/enfold-feature-requests/
Best regards,
Devin