Community Forums › Forums › Archived Forums › Design Tips and Tricks › Balance demo theme image settings
- This topic has 10 replies, 3 voices, and was last updated 12 years, 8 months ago by
jennifergrayeb.
-
AuthorPosts
-
May 9, 2013 at 9:04 pm #40222
mseledwards
ParticipantHiya ๐
I'm running the Balance theme on my site (http://heavenandel.com) and I'd like to have the images show up under the title, the same size as they are on the demo theme.From reading elsewhere here on the forum, I gather that this needs to be 600x200 but where do I need to set it as such in my theme settings? And what should I set as the thumbnail size?
Many thanks in advance for your help,
El
http://heavenandel.comMay 10, 2013 at 10:56 am #40321AnitaC
KeymasterOpen up your functions.php file. Look for the area for image settings. Add this in there:
add_image_size( ‘featured’ , 600, 200, TRUE );
Need help with customization or troubleshooting? Reach out to me.
May 10, 2013 at 12:15 pm #40346mseledwards
ParticipantThank you ๐ I did that but it doesn't seem to have done anything. I checked under the general genesis settings and see that the 600x200 is now listed as a choice for the size of featured image so it has done something, but not what I was hoping it would ๐
Any ideas what I'm missing? Thanks ๐
May 10, 2013 at 3:20 pm #40378AnitaC
KeymasterOpen home.php and look for this:
genesis_grid_loop( array( 'features' => 1, 'feature_image_size' => 0, 'feature_image_class' => 'align none post-image', 'feature_content_limit' => 0, 'grid_image_size' => 'grid', 'grid_image_class' => 'align none post-image', 'grid_content_limit' => 0, 'more' => __( 'Continue reading...', 'genesis' ), 'posts_per_page' => 5, ) );
Where it says "0" for feature image size - change the 0 to the word "featured" (but without the quotes I put).
Need help with customization or troubleshooting? Reach out to me.
May 10, 2013 at 3:21 pm #40379AnitaC
KeymasterOh... you might need to put it like this - 'featured'
Need help with customization or troubleshooting? Reach out to me.
May 11, 2013 at 2:42 pm #40505mseledwards
ParticipantThank you so much ... 'featured' did it for the home page.
Not wanting to push my luck but, I was looking for something similar on functions.php (because Balance doesn't appear to have a single.php) because now the images are showing on the home page but not on the single post page but I couldn't see anything that might do it. Any ideas?
May 11, 2013 at 2:55 pm #40509AnitaC
KeymasterThe Featured Image doesn't automatically show up at the top of the posts or pages. That is something you have to manually do.
Need help with customization or troubleshooting? Reach out to me.
May 11, 2013 at 3:01 pm #40510mseledwards
ParticipantAh, ok, thank you ๐ I've had themes in the past that, when you set a featured image, they showed up on the post so I wondered if this might be the same. Thanks so much for all you help ๐
Love your themes ๐ I almost went with your pretty theme but I needed something responsive.
May 11, 2013 at 3:03 pm #40511AnitaC
KeymasterOh, I haven't created any of the themes. I am just a volunteer moderator for the Community Forum and do custom edits.
Need help with customization or troubleshooting? Reach out to me.
May 14, 2013 at 4:04 pm #40915mseledwards
ParticipantAh, sorry, I saw the 8 in your Twitter handle and though you were the lady from 8 crazy designs. My mistake. ๐
Thanks again for all you do here - muchย appreciated.
August 25, 2013 at 1:06 pm #58745jennifergrayeb
ParticipantI wanted to re-surface this post, as I too am having image size issues with this theme, both with my featured images in a full size post, along with the teasers (grid).
The default functions.php included this:
/** Add new image sizes */
add_image_size( 'grid', 295, 100, TRUE );
add_image_size( 'portfolio', 300, 200, TRUE );I added this to the end of that per the conversation above:
add_image_size( ‘featured’ , 600, 200, TRUE );
Yet my featured images still appear whatever size the featured image is set. My understanding was that even if the image I set as "featured" is 900x500 (making up a number), this function would resize it to 600x200. Any ideas?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.