Hey lauravr,
Try the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change the featured image size (increase its width / height).
4. Regenerate the thumbnails by clicking the button at the bottom.
Best regards,
Yigit
Tflores87,
I think the fuzziness issue is related to the thumbnail image size that is getting pulled in your gallery grid/element. Try changing the size of the Thumbnail that gets pulled and see if that helps.
Hey Nikko, I removed the line of code from app.css, as advised by you (reply #715509), and this has cured part of the problem with the white gaps where thumbnails should show in the grid. Yay! But now I am still left with the odd behaviour of the bottom right corner thumbnail not being populated and thumbnail content being pushed onto a second or third page.
This I think may be due to either the WooCommerce templates or the custom selector above the product thumbnail pages not functioning correctly.
I know you guys don’t support Customised Sites. So I think it is time to get someone from Codeable involved or another Freelancer who knows Woocommerce and Enfold very well.
Andy, as far as I know, the website was created by our Developer and had W3 Total Cache deactivated all the time. The problem (I presume would have been checked by them in following your suggestion at the time it first occurred) it had no effect to the outcome. Deactivating all plugins is not an option as certain ones are essential to the proper functioning of the website, as code will rely upon the presence of them to correctly render the thumbnails (I presume).
On the ‘live’ site you viewed, you will see that WP Super Cache has been installed and activated (but only recently). The Enfold recommended W3 Total Cache does not play well with our Host’s server set up apparently, so they recommend WP Super Cache. A re-install of the full site was made a couple of days ago. The re-install was made WITHOUT a cache plugin active or present. The problem was still present. WP Super Cache was installed yesterday and the problem still remains. But, I think it is to do with the code related to the category selector bar above the product thumbnails and how it selects and pulls in the products and categories to display – created by our Developer (who has now washed their hands of us, and refuses to carry on working on it).
I know you guys don’t offer support on customised sites, so I can see i am going to have to get someone from Codeable involved.
I removed the line of code from app.css, as advised by Nikko (reply #715509), and this has cured part of the problem with the white gaps where thumbnails should show in the grid. Yay! But now I am still left with the odd behaviour of the bottom right corner thumbnail not being populated and thumbnail content being pushed onto a second or third page.
Hi Andy, it depends when you took a look at the site.
This situation in the thumbnail layout has presented itself with the plugin de-activated and activated, so i can probably say in my limited knowledge that it is not related.
I personally think it may be due to the fact that 3 of the Woocommerce templates are in need of updating, or the code our Developer wrote for those pages is corrupting the page layout. It certainly looks like it is related to product categories, and particularly when there are more than one page of products.
Compare this
http://deliciousfinefoods.co.uk/product-category/ontap-products/oils/infused-olive-oils/
With this
http://deliciousfinefoods.co.uk/product-category/fine-foods/fine-food-categories/bottled-gourmet-oils/
And this
http://deliciousfinefoods.co.uk/product-category/ontap-products/vinegars/balsam-vinegars/
With this
http://deliciousfinefoods.co.uk/product-category/fine-foods/fine-food-categories/bottled-gourmet-vinegars/
odd similarity in layout failure
Hi
I’ve added a fullscreen-background to my page with the following code in my Child Theme style.css:
.container_wrap_first {background-image: url(https://localhost/wordpress/wp-content/uploads/2016/09/PicName.jpg); background-size: contain; background-repeat: no-repeat;}
Works perfectly fine so far.
Now I would like to replace above url with the respective post image url. Achieving the url should be possible with
<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID, 'full') ); ?>
My question is: How do I get the url retrieved with php into the css so that the page acutally displays the post image as background?
Thanks for your help!
Tim
Hi,
1.) Excerpt is a default WP function, so nothing which is controlled by the theme. Check out this here on how to get more control over it: http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes
You can remove read more link with this code inside functions.php:
// Remove Read More Links from all excerpts
function custom_excerpt_more( $more ) {
return '…';
}
add_filter( 'excerpt_more', 'custom_excerpt_more' );
Adjust it’s length with this code:
// Define own excerpt length
function custom_excerpt_length( $length ) {
return 20;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
2.) Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
3.) It’s not our plugin, but a default WP plugin. Don’t forget to regenerate thumbnails after adjust image sizes.
You could also adjust image sizes as mentioned here: https://kriesi.at/support/topic/enfold-image-sizes/#post-336176
Best regards,
Andy
I can’t seem to figure out how to change the thumbnail on the left side of the screen on the blog page. Right now it is a default image (showing a little camera). I wonder how to change this to perhaps make it a logo or something different than the featured image. Here’s a link to what I’m referring. http://crossfitbsa.com/wod/
Hi
I’ve been looking at the demo site and trying to establish if it possible to have a video gallery with thumbnails?
Hi there, thank you for creating and supporting this great theme!
My upcoming website is still in this subdomain: http://s198644800.online.de
I want to do three things before the website goes live under its real adress:
1. I want to add social share icons in the footer (unfortunately there is no widget for that, would be a good idea for the future). I would like to have four share icons in the fourth column: facebook, twitter, google+ and E-Mail. The icons should share the site where the user is on. Yigit had a solution for social media buttons in #273363 Maybe something similar works for Share Buttons?
2. In my Texter-Blog there is a preview of more articles on the sidebar on the right. Is there a way to add mini thumbnails to that? I think I saw it once when using portfolio pages … but when I tried again, there where also no thumbs.
3. As you can see I added a green triangle to mark links in the textboxes. (So you can differentiate links from the bold text, which is also orange) Is there a code for the general styling, to put the green triangle before all links in textboxes so that I do not have to add them all manually?
Thank you! You are doing a great job!
Hey!
Please go to Settings > Media and change thumbnail sizes and then regenerate them using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Yigit
Thanks…
1. but where do I increase thumbnail size?
Hey gireeshnair,
1- Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.container.av-logo-container {
max-width: 100%;
}
2- Please edit your Color Section element choose to display it 100% height of the screen
3- Can you please post a screenshot and show the issue? Your website looks the same on Chrome and Firefox on my end. You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.
4- Please edit your Gallery element and choose to display big image with thumbnails below and set column count to 1.
5- You can simply go to link settings of image element and choose to display it in lightbox – http://i.imgur.com/Y34fJEt.png
Best regards,
Yigit
Hi!
Please go to enfold/includes/related-posts.php file and find
'image_size' => 'square',
and change it to
'image_size' => 'thumbnail',
There will be two of that line to be changed.
Regards,
Yigit
Hi,
I notice that thumbnails in related posts are resized in html with original image
thumbbails is 60×60 but original size is 841×340, so it’s really bad for pagespeed
Is it possible to load small images for thumbnails instead of big ones ?
Thanks for your help
Best
Hi Charlotte! :)
1- Please increase thumbnail sizes. They are 80x80px as you mentioned but they are being resized to 297x297px.
2- Please go to Enfold theme options > Advanced Styling and edit “Linked image overlay” and disable it
Best regards,
Yigit
Hey,
http://www.hotelladdict.se/villa-strandvagen/
1. why are the thumbnail images blurry? I choose 80x 80 that should not make them blurry…
2. The first image in the post, when you are standing over it, a round ring and arrow is visible.
What code shall I add in order to delete it?
Thanks
Charlotte
Thanks Nikko,
I have added a line above the one you mentioned to test if it will work: $caption = ‘ <h3 class=”avia-caption-title”>TEST</h3>’;
It shows “TEST” above the title, so it will work. The question is – how do I get category link and name onto this line?
Here is the whole section of code that I have now:
foreach ($this->entries->posts as $slide)
{
$counter ++;
$thumb_id = get_post_thumbnail_id( $slide->ID );
$slide_class = "";
$taxonomies = get_object_taxonomies(get_post_type($the_id));
$img = wp_get_attachment_image_src($thumb_id, $this->atts['image_size']);
$link = get_permalink( $slide->ID );
$title = get_the_title( $slide->ID );
$caption = "";
$caption .= ' <div class="caption_fullwidth av-slideshow-caption caption_center">';
$caption .= ' <div class="container caption_container">';
$caption .= ' <div class="slideshow_caption">';
$caption .= ' <div class="slideshow_inner_caption">';
$caption .= ' <div class="slideshow_align_caption">';
$caption .= ' <h3 class="avia-caption-title">TEST</h3>';
$caption .= ' <h2 class="avia-caption-title"><a href="'.$link.'">'.$title.'</a></h2>';
if(strpos($this->atts['contents'], 'excerpt') !== false)
{
$excerpt = !empty($slide->post_excerpt) ? $slide->post_excerpt : avia_backend_truncate($slide->post_content, apply_filters( 'avf_feature_image_slider_excerpt_length' , 320) , apply_filters( 'avf_feature_image_slider_excerpt_delimiter' , " "), "…", true, '');
if(!empty($excerpt)){
$caption .= ' <div class="avia-caption-content " itemprop="description">';
$caption .= wpautop($excerpt);
$caption .= ' </div>';
}
}
if(strpos($this->atts['contents'], 'read_more') !== false)
{
$caption .= ' <a href="'.$link.'" class="avia-slideshow-button avia-button avia-color-light " data-duration="800" data-easing="easeInOutQuad">'.__('Read more', 'avia_framework').'</a>';
}
$caption .= ' </div>';
$caption .= ' </div>';
$caption .= ' </div>';
$caption .= ' </div>';
$caption .= $this->create_overlay();
$caption .= ' </div>';
$slide_data = "data-img-url='".$img[0]."'";
if(empty($img)) $slide_class .= " av-no-image-slider";
$html .= "<li {$slide_data} class='slide-{$counter} {$slide_class} slide-id-".$slide->ID."'>";
$html .= $caption;
$html .= "</li>";
}
Hi jjma!
Thank you for using Enfold.
Please use the default add_image_size function. You can override the existing thumbnail size with it.
add_image_size( 'bigger-square', 250, 250, true );
add_image_size( 'widget', 60, 60, true ); // existing thumbnail size
If you want to add it in the selection, use the “image_size_names_choose” filter.
add_filter( 'image_size_names_choose', 'my_custom_sizes' );
function my_custom_sizes( $sizes ) {
return array_merge( $sizes, array(
'bigger-square' => __( 'Bigger Square' ),
) );
}
// https://kriesi.at/support/topic/impossible-to-use-custom-image-sizes-in-slider-accordeon/#post-574335
Regards,
Ismael
Hi,
Thanks for that, please try the following in Quick CSS under Enfold->General Styling:
.thumbnail_container .rating_container {
opacity:1 !important;
}
Best regards,
Rikard
Hey!
Lightbox is for me: an image as a preview or thumbnail is displayed on the page. By clicking on it, it displays the same image or a gallery in a (normally) higher resolution.
https://en.wikipedia.org/wiki/Lightbox_(JavaScript)
Yes, that is the “lightbox” but this is not happening in the post page. Right now, if you click on the post image, it will redirect to the actual image instead of opening a “lighbox” container, which means that the “lightbox” script is disabled. If you want to completely disable the image link, add this css code.
.big-preview.single-big a {
pointer-events: none !important;
}
Regards,
Ismael
Here’s a link too my latest blog: http://www.westcoast-mountainguides.co.uk/new-website-winter-201617-underway/ is there any way of increasing the size of the thumbnails please?
I am not sure if this is an Enfold driven thing or a WooCommerce problem. However, we are experiencing some weirdness when trying to display grid format product thumbnails. The display either creates complete white space gaps in a grid row (where a product should populate) and/or it will force the product on the last position of the page grid to another page instead of populate the bottom corner.
Very weird behaviour. Sometimes, there may be only 3 or 4 products in a category and it will display 1 on a grid row and create another 1 or 2 pages for the other products. Our developer has done mod’s to the theme, so apologies if it related to that as opposed to standard WooCommerce/Enfold functionality. I was just wanting to see if anyone else out there in Enfold land had experienced a similar issue?
Page Illustration Examples:
http://deliciousfinefoods.co.uk/product-category/fine-foods/fine-food-categories/bottled-gourmet-oils/
http://deliciousfinefoods.co.uk/product-category/fine-foods/fine-food-categories/bottled-gourmet-vinegars/
http://deliciousfinefoods.co.uk/product-category/fine-foods/fine-food-producers/libeluile/#gift-boxes
Other Details in Private Content:
Hi Ismael,
I need the Thumbnail exactly at the place what the screenshot (#709514) is showing, also the Link in the title.
What I will do with this? The Thumbnail is the thumbnail and the link goes to the product detail page.
I need this because in germany we have to do that when we want don’t go in trouble with law.
In fact you can’t use woocommerce with enfold in germany for onlineshops.
Ok, you don’t customize the review_order.php but you make that I can’t do that in the normal way!
So! Why we have to wrote lines and lines instead you tell me what I have to do please!!
regards
Mike
Hey vmoralestejedor,
Thank you for using Enfold.
1.) Did you set the Blog Layout > Blog Layout to use the advance layout builder? If not, you can toggle the Blog meta elements options.
2.) What is the current blog style? Please provide a link to the actual blog page so that we can inspect it.
3.) Please use the following plugin then adjust the “entry_with_sidebar” and “entry_without_sidebar” thumbnails in the Settings > Media panel.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
Ismael
Hi,
It’s true that the modification are added as filters and hooks inside a single file but we didn’t add any customization for the review_order.php file. I reviewed the whole thread but there’s not enough info regarding your requests and the screenshot doesn’t explain anything. I’m sorry for the confusion. What do you want to do with the thumbnails and title link in the review order page?
Best regards,
Ismael
hi,
but why is that of course, i dont get it:/ Is there no way to exclude those thumbnails? I definietly want the lightbox to be active:/
Hi!
Images are responsive and they would actually resize automatically depending on its container width. You can use pre-defined image sizes, or use this plugin – https://wordpress.org/plugins/simple-image-sizes/ to change pre-defined image sizes.
If you would like to use the plugin, please do not forget to regenerate thumbnails after adjusting sizes :)
Cheers!
Yigit
Ok, than we have a definition problem. :)
Lightbox is for me: an image as a preview or thumbnail is displayed on the page. By clicking on it, it displays the same image or a gallery in a (normally) higher resolution.
https://en.wikipedia.org/wiki/Lightbox_(JavaScript)
So: The Lightbox Modal Window in the enfold theme by switching on / off: what is the sense of it?
If I don´t want a lightbox inside the page – by clicking on the image in the page nothing happens – what can I do to realize it?
In the beginning Nikko send me this code, but it crashes the website. But I think it was the correct way and the beginning of the solution:
function remove_lightbox(){
?>
<script>
jQuery(window).load(function(){
jQuery('.single-post .lightbox-added .overlay, .single-post .lightbox-added .image-overlay').remove();
jQuery('.single-post .lightbox-added img').unwrap('lightbox-added');
});
</script>
<?php
}
add_action('wp_footer', 'remove_lightbox');
Hi,
Add the “avia-image-container” class attribute to it.
function ideabox() {
global $post;
query_posts(array('orderby' => 'date', 'order' => 'DESC' , 'showposts' => 20));
if (have_posts()) :
while (have_posts()) : the_post();
$return_string = '<a href="'.get_permalink().'"><span class="avia-image-container">'.get_the_post_thumbnail().'</span></a>';
endwhile;
endif;
wp_reset_query();
return $return_string;
}
add_shortcode('ideapost', 'ideabox');
Best regards,
Ismael