Rengin
Forum Replies Created
-
Forum: Plugins
In reply to: [Visual Form Builder] Forms gone in back-end after updating WordPressYou can mark this one as resolved or delete it. Until about 15 minutes after updating WordPress I didn’t get a notification to update VFB as well. The forms are visible again now.
Forum: Themes and Templates
In reply to: Stockholm theme – Featured images being squashedFixed it! It’s actually pretty easy once you know where to look. So, for other people looking for this answer:
First, adapt the images sizes in the functions.php file to the dimensions that you want them to be. In my case:
add_image_size( ‘portfolio_masonry_regular’, 790, 526, true );
add_image_size( ‘portfolio_masonry_tall’, 790, 1052, true );
add_image_size( ‘portfolio_masonry_large’, 1579, 1052, true );Then, rebuild the thumbnails with a plugin (downloadable for free from WordPress, I use “Regenerate Thumbnails”.
Now, if you still have an issue with your rebuilt thumbnails being stretched, this probably because the js is forcing it to be a certain height even though the width is a percentage. So, open the stylesheet.min.css file and look for the “.projects_masonry_holder .image_holder img” class and add !important to the height:auto line. This way, the auto height won’t be overridden by other things.
Hope this provides a quick answer to someone, I’ve been searching for it for two weeks, haha.
Forum: Themes and Templates
In reply to: Stockholm theme – Featured images being squashedFixed it! It’s actually pretty easy once you know where to look. So, for other people looking for this answer:
First, adapt the images sizes in the functions.php file to the dimensions that you want them to be. In my case:
add_image_size( 'portfolio_masonry_regular', 790, 526, true ); add_image_size( 'portfolio_masonry_tall', 790, 1052, true ); add_image_size( 'portfolio_masonry_large', 1579, 1052, true );
Then, rebuild the thumbnails with a plugin (downloadable for free from WordPress, I use “Regenerate Thumbnails”.
Now, if you still have an issue with your rebuilt thumbnails being stretched, this probably because the js is forcing it to be a certain height even though the width is a percentage. So, open the stylesheet.min.css file and look for the
.projects_masonry_holder .image_holder img
class and add!important
to theheight:auto line
. This way, the auto height won’t be overridden by other things.Hope this gives a quick answer to someone that needs it. I’ve been looking for it for two weeks, haha.
Forum: Themes and Templates
In reply to: Stockholm theme – Featured images being squashedI did contact the theme support, but they refused to help me because it’s not included with their default features. That’s why I was including as much code as I thought was relevant and hoping that someone knew how to solve the issue.