Tagged: Blog, featured image, index, layout
-
AuthorPosts
-
September 11, 2015 at 9:05 pm #501879
Hi,
I am using the ‘blog post’ builder element on a homepage that is being built and can be seen here: http://redesign.openfin.co/ (scroll to the bottom section).
I am attempting to make it look more like this:
I can see from the default Enfold Demo page here that it is much closer to what I need – featured image align left of title/excerpt. How do I get this layout?
Also, will it be possible to increase the size of the featured image thumb? I will need them 272px X 272px.
Thanks!
September 12, 2015 at 7:46 am #501987Hey Slade,
If you select Single Author, small preview in the Blog Style option in the element option you will get that look.
Regards,
RikardSeptember 12, 2015 at 7:51 am #501988Hi Rikard,
That is what I have selected. I haven’t touched any of the blog options in the main Enfold blog admin…would that matter?
September 12, 2015 at 9:55 am #502032Hi,
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.
Best regards,
RikardSeptember 12, 2015 at 10:04 am #502038Here you go
September 14, 2015 at 6:58 am #502494Hey!
If the sidebar is disabled, the blog styling will adjust itself. Add this in the Quick CSS field to reverse it:
#top .fullsize .template-blog .blog-meta { float: left; margin-right: 50px; } #top .fullsize .template-blog .post .entry-content-wrapper { padding-right: 0; padding-left: 0; overflow: hidden; }
Regards,
IsmaelSeptember 14, 2015 at 7:42 am #502507Excellent as always Ismael! Thanks!
One other question – the small preview wants to pull up the thumb that tis 180px X 180px….how do I force it to pull the full size image? I’ve increased the size of the thumb area to 272px X 272px but it looks fuzzy now.
Thanks!
September 14, 2015 at 4:12 pm #502875Hi!
You could change line 43 in the /enfold/includes/loop-index.php file from this.
$size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
To this.
$size = 'full';
Or you could edit line 118 in the /enfold/functions.php file from this.
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
To this.
$avia_config['imgSize']['square'] = 'full'; // small image for blogs
And then regenerate your thumbnails with this plugin, http://wordpress.org/extend/plugins/regenerate-thumbnails/.
Cheers!
ElliottSeptember 15, 2015 at 1:18 am #503086Thanks Elliot!
Is there no way to get this into the child-theme? I would hate to have to make this be a part of any updates (changing the function.php line #118).
September 15, 2015 at 12:42 pm #503290Hi!
Please add following code to Functions.php file of your child theme in Appearance > Editor
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 ); function enfold_customization_modify_thumb_size( $size ) { $size['square'] = 'full'; return $size; }
Regards,
YigitSeptember 15, 2015 at 7:05 pm #503613Perfect!
Thank you! This is solved and can be closed.
-
AuthorPosts
- The topic ‘Single Author Blog Index layout’ is closed to new replies.