Hello, I am redesigning a website for a client. I migrated over their blog to a new domain with the enfold theme. On their old wordpress theme, the featured blog image had no default size, it took on whatever size the image was by default within the post. Is there a way to replicate this functionality on the enfold blog theme? I have URL examples in the private section so you can see what I mean. Thanks!
Just wanted to give this a bump. Any ideas on how to accomplish this?
Hi,
You need to edit the single file and remove the height on the featured image.
If you are comfortable, copy the file to your child theme and do the edit there!
Should get the results you want.
Best regards,
Basilis
Great! Yes, I can make that edit myself. What is the file name and is there a specific piece of code I should use? Thanks!
Hi,
The theme limits the height of the featured image up to 321px for single post pages with sidebar and 423px pages without a sidebar. You can adjust that limit with this plugin:
// https://wordpress.org/plugins/simple-image-sizes/
Activate the plugin, go to the Settings > Media panel and look for the “entry_with_sidebar” and “entry_without_sidebar” thumbnails. Adjust the width and height value, update, save and then regenerate the thumbnails afterwards.
Best regards,
Ismael