Community Forums › Forums › Archived Forums › General Discussion › Adjusting Featured Image Size on Home Page
Tagged: Feature Image sizing, home page
- This topic has 15 replies, 8 voices, and was last updated 9 years, 5 months ago by Susan.
-
AuthorPosts
-
June 10, 2015 at 12:11 pm #155752woodshopmikeMember
Hi,
I cannot for the life of me figure out how to adjust the featured image size on my homepage. My homepage displays my latest blog post, below that post are snippets from the 6 previous posts. The featured images for these recent posts is what I'm trying to fix. As is, they are just cropped and look terrible.
Thanks in advance!
http://woodshopmike.com/June 10, 2015 at 12:16 pm #155753Brad DaltonParticipant1. Add this to your functions file and change the values for width and height
//* Add new featured image size add_image_size( 'custom-grid-featured', 270, 100, TRUE );
2. Regenerate thumbnails
3. Change the value in your home.php on this line to this'grid_image_size' => 'custom-grid-featured',
June 10, 2015 at 12:28 pm #155756woodshopmikeMemberbraddalton,
Man, thanks a million that looks so much better!
Now, if you look at those images, they aren't lined up all nice and neat.... Is there a way to for them to be even? It appears that the length of the post titles is pushing the images up or down. Can it be adjusted to make the images be a set distance under the title?
June 10, 2015 at 12:30 pm #155757Brad DaltonParticipantJune 10, 2015 at 12:33 pm #155758woodshopmikeMemberI wish I could just say, oh thanks! But how do I rearrange that?
June 11, 2015 at 6:56 am #155837MaadiMemberBy using below mention plugin Wood..
Here is the plugin link: https://wordpress.org/plugins/regenerate-thumbnails/
Install the plugin, Define the desire size 7 then click on regenrate thumbnail option under Tools or may be settings.
Coming soon … Genesis Expert
LinkedIn| FacebookJune 13, 2015 at 2:22 pm #156125TomParticipantThis CSS snippet makes all of your home page headers equal height; for titles of 1, 2, and 3 lines
.home .entry-header { min-height: 120px; }
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]June 13, 2015 at 4:35 pm #156132TomParticipantTo move the grid thumbnail image above the title, I twisted some code from Bill Erickson into this ...
FIrst, in home.php, find
function eleven40_grid_loop_helper
and change the grid image to be null using two single quote marks:
'grid_image_size' => '',
Then add this code underneath the
eleven40_grid_loop_helper
function and beforegenesis()
:add_action('genesis_entry_header', 'child_grid_loop_image', 5 ); /** * Grid Loop Image * @author Bill Erickson * @link http://www.billerickson.net/genesis-grid-loop-content/ * */ function child_grid_loop_image() { if ( in_array( 'genesis-grid', get_post_class() ) ) { global $post; echo '<p class="grid-thumbnail"><a href="'.get_permalink().'">'.get_the_post_thumbnail($post->ID, 'grid-thumbnail').'</a></p>'; } }
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]June 14, 2015 at 5:42 am #156161woodshopmikeMemberTom,
Thank! I think rearranging the images to be above the titles looks much better. I appreciate your help!
Regards,
Mike
June 14, 2015 at 1:01 pm #156184Brad DaltonParticipantJuly 24, 2015 at 2:19 pm #160345sahdowParticipantBraddalton pitching your membership site in the forums isn't cool. Why not just post the code you mention and be part of the community, or if you want to charge for your information - do it in the appropriate place.
July 24, 2015 at 2:29 pm #160349MoodyRivieraMemberHi @sahdow
Interesting comment there about Brad. Just to let you know that there are people who would disagree with what you said...and I am one of those people
Brad is a huge and valuable contributor to this forum. It's hard to think of anyone who does more for people looking for help here than Brad Dalton...so I'm surprised anyone would be upset by his "one-line link to his web site."
Many developers and designers who come here to answer questions, show a link to their own sites where they might hope to attract business for their services...and I'd say that Brad has just as much right as any of those other people.
It's not as if he's "pitching" anything or doing anything that "isn't cool." it's just a one-line" signature.
*MoodyRiviera*
July 24, 2015 at 2:49 pm #160353sahdowParticipantRead reply #156184 immediately above mine.
Click on his link (it's not in the signature - which I would be totally cool with). Takes you to a page that requires a purchase to get the solution, how's that not pitching your wares in a support forum?
I don't care how much someone contributes, most forums would consider that a TOS violation.
"Here’s my solution http://wpsites.net/wordpress-themes/move-featured-image-before-title-on-genesis-grid-loop/"
July 24, 2015 at 2:54 pm #160358Erik D. SlaterMember... it’s not in the signature - which I would be totally cool with ...
It used to be ...
Brad: You may be doing yourself a bit of an injustice 🙂
Erik D. Slater: Digital Platform Consultant • LinkedInJuly 24, 2015 at 3:07 pm #160360MoodyRivieraMemberWe all have our own opinions. I don't consider that Brad is doing anything wrong. There's another very helpful guy on here who also provides links to his site and requires a paid subscription for most of his solutions...I don't have a problem with him, either.
Why?
Because we don't always get the answers we need on this forum. Sometimes it just doesn't work out. And when that happens, we can become frustrated and lost.
So then what's wrong with a guy coming on here and pointing us to a solution that might involve a cost? I think it's better to offer that than to have questions go unanswered.
I don't mind paying for useful and helpful advice...and I may not want to wait around and hope that I can get a good answer 'free of charge." I appreciate the free advice...and I provide a lot of free advice myself.
But I'm running a business, and when I'm having trouble with WordPress, I don't have a problem paying a reasonable price for advice that helps me out of a problem.
No one is forced to pay for Brad's services, and the bottom line is: As someone once said, "If you like the free advice you're getting, you can keep the free advice you're getting."
*MoodyRiviera*
July 25, 2015 at 5:49 am #160401SusanModeratorThere is nothing in the forum rules which prevents someone from offering their services. It becomes an issue if someone is spamming the forum with something they are selling.
There is a rule, however, which @sadhow has violated:
Use basic courtesy and respect for your fellow members in the threads and replies.
In looking at this thread, Brad offered guidance to the OP without "pitching" a paid solution. It was only at the end that he provided a link to how he used the solution. That's not against the rules.
As to suggestions that Brad
be part of the community
looking at Brad's numbers indicates that he *is* a valuable part of the community.
Since this topic seems to have deviated from the OP's request, I will close the thread.
-
AuthorPosts
- The topic ‘Adjusting Featured Image Size on Home Page’ is closed to new replies.