January 29, 2020 at 8:27 am #14469
The theme is great but I wondered if you could point me to the code that will change the single post image sizing to be square rather than landscape. The present default cuts the top and bottom from images.
Thanks in advance,
January 29, 2020 at 4:28 pm #14470
Thanks so much for using our Course Maker Pro theme! We love how you’ve used it on your site. 🙂
To change the Blog Featured Image crop sizes, you can find the settings near Line 123 of /lib/theme-setup.php:
add_image_size( 'featured-image', 720, 400, true );
Change this setting to your desired size, save the file, and upload it to your server, overwriting the old file.
After you change this setting, you’ll want to force WordPress to regenerate your thumbnails, so they are all the correct size. You can use a plugin like Regenerate Thumbnails to accomplish this.
Thanks again and good luck using the Course Maker Pro theme!
January 31, 2020 at 3:53 am #14473
Thanks for getting back to me.
I had tried the suggestion you kindly offered, but something is still cropping the single post image.
In theme-setup.php I have:
// * Add Image Sizes add_image_size( 'featured-image', 720, 720, true ); add_image_size( 'featured-article', 800, 800, true );
I regenerated thumbnails. I have cleared various caches
If you have time to see the archives here:
You will see that the original images towards the bottom of the page are square, but when you click through to the single post it is reverting to a cropped 500 x 400 image.
I have played around with various css settings within
.single-post .featured-image imgbut all this seems to do is resize to full width & height but still crops out the top and bottom.
Sadly, and despite your kind words about the design, my client has focused in on the image cropping issue. So any other ideas from you would be much appreciated.
Thanks again and have a great weekend.
January 31, 2020 at 5:33 am #14474
Sorted the issue out. Thanks again for your engagement.
January 31, 2020 at 11:19 am #14475
We’re glad you got your issue sorted.
The team here at brandiD loves how your site looks! If we were to create a Showcase of how our users have customized Course Maker Pro, would we have your “ok” to show off your live site with attribution?
February 4, 2020 at 5:09 am #14487
Thank you for your kind words. I am just waiting to get the API to allow me to add the PayPal option to the website. Once that is complete, I will confirm with the Client that they would be happy to showcase their site.
Have a great week.
- You must be logged in to reply to this topic.