-
AuthorSearch Results
-
July 23, 2021 at 4:51 pm #1311939
Topic: Change blog post to full width/page layout
in forum EnfoldJeroen0517
ParticipantWhen creating a new blog post the standard blog layout is used until you manually switch to the advanced editor and safe it.
I create blog posts by adding the enfold shortcode to the standard text field. But if you do that, the code is shown in the standard blog design.
If I open the page, switch to advanced editor and then safe it, everything is fine.If I do the same with a page, it works fine. But I can’t use that, because I need to show these pages as a blog.
The problem is the standard layout of the post, with the meta data, thumbnail from the post etc. After changing to advanced editor and saving it, it’s fine.
Because all posts are created automatically I can’t do this manually.
The question is: how can I change the design of a standard post to the same design of a new page?
July 22, 2021 at 3:02 pm #1311497In reply to: scr-set Attribut for full width Slider
Hi Chris,
I have assumed that you are using a FULL WIDTH slider and not the FULL SCREEN slider. The Full screen slider uses background css images and requires a different solution to below. I’ll send you some css if you need it.
Unofficial response but something I have been working on for a while and have the following solution:
Turn on Responsive images in the Enfold performance panel – This activates Srcset. The full width slider uses this function. As long as you have the right size thumbnails set up it will serve the smaller size images on different screensizes. Make sure you clear your cache.
The default WordPress Srcset implimentation serves images per screen size width – So for a full width element – Fully optimised requires the thumbnail sizes below.
On a 360px wide screen it will serve a 360px wide image.I personally use the Shortpixel Regenerate Thumbnails Advanced Plugin to add some extra sizes. It is free and compatible with Enfold.
Please be CAREFUL if you remove other thumbnails as it may affect your site design depending on the other Enfold default sizes used throughout the site.I personally recommend adding or making sure the following sizes are covered:
360px wide – Google speed testing – Small Mobiles
450px wide – All other mobiles
768px wide – Ipad Portrait
1024px wide – Ipad landscape
1440px wide – macbook pro/720p screens
Upload size 1920px wide Native size – 1080p – (4K screens normally apply a zoom by default)If your slider has no minimum height set then this should automatically work as the image will scale in uniform.
If you set a minimum height then you may need to upload a taller image to compensate as Srcset uses the screen width not the height to determine which image to serve. The image may become blurred on smaller screens as the image will be stretched to the min-height.
-
This reply was modified 4 years, 8 months ago by
thinkjarvis.
July 22, 2021 at 2:02 pm #1311482Topic: Post format video not showing thumbnail
in forum Enfoldemilconsor
ParticipantHi,
we’re trying to use the post format video for some posts we’re using viedos within.
Unfortunately, the blog post grid doesn’t show the video as thumnail. It just shows nothing.We’ve tryed a embedded video via Iframe and via enfold video element but with same result, the thumbail is still missing.
hope you can help us out with that.
Thanks in advance,
SebastianJuly 20, 2021 at 10:39 am #1310859In reply to: Essential Image Sizes
Hey Tim,
Thank you for the inquiry.
It may depend on the elements that are actually used in the site. If there are a lot of masonry elements for example and they are all set to use the default thumbnail, then the “masonry” thumbnail should be kept. WordPress also default back to the original image if a thumbnail is not available, so even if we remove all thumbnails, the site should still work fine.
The following threads should help.
// https://kriesi.at/support/topic/enfold-image-sizes-3/#post-1109028
// https://kriesi.at/support/topic/how-can-i-delete-all-enfold-image-sizes/Best regards,
IsmaelJuly 17, 2021 at 1:51 pm #1310490Hi,
Thank you for your patience and the links to your site, the portfolio size images on the archive pages is set by line 190 in the enfold/functions.php file

I didn’t find an easy way to adjust the image size on the archive page so I would recommend changing the portfolio size fromarray('width'=>495, 'height'=>400 );to mmatch the magazine sizearray('width'=>710, 'height'=>375 );and then you will need to regenerate your thumbnails and then check.
This would also change any other use of the portfolio thumbnails on your site, but it doesn’t look like this would be an issue for you.Best regards,
MikeJuly 16, 2021 at 7:38 pm #1310429In reply to: Label Plugin
I mean a plugin that enables the option the add for example a sold out label to the product thumbnail.
An example is ” WooCommerce Advanced product labels”. Unfortunately it’s not compatable with enfold.Thanks for further help.
July 14, 2021 at 9:16 am #1310081In reply to: Portfolio Display Problem
Hey mirotck,
Thank you for the inquiry.
The size of the images in the portfolio grid are not the same, which is why the items are not aligned. To keep the grid consistent, you have to make sure that the images have the same size and aspect ratio. You could also select a specific size or thumbnail in the Styling > Grid Settings > Portfolio Grid Image Size settings, but thumbnails may still vary in width and height, so this may not work as expected.
Best regards,
IsmaelJuly 12, 2021 at 12:33 pm #1309752In reply to: Full size image in content area
Hey Knutnik,
Thank you for the inquiry.
What do you mean by “option”? If you are referring to the size of the images, it may depend on the value that was set in the Enfold > General Layout > Dimensions > Maximum Container width field. The width of the 1/1 column will not exceed this value, so any image that has the same exact size as the maximum container width or larger should be fine.
The theme also adds an srcset attribute to images and displays the appropriate thumbnail based on the current screen size, but you may need to use an actual image element from the builder instead of manually adding the image in a text block. You have the option to select the full size or the original version of the image before inserting it.
Best regards,
IsmaelJuly 12, 2021 at 11:12 am #1309724In reply to: Center text after removed the date in search result
Hi Hejanni,
1. This would require using a child theme, if you don’t have one yet then please download it at https://kriesi.at/documentation/enfold/child-theme/ and read the instructions on the documentation.
Then go to wp-content > themes > enfold > includes folder then copy loop-search.php, then go to the child theme, then create a folder and name it includes inside it paste the copied file.
Edit the file and find this code (it should be in line 105 in Enfold 4.8.3):echo '<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>';below it, paste this code:
if (get_the_post_thumbnail( $the_id )) { the_post_thumbnail( $the_id ); }2. Can you give us temporary access? the maintenance mode keeps appearing and prevents us from seeing the search results. I tried to check this on my local server but I don’t see this happening.
Best regards,
NikkoJuly 7, 2021 at 3:54 pm #1309121Topic: Thumbnail size in sidebar after moving to a new server
in forum EnfoldErwin
ParticipantHi,
In this topic you’ve helped me for displaying the thumbs with the desired dimensions. Yesterday I’ve moved the site to a new server and now the thumbs are very small and the background has the right dimension. How can I fix this?
Regards,
Erwin
July 6, 2021 at 6:50 pm #1308968In reply to: Blog Page – Post category and Date not displaying
Hello,
I’m also looking at the blog post “category” pages like the one linked below. Is there a way for me to style the text / labels on these and set the size of the thumbnail image?
Thanks again,
Joe
July 6, 2021 at 1:47 pm #1308938In reply to: Resolving blurred thumbnails on Masonry
Hi,
Thank you for trying the masonry gallery element, I see that the same issue with the WordPress created thumbnails is occuring, I’m not sure why. As I look at your /picturebooks/ page again, I almost believe that the images are correct until you hover over them and then they are blurry, please check again and see if you also believe this, if so we can investigate the css:.avia_desktop .av-masonry-entry:hover .av-masonry-image-container { -webkit-transform: scale(1.05,1.05); transform: scale(1.05,1.05); }But if you don’t think this is true, then I wrote this script for the /picturebooks/ page that will replace your thumbnails with the original image that is linked in the lightbox for you to try. Try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_masonry_img_script() { ?> <script> (function($){ $("#top.page-id-937 .av-masonry-entry").each(function(){ var imageUrl = $(this).attr("href"); $(this).find(".av-masonry-image-container img").attr("src", imageUrl); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_masonry_img_script');Best regards,
MikeJuly 4, 2021 at 8:07 pm #1308663In reply to: Resolving blurred thumbnails on Masonry
Hi,
Thank you for your patience, and the link to your site, when I compare the actual image & it’s thumbnail I see a slight difference, but I’m not sure what may cause this. It looks like you are using the masonry element, please try creating a test page using the masonry gallery element, it seems to offer multiple image sizes on page load that may help.Best regards,
MikeJuly 4, 2021 at 5:54 pm #1308658In reply to: Trouble with Latest News Widget Enfold
Hey Mickyhood,
Thank you for your patience, the /framework/php/ files can not be added to a child theme to override, you can copy the function you want to override to your child theme functions.php and make your changes, so for example to remove the image container from the Latest News widget

I copied this function from\wp-content\themes\enfold\framework\php\class-framework-widgets.phpif (!class_exists('avia_newsbox')) { class avia_newsbox extends WP_Widget { var $avia_term = ''; var $avia_post_type = ''; var $avia_new_query = ''; function __construct() { $widget_ops = array('classname' => 'newsbox', 'description' => __('A Sidebar widget to display latest post entries in your sidebar', 'avia_framework') ); parent::__construct( 'newsbox', THEMENAME.' Latest News', $widget_ops ); } function widget($args, $instance) { global $avia_config; extract($args, EXTR_SKIP); echo $before_widget; $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); $count = empty($instance['count']) ? '' : $instance['count']; $cat = empty($instance['cat']) ? '' : $instance['cat']; $excerpt = empty($instance['excerpt']) ? '' : $instance['excerpt']; $image_size = isset($avia_config['widget_image_size']) ? $avia_config['widget_image_size'] : 'widget'; /** * @since 4.5.4 * @return string */ $image_size = apply_filters( 'avf_newsbox_image_size', $image_size, $args, $instance ); if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; if(empty($this->avia_term)) { $additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count); } else { $catarray = explode(',', $cat); if(empty($catarray[0])) { $new_query = array("posts_per_page"=>$count,"post_type"=>$this->avia_post_type); } else { if($this->avia_new_query) { $new_query = $this->avia_new_query; } else { $new_query = array( "posts_per_page"=>$count, 'tax_query' => array( array( 'taxonomy' => $this->avia_term, 'field' => 'id', 'terms' => explode(',', $cat), 'operator' => 'IN') ) ); } } $additional_loop = new WP_Query($new_query); } if($additional_loop->have_posts()) : echo '<ul class="news-wrap image_size_'.$image_size.'">'; while ($additional_loop->have_posts()) : $additional_loop->the_post(); $format = ""; if(empty($this->avia_post_type)) $format = $this->avia_post_type; if(empty($format)) $format = get_post_format(); if(empty($format)) $format = 'standard'; $the_id = get_the_ID(); $link = get_post_meta( $the_id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $the_id ,'_portfolio_custom_link_url', true) : get_permalink(); echo '<li class="news-content post-format-'.$format.'">'; //check for preview images: $image = ""; if(!current_theme_supports('force-post-thumbnails-in-widget')) { $slides = avia_post_meta(get_the_ID(), 'slideshow', true); if( $slides != "" && !empty( $slides[0]['slideshow_image'] ) ) { $image = avia_image_by_id($slides[0]['slideshow_image'], $image_size, 'image'); } } if(current_theme_supports( 'post-thumbnails' ) && !$image ) { $image = get_the_post_thumbnail( $the_id, $image_size ); } $time_format = apply_filters( 'avia_widget_time', get_option('date_format')." - ".get_option('time_format'), 'avia_newsbox' ); echo "<a class='news-link' title='".get_the_title()."' href='".$link."'>"; $nothumb = (!$image) ? 'no-news-thumb' : ''; echo "<span class='news-thumb $nothumb'>"; echo $image; echo "</span>"; if(empty($avia_config['widget_image_size']) || 'display title and excerpt' != $excerpt) { echo "<strong class='news-headline'>".get_the_title(); if($time_format) { echo "<span class='news-time'>".get_the_time($time_format)."</span>"; } echo "</strong>"; } echo "</a>"; if( 'display title and excerpt' == $excerpt ) { echo "<div class='news-excerpt'>"; if(!empty($avia_config['widget_image_size'])) { echo "<a class='news-link-inner' title='".get_the_title()."' href='".$link."'>"; echo "<strong class='news-headline'>".get_the_title()."</strong>"; echo "</a>"; if($time_format) { echo "<span class='news-time'>".get_the_time($time_format)."</span>"; } } the_excerpt(); echo "</div>"; } echo '</li>'; endwhile; echo "</ul>"; wp_reset_postdata(); endif; echo $after_widget; } function update($new_instance, $old_instance) { $instance = $old_instance; $instance['title'] = strip_tags($new_instance['title']); $instance['count'] = strip_tags($new_instance['count']); $instance['excerpt'] = strip_tags($new_instance['excerpt']); $instance['cat'] = implode(',',$new_instance['cat']); return $instance; } function form($instance) { $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'count' => '', 'cat' => '', 'excerpt'=>'' ) ); $title = strip_tags($instance['title']); $count = strip_tags($instance['count']); $excerpt = strip_tags($instance['excerpt']); $elementCat = array("name" => __("Which categories should be used for the portfolio?", 'avia_framework'), "desc" => __("You can select multiple categories here", 'avia_framework'), "id" => $this->get_field_name('cat')."[]", "type" => "select", "std" => strip_tags($instance['cat']), "class" => "", "multiple"=>6, "subtype" => "cat"); //check if a different taxonomy than the default is set if(!empty($this->avia_term)) { $elementCat['taxonomy'] = $this->avia_term; } $html = new avia_htmlhelper(); ?> <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'avia_framework'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label></p> <p> <label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('How many entries do you want to display: ', 'avia_framework'); ?></label> <select class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>"> <?php $list = ""; for ($i = 1; $i <= 20; $i++ ) { $selected = ""; if($count == $i) $selected = 'selected="selected"'; $list .= "<option $selected value='$i'>$i</option>"; } $list .= "</select>"; echo $list; ?> </p> <p><label for="<?php echo $this->get_field_id('cat'); ?>"><?php _e('Choose the categories you want to display (multiple selection possible):', 'avia_framework'); ?> <?php echo $html->select($elementCat); ?> </label></p> <p> <label for="<?php echo $this->get_field_id('excerpt'); ?>"><?php _e('Display title only or title & excerpt', 'avia_framework'); ?></label> <select class="widefat" id="<?php echo $this->get_field_id('excerpt'); ?>" name="<?php echo $this->get_field_name('excerpt'); ?>"> <?php $list = ""; $answers = array( 'show title only' => __( 'show title only', 'avia_framework' ), 'display title and excerpt' => __('display title and excerpt', 'avia_framework') ); foreach ( $answers as $key => $answer ) { $selected = ""; if( $key == $excerpt ) $selected = 'selected="selected"'; $list .= "<option $selected value='$key'>$answer</option>"; } $list .= "</select>"; echo $list; ?> </p> <?php } } }and commented out lines 989-991

for this result:

Please give this a try.Best regards,
MikeJuly 4, 2021 at 4:44 pm #1308652In reply to: Automatic image formats – Image Upload Real Size
have a look at: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1270140
And: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1271808
be aware of the new snippet for uploading compression rate of images:
// new snippet to set the compression level of calculted images add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); function avf_set_quality_mod($quality) { $quality = 65; // compression level what you like in percent return $quality; }as described there, however, it is only responsible for the upload process. For the recalculating there are good plugins that do the rest after inserting the snippet for the already uploaded images.
July 2, 2021 at 6:40 pm #1308537Topic: Resolving blurred thumbnails on Masonry
in forum EnfoldSusanne
ParticipantHi there,
I use my website to display my illustrations portfolio, see here: https://www.suemasondesign.com/picturebooks/
Most of the thumbnails of the Masonry gallery in my portfolio are blurred, whereas the actual enlarged pic is sharp. Strangely however some of the thumbs are NOT blurred!
I have tried several plugins to sort this, to no avail.
Please help – maybe with a code in functions.php?Thank you!
July 2, 2021 at 1:54 pm #1308504In reply to: Featured images not displaying
I am using a standard wp feed, and the standard wp RSS widget but the featured images are not showing. I can see that the images are in the feed. Can you suggest?
this page displays the feed: https://mentorhubapp.org/mentorhub-blog/
THe images are in the feed. Here is the <img snippet of feed (https://www.evidencebasedmentoring.org/category/mentorhub/feed/) for the first article:

I already added this to functions.php
`function featuredtoRSS($content) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$content = ‘<div>’ . get_the_post_thumbnail( $post->ID, ‘medium’, array( ‘style’ => ‘margin-bottom: 15px;’ ) ) . ‘</div>’ . $content;
}
return $content;
}
add_filter(‘the_excerpt_rss’, ‘featuredtoRSS’);
add_filter(‘the_content_feed’, ‘featuredtoRSS’);July 2, 2021 at 5:50 am #1308460Hi,
Please try this CSS as well:
.single-product .thumbnails a { width: 60px !important; padding: 0px !important; }Best regards,
RikardJuly 1, 2021 at 10:35 am #1308284Hi Rikard,
meanwhile I updated to the latest Enfold version 4.8.3 and also updated the “Product Video for WooCommerce” plugin.
Unfortunately the provided CSS doesn’t seem to work anymore.#top .single-product-main-image .feat_image a { width: 96% !important; }This affected the thumbnail sizes before, we had 6 small ones down under the main product image.
I got this new CSS from the developers:
.Addify_Product_Videos-thumbnails a { width: 60px !important; padding: 0px !important; } .feat_image { margin-top:-15px; }wich is doing well, but only for products including a product video. I’ll post 2 links from the new test site to show what I mean:
No effect, way bigger thumbnails …
I hope you can help again?
Best regards,
DirkJune 29, 2021 at 8:22 am #1307874In reply to: masonry gallery caption
hello ismael, yes, ive tried that.
the thing is:
if you choose: show caption the caption is shown in the thumbnail gallery below the pic.
if you click it the thumnail the lightbox will show the pic . Below it is the title.But when you chose the option : Show title
the title is shown in the thumbnail gallery below the pic.
as soon as you click the lightbox to open the picture , the title – again – is shown below the pic.
Logic would be to show the description….?you could say: than choose Title AND caption…
but first of all below the thumbnail i only want to show the title, and secondly than again below the lightbox image the title is shown, not the description.for now what i do is swapping the two fields.
put in the title where the caption would be, and put in the caption where the title would be.
feels a bit unnatural but i can work with it.thanks, jelle
-
This reply was modified 4 years, 8 months ago by
yampieters.
June 28, 2021 at 5:55 am #1307656In reply to: 503 Service Unavailable error
Hi,
There were wordfence in the list. I uninstalled it to eliminate that possibility and the last problem I have encountered could not be that. Here is the list. Many are not CPU intensive actually. However, I changed to 7.3 from 7.4 in the serverpilot admin. The site is more responsive. Let’s see if that changes.
Plugins List: Akismet Anti-Spam, CDN Enabler, Classic Editor, Compress JPEG & PNG images, Easy WP SMTP, Enable Media Replace, Envato Market, Facebook for WooCommerce, HeatShield, Insert Headers and Footers, iyzico WooCommerce, LayerSlider WP, Loco Translate, MC4WP: Mailchimp for WordPress, Product Filter for WooCommerce, Quform, Really Simple SSL, Really Simple SSL pro, Redirection, Regenerate Thumbnails, Taksitlendirme ( My local plugin for installment shorcode), Tracking Code Manager, WooCommerce, WooCommerce Tab Manager, WP-Optimize – Clean, Compress, Cache, WPS Hide Login. Yoast SEO
Best Regards
-
This reply was modified 4 years, 8 months ago by
ilkbaharkunduzu.
June 26, 2021 at 11:20 pm #1307544Hi,
Thank you for your patience and for the link to your site, you could try this script that will count the number of thumbnails in each thumbnail gallery and add a class to that div that represents how many thumbnails there are. Then you could use some css for that class that will set the width for you.
Try adding this code to the end of your functions.php file in Appearance > Editor:function count_thumbs_script() { ?> <script> (function($) { var matched = $(".avia-gallery-thumb a"); $('.avia-gallery-thumb').addClass('thumbs-' + matched.length); }(jQuery)); </script> <?php } add_action('wp_footer', 'count_thumbs_script');This will add the class thumbs-6 if there are six thumbnails on the page.
For the css note that I specifically targeted your single-hotels pages so other pages would not run the script and cause possible conflicts. Also note that this css rule only sets the width for six thumbnails, you will need to add more for other numbers:#top.single-hotels .avia-gallery-thumb.thumbs-6 > a > img { width: 16.66% !important; }Hope this helps.
Best regards,
MikeJune 23, 2021 at 9:06 pm #1307206In reply to: Portfolio Grid alignment issues
Hi, Ismael.
I actually didn’t receive a notice that you posted this last note, but thank you — it will be very helpful.
After rebuilding thumbnails for all 1480-odd images the portfolio galleries seem to be displaying correctly!
At a cost: over 3GB of disk space. Wow.
I will carefully audit the image usage, and remove any unused sizes. I suspect that some of the largest sizes especially are redundant.
But that is down the road. It is enough for today that it is working well.
Thanks again for shining light on the system.
All the best to you and yours!
Kenneth
June 22, 2021 at 5:19 am #1306849In reply to: Portfolio Grid alignment issues
Hi,
This must occur during the original upload. Is that true? If so, it would explain why my migration skipped the thumbnailing process.
Yes, the thumbnails are generated when uploading an image.
I am a bit concerned about this. Are all of the sizes necessary — and is there any way to reduce the number of thumbs generated?
You can actually disable every registered thumbnails without causing any problem. WordPress will just fall back to the original image when necessary. The thumbnails are added to improve the site’s loading speed. They are there so that WordPress or the theme will not have to use the largest image when a smaller one will do.
To unset or deregister the thumbnails, you can use this snippet in the functions.php file.
// deregister theme thumbnails function ava_remove_enfold_image_sizes() { remove_image_size('square'); remove_image_size('featured'); remove_image_size('featured_large'); remove_image_size('portfolio'); remove_image_size('portfolio_small'); remove_image_size('gallery'); remove_image_size('magazine'); remove_image_size('masonry'); remove_image_size('entry_without_sidebar'); remove_image_size('entry_with_sidebar'); remove_image_size('shop_thumbnail'); remove_image_size('shop_catalog'); remove_image_size('shop_single'); remove_image_size('shop_gallery_thumbnail'); } add_action('init', 'ava_remove_enfold_image_sizes');Next time an image is uploaded, the thumbnails listed above will not be generated.
Best regards,
IsmaelJune 21, 2021 at 12:24 pm #1306710Topic: portfolio item display
in forum Enfoldjune
ParticipantHi,
Is there a way to change the portfolio items so that the descriptions are on top of the image on a slight coloured overlay like in this example?:
https://www.spectrumcos.com/portlocation/the-triangle-nc/And once you click on it you get your expanded version with the images on the left and the text on the right. However, when there is only one image can the thumbnail underneath be gone?
Thanks for your help.
June 21, 2021 at 3:26 am #1306633In reply to: Featured image being cropped
Actually ignore that, i regenerated the thumbnails about 100 times and it finally worked. Not sure why it wasn’t working earlier since i changed browser to avoid caching issues. In any case everything is working as expected now so you can close this .
thanks
June 20, 2021 at 11:06 pm #1306625In reply to: Pictures with people as featured image? Struggling…
Thanks, Ismael, that does the trick! I had to adjust the dimensions once more after adding that CSS and regenerate thumbnails. Now I get want I was looking for…. almost: they align left now. I think I want to have them centered horizontally. What do I need to add to that CSS?
June 20, 2021 at 9:44 pm #1306607In reply to: Pictures with people as featured image? Struggling…
Hi,
Have you tried adjusting the dimension of the thumbnail? You should also add this css code to prevent the theme from stretching the featured image or to prevent it from inheriting the width of the content container.
.big-preview.single-big a img { width: auto; }Best regards,
IsmaelJune 18, 2021 at 10:21 pm #1306451In reply to: Portfolio Grid alignment issues
Hi, Ismael.
Thanks again for following up on this. I am gaining a good understanding of this now, and hopefully this adds to the forum’s knowledge as well.
The theme uses the following function to generate other versions or thumbnails of an image. One of the parameters is called “crop”, which tells WordPress to crop or scale the image.
This must occur during the original upload. Is that true? If so, it would explain why my migration skipped the thumbnailing process.
Yes, the theme relies on those thumbnail names. You may need to regenerate the thumbnails or the images if you did something in the database.
I plan to run the “Regenerate Thumbnails” plugin tool on Monday, but I won’t kid you: 17 additional sizes of 1486 images seems like a daunting storage challenge. I am a bit concerned about this. Are all of the sizes necessary — and is there any way to reduce the number of thumbs generated?
If you see any way around these storage concerns, please advise.
Otherwise, I will soldier on.
I will follow here up after I run the Regenerate Thumbnails tool.
Thanks again. Enjoy the weekend!
Kenneth
June 18, 2021 at 9:03 am #1306306In reply to: Portfolio Grid alignment issues
Hi,
the cropping option for registered thumbnails
The theme uses the following function to generate other versions or thumbnails of an image. One of the parameters is called “crop”, which tells WordPress to crop or scale the image.
// https://developer.wordpress.org/reference/functions/add_image_size/
Yes, the theme relies on those thumbnail names. You may need to regenerate the thumbnails or the images if you did something in the database.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Ismael -
This reply was modified 4 years, 8 months ago by
-
AuthorSearch Results
-
Search Results
-
When creating a new blog post the standard blog layout is used until you manually switch to the advanced editor and safe it.
I create blog posts by adding the enfold shortcode to the standard text field. But if you do that, the code is shown in the standard blog design.
If I open the page, switch to advanced editor and then safe it, everything is fine.If I do the same with a page, it works fine. But I can’t use that, because I need to show these pages as a blog.
The problem is the standard layout of the post, with the meta data, thumbnail from the post etc. After changing to advanced editor and saving it, it’s fine.
Because all posts are created automatically I can’t do this manually.
The question is: how can I change the design of a standard post to the same design of a new page?
Hi,
we’re trying to use the post format video for some posts we’re using viedos within.
Unfortunately, the blog post grid doesn’t show the video as thumnail. It just shows nothing.We’ve tryed a embedded video via Iframe and via enfold video element but with same result, the thumbail is still missing.
hope you can help us out with that.
Thanks in advance,
SebastianHi,
In this topic you’ve helped me for displaying the thumbs with the desired dimensions. Yesterday I’ve moved the site to a new server and now the thumbs are very small and the background has the right dimension. How can I fix this?
Regards,
Erwin
Hi there,
I use my website to display my illustrations portfolio, see here: https://www.suemasondesign.com/picturebooks/
Most of the thumbnails of the Masonry gallery in my portfolio are blurred, whereas the actual enlarged pic is sharp. Strangely however some of the thumbs are NOT blurred!
I have tried several plugins to sort this, to no avail.
Please help – maybe with a code in functions.php?Thank you!
Topic: portfolio item display
Hi,
Is there a way to change the portfolio items so that the descriptions are on top of the image on a slight coloured overlay like in this example?:
https://www.spectrumcos.com/portlocation/the-triangle-nc/And once you click on it you get your expanded version with the images on the left and the text on the right. However, when there is only one image can the thumbnail underneath be gone?
Thanks for your help.
