Landscape preview virtue theme
-
I like the Virtue Theme, is beautiful !
But I cannot understand how to get the Recent Posts Portrait preview featured images AND the Single Blog Header featured image to contain the image instead of cropping it or hiding overflow.
I don’t want square imaging (recent blogs page), (home page blog) ecc
Thanks for any help!
-
Hey,
In Theme Options > Page/Post Settings you can set the Blog Post Summary Default to a landscape image. Does that work for you?Hannah
I have set,
but I want landscape images in the summary in home page (both portfolio & blog)
And in the images inside the post (whit gallery )
Example http://www.buttinoni.it/blogHey,
The recent posts that you can set in your theme options > home layout will always have cropped images. The only way to change that would be through the code using a child theme. They default to square and you would need to edit templates/home/blog-home.php line 8On your blog page you can set the ratio of the images using the summary set to landscape and setting the max width and max height setting in the post. By default that is 848x400px
I hope that helps,
Kadence Themes
Hey,
i have change the line 8 in theme child but nothing:<div class=”home_blog home-margin clearfix home-padding”>
<?php if(kadence_display_sidebar()) {
$home_sidebar = true;
$img_width = 407;
$postwidthclass = ‘col-md-6 col-sm-6 home-sidebar’;
} else {
$home_sidebar = false;
$img_width = 270;
$postwidthclass = ‘col-md-6 col-sm-6’;
}can help me?
In the blog page the problem is this (square gallery)
http://www.buttinoni.it/blog/fotografo-matrimonio-palazzo-colleoni/
Where did you place the blog-home.php file in your child theme? Did you make sure to place it in a templates/home/ folder structure?
The blog page you can control for each post in your max width and max height settings. Just match that with the image ratio your uploading.
Kadence Themes
Yes is in the home folder of child theme
wpcontent/themes/virtue-child/
-
This reply was modified 9 years, 7 months ago by
Carlo Buttinoni.
https://www.dropbox.com/s/46c6wgsma7gaztx/Senza%20titolo.jpg?dl=0

-
This reply was modified 9 years, 7 months ago by
Carlo Buttinoni.
-
This reply was modified 9 years, 7 months ago by
Carlo Buttinoni.
-
This reply was modified 9 years, 7 months ago by
Carlo Buttinoni.
It should be in a folder called home… like this:
wp-content/themes/virtue-child/templates/home/blog-home.php
Kadence Themes
Thanks,
one thing I have not solved,
the square size of the thumbnails in the blog post if I use the gallery (horizontal images are loaded) in fact if I click it I see horizontal but the preview is square
how can I fixexample http://www.buttinoni.it/blog/fotografo-matrimonio-palazzo-colleoni/
Thank you so much for your patience
Did you set the max width and max height in your post settings to match that of your images?
You define the ratio by setting those options.
Kadence Themes
Hi, the problem is in the image of the post
and no in the slider in the head (is set 650×1140)
if i disabled the kandence toolkit the image are correct!
the square ratio is only in the image insert in the post (whit gallery format), but the original image is no square!in the article setting I see the photos in the right proportion, but the article does see the photos in the square proportion! if I remove your plugin the proportion is exact
if i click on the square image in the post the image have the right ratio (the problemm is only whit the thumbnail of the post)I’m Confused… Please post a link to the exact page where you see a square image.
I keep feeling like the topic is changing? Are we no longer talking about the slider on the top of your post?
-
This reply was modified 9 years, 7 months ago by
The topic ‘Landscape preview virtue theme’ is closed to new replies.
