Homepage pane featured image size?
-
I’m unable to locate the setting for the size of the featured images. In particular, I’m trying to set the dimensions for the featured image in the homepage panes. I tried using the ajax thumbnail rebuild plugin, but to no avail. It did, however, display this in the rebuild selections – “graphene-homepage-pane (340×170 cropped)”. That leads me to think that it’s either a selection I can’t find, or hard-wired.(?)
Ideally, I’d like to set max. dimensions, and have the image resized like any other post. Failing that, I’d like to set a fixed size, or pre-size my uploaded images.
My site – http://kenmcneill.com
Thanks,
Ken
I also find that if I don’t define a featured image, any local image in the post becomes the featured image for the homepage pane.(?)
Thanks again…
Did you find out why featured images are cropped?
Same problem here. When i uploaded a featured image 2 month before, the images had full width (without cropping) in the homepage pane.
Thanks,
Sonja
Sonja, I don’t know why, but it seems that they are getting a crop command from a bit of php in theme-setup(?) At that point, I decided I was out of my depth, and learned to live with it. 😉
I find it curious that if you set a featured image, the homepanes coding sets it as left aligned. If you let it pull the image from your post, it aligns to the center. Both ways are the same size and aspect ratio.
Ken
Mod
The relevant part of the style sheet is
.homepage_pane .excerpt-thumb {
text-align: center;
}
.homepage_pane img{
-moz-box-shadow: -2px 2px 5px #777;
-webkit-box-shadow: -2px 2px 5px #999;
box-shadow: -2px 2px 5px #999;
margin: 0 auto 5px auto;
max-width: 100%;
height: auto;
}Copy and paste that into your child theme’s style sheet or into custom CSS option and play around with the various options.
Not tested; YMMV
@Ken,
YMMV: Another acronym added for my dictionary! 🙂
Mod
@Prasanna,
Did you see my dictionary?
I’m ROFL after reading them. Some of them will never enter my /dev/null
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
