-
AuthorSearch Results
-
January 23, 2024 at 12:40 am #1431726
In reply to: Full Size featured image in blog posts
Thank you all! The Force Regenerate Thumbnails plugins did the trick. It deleted old thumbnails so everything is displaying correctly now. Thank you again!
January 20, 2024 at 6:15 pm #1431586In reply to: Full Size featured image in blog posts
Hi,
Thanks for the feedback, it sounds like this is working for you since the new uploaded thumbnails are correct, the Regenerate Thumbnails plugin is typically the best working one, are you using server cache or a CDN that needs to be cleared? When you used it did you get any errors, try running it again or try this one:
Force Regenerate Thumbnails, it says that it deletes the old images so perhaps you will want to backup your site first.Best regards,
MikeJanuary 19, 2024 at 2:44 pm #1431487In reply to: Full Size featured image in blog posts
Thank you. Maybe the regenerate thumbnails plugin is not working as the Featured images are still showing as cropped: https://sleepnetmasks.com/new_2023/2023/04/28/what-does-it-mean-to-be-baa-compliant/
When I re-upload the image it is displaying correctly. Don’t really want to go back through 100+ posts to reupload the images! Any suggestions?
January 17, 2024 at 10:33 am #1430793In reply to: Full Size featured image in blog posts
Hey Phil,
Thank you for the inquiry.
To adjust the size of the blog post thumbnail, you can add this code in the functions.php file.
function avf_customization_modify_thumb_size( $size ) { $size['entry_without_sidebar'] = array( 'width' => 9999, 'height' => 9999 ); $size['entry_with_sidebar'] = array( 'width' => 9999, 'height' => 9999 ); return $size; } add_filter( 'avf_modify_thumb_size', 'avf_customization_modify_thumb_size', 10, 1 );After adding the filter, you can use the following plugin to regenerate the thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelJanuary 16, 2024 at 2:49 pm #1430707Topic: Full Size featured image in blog posts
in forum Enfoldpdmmidd
ParticipantHi, I am trying to display the full-size feature image in my blog posts. I have installed the Simple Image Sizes plugin and adjusted image sizes there and regenerated thumbnails, but the images are still getting cropped.
January 11, 2024 at 9:33 am #1429795In reply to: Object-fit for images in magazine style
Thank you Ismael, that’s appreciated – as you noticed I have managed to sort square thumbnails for this purpose, but thank you for the CSS to apply, and will give that a go!
January 11, 2024 at 9:32 am #1429793In reply to: Object-fit for images in magazine style
Thanks for coming back to me Guenni007, and appreciate your suggestion. Because I’m not using WordPress to drive the theme/site, I was unable to use your suggestion as-is, as I couldn’t work out where to apply it directly into the CSS, but instead I’ve simply generated square thumbnail versions of the images for use in that particular section.
But, problem solved, and appreciate your time.
January 11, 2024 at 9:30 am #1429792In reply to: Object-fit for images in magazine style
Hi,
Thank you for the update.
Looks like you’ve managed to fix the issue by uploading square images (300x300px). If you still want to adjust the size of the magazine thumbnails using css, you can try this code.
.av-magazine-thumbnail-link > img { width: 100%; height: 100%; object-fit: cover; }Best regards,
IsmaelJanuary 10, 2024 at 9:24 am #1429688Hey goldengate415,
Thank you for the inquiry.
As mentioned in the previous post, you can use the avf_modify_thumb_size filter to disable certain registered thumbnails, preventing the theme from generating unwanted image sizes and saving space.
add_filter('avf_modify_thumb_size', 'avf_modify_thumb_size_mod', 10, 1); function avf_modify_thumb_size_mod($size) { unset($size['magazine']); unset($size['widget']); unset($size['portfolio_small']); unset($size['gallery']); unset($size['entry_with_sidebar']); unset($size['entry_without_sidebar']); unset($size['shop_thumbnail']); unset($size['shop_catalog']); unset($size['shop_single']); return $size; }Once the filter is added, you can use the following plugin to regenerate the thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails/
Please make sure to create a site backup before doing any of the above.
Best regards,
IsmaelJanuary 6, 2024 at 5:33 pm #1429408In reply to: Object-fit for images in magazine style
on docu – you can find a possibility not to use for those images a different source :
see https://kriesi.at/documentation/enfold/magazine/ and search for: image_sizemaybe we can use the avf_magazine_defaults filter to change that. … ;)
put this to your child-theme functions.php:function avia_magazine_thumbnail($atts, $magazine){ $atts['image_size']['small'] = 'square'; return $atts; } add_filter('avf_magazine_settings', 'avia_magazine_thumbnail', 10, 2);January 5, 2024 at 3:08 pm #1429360Topic: Object-fit for images in magazine style
in forum Enfoldnickfarrelluk
ParticipantHi
I’m trying to make images object-fit: cover in magazine style, so that the images are complete squares – image below.
Are you able to assist with a bit of CSS to do this – I’ve tried replicating what you suggested for my last thread, but it just doesn’t seem to be working, and I don’t want it to affect the large logos on the left hand side – just the small thumbnails on the right hand side?

Thanks so much in advance!
January 3, 2024 at 11:49 am #1429174In reply to: Make blog header span full width
Hi,
I see that the original featured image image is smaller than the full screen width, so first you will need to make this as large as your screen width.
Then install the Simple Image Sizes plugin and adjust image size for entry_with_sidebar size and the featured size and turn off cropping
and then use the Regenerate Thumbnails plugin to reset the thumbnail sizes, typically this plugin works better that the other plugin for regenerating thumbnails.
If you have trouble try uploading a new image that is fullwidth with a different file name to ensure the new image size is working correctly.Best regards,
MikeJanuary 3, 2024 at 1:12 am #1429157In reply to: Make blog header span full width
Thanks!
There is no way to change the dimensions of featured image thumbnail (825px x 425px) to be larger so that it does not look pixelated?
January 2, 2024 at 6:12 pm #1429138In reply to: Make blog header span full width
Hi,
Glad that this helped, the image may look pixelated because it is a featured image thumbnail (825px x 425px) shown at full screen, I didn’t notice it much on my screen, but if you have a larger screen you might notice it more.
When I check the title is centered on the screen, but if you mean center align the text try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.single-post .big-preview.single-big .banner { text-align: center; }You can remove the image overlay in the Enfold Theme Options ▸ Advanced Styling ▸ Linked Image Overlay option:

Best regards,
MikeDecember 30, 2023 at 4:20 pm #1429033Hi,
The code Ismael posted above worked for me changing the backend “portfolio” labels to “sites” after I adjusted it some:add_action('after_setup_theme', function() { remove_action('init', 'portfolio_register'); }); add_action('init', 'portfolio_register_mod'); function portfolio_register_mod() { global $avia_config; $labels = array( 'name' => _x('sites', 'post type general name','avia_framework'), 'singular_name' => _x('sites', 'post type singular name','avia_framework'), 'add_new' => _x('Add New', 'sites','avia_framework'), 'add_new_item' => __('Add New Sites Entry','avia_framework'), 'edit_item' => __('Edit Sites Entry','avia_framework'), 'new_item' => __('New Sites Entry','avia_framework'), 'view_item' => __('View Sites Entry','avia_framework'), 'search_items' => __('Search Sites Entries','avia_framework'), 'not_found' => __('No Sites Entries found','avia_framework'), 'not_found_in_trash' => __('No Sites Entries found in Trash','avia_framework'), 'parent_item_colon' => '' ); $permalinks = get_option('avia_permalink_settings'); if(!$permalinks) $permalinks = array(); $permalinks['portfolio_permalink_base'] = empty($permalinks['portfolio_permalink_base']) ? __('sites', 'avia_framework') : $permalinks['portfolio_permalink_base']; $permalinks['portfolio_entries_taxonomy_base'] = empty($permalinks['portfolio_entries_taxonomy_base']) ? __('sites_entries', 'avia_framework') : $permalinks['portfolio_entries_taxonomy_base']; $args = array( 'labels' => $labels, 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => array('slug'=>_x($permalinks['portfolio_permalink_base'],'URL slug','avia_framework'), 'with_front'=>true), 'query_var' => true, 'show_in_nav_menus'=> true, 'taxonomies' => array('post_tag'), 'supports' => array('title','thumbnail','excerpt','editor','comments') ); $args = apply_filters('avf_portfolio_cpt_args', $args); $avia_config['custom_post']['portfolio']['args'] = $args; register_post_type( 'portfolio' , $args ); $tax_args = array( "hierarchical" => true, "label" => "Sites Categories", "singular_label" => "Sites Category", "rewrite" => array('slug'=>_x($permalinks['portfolio_entries_taxonomy_base'],'URL slug','avia_framework'), 'with_front'=>true), "query_var" => true ); $avia_config['custom_taxonomy']['portfolio']['portfolio_entries']['args'] = $tax_args; register_taxonomy("portfolio_entries", array("portfolio"), $tax_args); //deactivate the avia_flush_rewrites() function - not required because we rely on the default wordpress permalink settings remove_action('wp_loaded', 'avia_flush_rewrites'); }but to change the permalinks from ‘portfolio-items’ to ‘sites’ you will need to adjust the permalink field and then resave the permalinks:

then the database will be updated:

You will need to do this because you can not overwrite the register-portfolio.php file in the child theme and the original file still add the portfolio function, otherwise you will have your new CPT and the portfolio CPT both showing in the permalinks options.
Or you can try laptophobo’s plugin option.Best regards,
MikeDecember 26, 2023 at 8:45 am #1428872In reply to: Removing Placeholder Images from Blog Entries
Hi,
Sorry about that. Try to replace the previous css with the following code.
.fake-thumbnail .slide-image { display: none; }Best regards,
IsmaelDecember 14, 2023 at 1:03 pm #1428089In reply to: Gallery Problems on IOS
Its still there – I use a gallery with a large pic above and then thumbnails below:
See here https://imgur.com/a/CtqoqxJDecember 14, 2023 at 8:38 am #1428060In reply to: Shop image size
Hey SRF,
Thank you for the inquiry.
Please add this code in the functions.php file to disable the theme’s predefined thumbnail size for shop pages.
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }Best regards,
IsmaelDecember 14, 2023 at 7:20 am #1428057Topic: Shop image size
in forum EnfoldSRF
ParticipantMy shop image size is set to 450px, please see this screenshot: https://app.screencast.com/ZE8PMaQbt9KDC. However on the WooCommerce setting (customize > WooCommerce > store image) it is set as 800px and uncropped.
How can I show images uncropped in the shop page?
Here’s the example of the page I’m referring to: https://bookstore.yogananda-srf.org/product-category/self-realization-magazine
Please note that I have already tried regenerating the thumbnails.
December 13, 2023 at 2:42 am #1427932In reply to: Add post featured image on author page
Hi nebuddlho,
Yes, it’s possible but you would need to use a child theme.
If you aren’t using a child theme yet, you can get it here: https://kriesi.at/documentation/enfold/child-theme/Once you have installed the child theme, create includes folder inside it, then copy loop-author.php from Enfold (parent theme) and paste it inside includes.
Then find this code in line 72:$content_output = '<div class="entry-content" ' . avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false ) ) . '>';above it, add this code:
if ( has_post_thumbnail($the_id) ) { echo '<div class="author-featured-image">'; echo get_the_post_thumbnail( $the_id, 'large' ); echo '</div>'; }Hope it helps.
Best regards,
Nikko-
This reply was modified 2 years ago by
Nikko.
December 10, 2023 at 8:17 pm #1427724In reply to: Website speed
Hi,
I tested the page you linked to, linked below, and it loaded in about 4 seconds which is pretty good, I did notice some of your images are large

so if you compressed these it would help, I tested your three largest images on TinyPNG.com and found that you could save 73%:

They have a plugin if you want to try it, or you can use their site to compress the images and then replace yours via FTP.
Please note that if your original image was compressed when you uploaded it, WordPress makes copies of it for the different thumbnails and then adds the new image size to the file name like your-image-705×529.jpg but these new images are often larger that the original and are the ones you see on the frontend, so this is why I recommend a plugin that will work on these or downloading these images via FTP or your webserver file manager then compressing them and then upload them via FTP so WordPress doesn’t make copies of them again. Check out this post: How to bulk compress WordPress images.
When I check your site it looks like you are not using a caching plugin, does your webhost offer server caching like Varnish or Litespeed, typically these are better than a caching plugin, otherwise WP Fastest Cache is a good plugin.
Hopefully this will be helpful.Best regards,
MikeDecember 6, 2023 at 12:11 pm #1427330Topic: FIXED: product images on overview page changed size
in forum EnfoldMunford
ParticipantFIX: regenerated thumbnails in woocommerce > status > tools
and then added this code to functions.php (via https://kriesi.at/support/topic/different-image-sizes-on-category-overview-page/#post-1403765)add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }hi
I had to replace some images for my products but now the thumbnails on the overview page are smaller than the others
I don’t see where to control this or change it.
Not sure why this is happening since the new files are the same size as the old ones.
Can you help me with this? need a fix asap.
thanks!December 6, 2023 at 11:08 am #1427325Topic: Fullslider with thumbnail
in forum Enfoldjb84
ParticipantHi
is it possible with Enfold to achieved the image fullslider with small pictures (for previous/next) slides as you can see as the link in private?Regards
December 2, 2023 at 5:45 pm #1426969In reply to: Same author posts
Hi,
I tested some more on my demo site and the following code seems to work well, so you can try replacing the code that I added to your child theme functions.php with this:function display_author_posts() { if (is_single()) { global $post; $author_id = $post->post_author; $num_posts_to_display = 4; // adjust to the number of posts to display per row any number higher than 3 $items_per_row = 4; // adjust to the number of items per row either 3, 4, or 5 if (isset($_GET['items_per_row'])) { $items_per_row = intval($_GET['items_per_row']); $items_per_row = in_array($items_per_row, array(3, 4, 5)) ? $items_per_row : 3; } $args = array( 'author' => $author_id, 'post__not_in' => array($post->ID), 'posts_per_page' => $num_posts_to_display, ); $author_query = new WP_Query($args); if ($author_query->have_posts()) { $post_counter = 0; echo '<div class="author-posts container">'; echo '<h2>Other Articles by ' . get_the_author_meta('display_name', $author_id) . '</h2>'; echo '<div class="article-grid">'; while ($author_query->have_posts()) { $author_query->the_post(); $post_counter++; if ($items_per_row === 4) { $item_class = 'av_one_fourth'; } elseif ($items_per_row === 5) { $item_class = 'av_one_fifth'; } else { $item_class = 'av_one_third'; } $first_class = ($post_counter % $items_per_row === 1) ? ' first' : ''; echo '<div class="article-item ' . $item_class . ' flex_column' . $first_class . '">'; echo '<a href="' . get_permalink() . '">'; echo '<img src="' . get_the_post_thumbnail_url($post->ID) . '" alt="' . get_the_title() . '" />'; echo '</a>'; echo '<h3><a href="' . get_permalink() . '">' . get_the_title() . '</a></h3>'; echo '<span class="post-meta-infos">'; echo '<time class="date-container minor-meta updated"> ' . get_the_date() . '</time>'; echo '<span class="blog-categories minor-meta"> / in ' . get_the_category_list(', ') . '</span>'; echo '<span class="blog-author minor-meta"> / by <a href="' . get_author_posts_url($author_id) . '">' . get_the_author() . '</a></span>'; echo '</span>'; echo '</div>'; if ($post_counter % $items_per_row === 0) { echo '<div style="clear:both;"></div>'; } } echo '</div>'; echo '</div>'; } wp_reset_postdata(); } } add_filter('ava_before_footer', 'display_author_posts');it adds the “Other Articles by [author]” to the bottom of the posts just above the footer after the “related posts” and the comment form, this is the expected result:

in the code above you will note two options:
$num_posts_to_display = 4; // adjust to the number of posts to display per row any number higher than 3
$items_per_row = 4; // adjust to the number of items per row either 3, 4, or 5
the $num_posts_to_display is the total posts from the author you want to show, if it is the same as the second option you will see just one row, if it use double you wil see two rows, etc.
the $items_per_row is how many items in each row, you can choose only 3, 4, or 5 due to the required classes needed for the built-in theme css to create the grid. I wanted this function to use the theme classes and layout so it is consistent with the rest of the theme.Best regards,
MikeNovember 28, 2023 at 10:25 am #1426588In reply to: Shrinking side bar menu
i’m so sorry – i pasted only the function above that i tested on the demo pages with developer tools.
i forgot to wrap it as Mike said for the child-theme functions.php.
________See how a test on dev tools work with script :
Just open the console and enter the function you like to test. Return – and testNovember 24, 2023 at 10:11 am #1426383In reply to: Bigger preview images in gallery block
Hi!
The Large thumbnail is set to 1920 x 1080 px in Settings > Media always, we did not change this now, but we still just get 1030 px images when downloading from the gallery. Is there anything else we can do?
November 24, 2023 at 10:07 am #1426382Hi,
Thank you for the screenshot.
The theme modifies some of the product templates, but there’s nothing related to the rating element, so it’s probably modified or generated by a plugin. You can hide the rating container above the thumbnail with this css code.
.thumbnail_container .rating_container { display: none; }Best regards,
IsmaelNovember 21, 2023 at 9:55 pm #1426217navindesigns
Participantwhen pausing my video, the youtube profile thumbnail shows up on the upper left hand side
how do i remove that?
November 15, 2023 at 3:58 pm #1425693In reply to: Productbox Size
Hi Christian,
I think the layout is hard to really hard to fix because there are basically 2 layouts, image sizes varies from small and very tall images, and the varying length of the titles.
The complexity might be solved with some javascript but I’m not an expert on that, so I can only give you some CSS codes to try to help make it look better, please try to remove.product .av-product-class-minimal { height: 470px; min-height: 470px !important; }and replace it with:
@media only screen and (max-width:767px) { #top ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } #top ul.products .product { clear: none; display: flex; flex-direction: column; justify-content: flex-start; float: none; margin: 0; width: 100%; } #top ul.products .product-category a { display: block; position: static !important; } #top ul.products .product-category a .woocommerce-loop-category__title { position: absolute; bottom: 0; left: 0; width: 100%; } #top ul.products .type-product .thumbnail_container { min-height: 270px; } #top ul.products .type-product .thumbnail_container img { max-height: 240px; width: auto !important; margin-left: auto; margin-right: auto; } }Best regards,
NikkoNovember 9, 2023 at 12:15 am #1425039In reply to: Bigger preview images in gallery block
Hey mediebruket,
Thank you for the inquiry.
Did you adjust the size of the Large thumbnail in the Settings > Media panel? Please note that you have to upload the images again or regenerate them with a plugin.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Ismael -
This reply was modified 2 years ago by
-
AuthorSearch Results
-
Search Results
-
Hi, I am trying to display the full-size feature image in my blog posts. I have installed the Simple Image Sizes plugin and adjusted image sizes there and regenerated thumbnails, but the images are still getting cropped.
Hi
I’m trying to make images object-fit: cover in magazine style, so that the images are complete squares – image below.
Are you able to assist with a bit of CSS to do this – I’ve tried replicating what you suggested for my last thread, but it just doesn’t seem to be working, and I don’t want it to affect the large logos on the left hand side – just the small thumbnails on the right hand side?

Thanks so much in advance!
Topic: Shop image size
My shop image size is set to 450px, please see this screenshot: https://app.screencast.com/ZE8PMaQbt9KDC. However on the WooCommerce setting (customize > WooCommerce > store image) it is set as 800px and uncropped.
How can I show images uncropped in the shop page?
Here’s the example of the page I’m referring to: https://bookstore.yogananda-srf.org/product-category/self-realization-magazine
Please note that I have already tried regenerating the thumbnails.
FIX: regenerated thumbnails in woocommerce > status > tools
and then added this code to functions.php (via https://kriesi.at/support/topic/different-image-sizes-on-category-overview-page/#post-1403765)add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }hi
I had to replace some images for my products but now the thumbnails on the overview page are smaller than the others
I don’t see where to control this or change it.
Not sure why this is happening since the new files are the same size as the old ones.
Can you help me with this? need a fix asap.
thanks!Topic: Fullslider with thumbnail
Hi
is it possible with Enfold to achieved the image fullslider with small pictures (for previous/next) slides as you can see as the link in private?Regards
when pausing my video, the youtube profile thumbnail shows up on the upper left hand side
how do i remove that?

