Home › Forums › Weaver Xtreme Theme › Is there a way to set the featured picture of the latest post appear much bigger?
- This topic has 6 replies, 3 voices, and was last updated 6 years, 7 months ago by
scrambler.
-
AuthorPosts
-
November 20, 2015 at 09:26 UTC #18356
Tomas
ParticipantHello, I learned how to set featured images and they appear correctly.
I’d just like to set the featured image of my newest post appear muchbigger on top of the title of the post title. The rest can remain as those smallerthumbnail sized ones. Can this be done on Weaver Xtreme?November 20, 2015 at 17:08 UTC - Views: 5 #24976Weaver
KeymasterAdd this rule to the Main Options -> Fonts & Custom -> Custom CSS Rules section:
.post-order-1 .featured-image {height:30%; width:30%;}
This will change the size, not the location, which can’t be changed for just the first post.
The % is a % width of the content area. Change those to meet your needs. Do note that depending on the default FI size you’ve set (like thumbnail, for example), this rule will change the display size of the FI without changing that actual resolution of the image, so it is possible the larger FI will be a bit fuzzy. (But it really depends on what you’ve set thumbnail size as in the Settings : Media menu, and what your default FI size is.
November 20, 2015 at 17:44 UTC - Views: 2 #24977scrambler
Moderator@weaver, this brings back an old feature request of mine, being able to set the featured images options also at the page with post level and at the show-posts filter level 🙂
@Tomas For the size, if you need the first featured image to be really bigger, you could set all featured images to medium , large of full so you don’t loose quality on the first one, then we could give you CSS to reduce the size all the other ones.
Provide a link to the page when in place so we can help with the CSS.
If all your featured images will always have the same size, we may also be able to come up with some CSS to move that first one above the title.
November 20, 2015 at 21:05 UTC #24978Weaver
KeymasterI don’t think this case is exactly allowing per page and per post options, but rather is talking about the most recent post, which will always have the .post-order-1 class.
November 20, 2015 at 22:31 UTC #24979scrambler
ModeratorYes, but if we had the feature, he could do that with two show posts shortcodes.
Use one for the first post with featured image above title and a second one for the rest of the post with featured image inside the content 🙂
November 24, 2015 at 19:56 UTC #24980Tomas
ParticipantHello, Weaver and Scrambler, i managed to increase the size of the first post’s featured image. 🙂
I set it to 40 % and 40 % and yes, I am talking of the most recent post, not per page and per post options.How exactly do I retain the quality of the featured image?November 24, 2015 at 20:29 UTC #24981scrambler
ModeratorAs I said, set the size of the featured image to a large size for all (in main options > Post Specifics > Featured image), then post a link to the page and tell us how small you want all the post except the top one, and we will give you a CSS rule to do that.
The rules to use will probably be
.wvrx-posts .featured-image {max-width:150px;}
.wvrx-posts .post-order-1 .featured-image {max-width:none;}Placed where you had the previous rule.
Note: You may not need the previous rule any more.
-
AuthorPosts
- You must be logged in to reply to this topic.