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 10 years, 7 months ago by jennifergrayeb.
-
AuthorPosts
-
May 9, 2013 at 9:04 pm #40222mseledwardsParticipant
Hiya ๐
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 #40321AnitaKeymasterOpen up your functions.php file. Look for the area for image settings. Add this in there:
add_image_size( ‘featured’ , 600, 200, TRUE );
Love coffee, chocolate and my Bella!
May 10, 2013 at 12:15 pm #40346mseledwardsParticipantThank 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 #40378AnitaKeymasterOpen 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).
Love coffee, chocolate and my Bella!
May 10, 2013 at 3:21 pm #40379AnitaKeymasterOh... you might need to put it like this - 'featured'
Love coffee, chocolate and my Bella!
May 11, 2013 at 2:42 pm #40505mseledwardsParticipantThank 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 #40509AnitaKeymasterThe Featured Image doesn't automatically show up at the top of the posts or pages. That is something you have to manually do.
Love coffee, chocolate and my Bella!
May 11, 2013 at 3:01 pm #40510mseledwardsParticipantAh, 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 #40511AnitaKeymasterOh, I haven't created any of the themes. I am just a volunteer moderator for the Community Forum and do custom edits.
Love coffee, chocolate and my Bella!
May 14, 2013 at 4:04 pm #40915mseledwardsParticipantAh, 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 #58745jennifergrayebParticipantI 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.