Forum Replies Created
-
AuthorPosts
-
jennifergrayebParticipant
I'm still having this issue myself. My functions.php file is correct but images (both featured and grid) are not being resized accordingly.
jennifergrayebParticipantI figured it out! Still having some spacing issues, but this did the trick for anyone looking to add a widget area above their first post on the home page. Add this to your functions.php:
/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'welcome-text',
'name' => __( 'Welcome Text', 'genesis' ),
'description' => __( 'This is the welcome text widget.', 'themename' ),
) );/** Add the welcome text section */
add_action( 'genesis_before_loop', 'custom_welcome_text' );
function custom_welcome_text() {
genesis_widget_area( 'welcome-text', array(
'before' => '<div class="welcome-text widget-area">',
) );
}jennifergrayebParticipantI 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