Are you comfortable with modifying template files?
Hi,
Yes … ish. More comfortable adding custom css, but yes. I’m using Suffusion, so editing template files isn’t always so easy, but I’m up for a challenge!
I’ve tried adding img.attachment-thumbnail {min-width:100%; height:auto;} to the theme, which was getting me somewhere, but not the complete solution
Maybe that was a bit of a daft thing to say. Do you mean modifying EDD template files or theme ones? Either way – chuck us some code!
Hi Pippin,
Have I got this wrong, or were you going to kindly offer up a template modification for this? Or are you just very busy and I need to be patient?!!
Doug
Sorry for the delay.
Here’s a quick video that shows how to modify template files in EDD: https://easydigitaldownloads.com/videos/template-files/
You can modify the image size displayed by tweaking the “the_post_thumbnail()” function in the template file: https://codex.wordpress.org/Function_Reference/the_post_thumbnail
Hi,
Thanks for the reply.
I have created folder edd_templates in my theme (Suffusion) and have uploaded the available templates from EDD plugin. Have successfully edited the cart template for instance.
Now I’m stuck .. am I looking for the the_post_thumbnail() function in wp-includes, or in the active theme?
Thanks
Hi Doug,
The the_post_thumbnail function is in your theme. Run a search through your theme for it and then you can pass in other sizes as per the doc.