-
Search Results
-
Hi Support,
I am using the Blog Posts Content Element, is there a hook I can use to include the post categories for each post after the blog post thumbnail?
I have done something similar for the Portfolio Grid by copying that component file to my shortcodes folder and modifying the portfolio.php file. I wonder if there is a hook for this before a modify this component though.
While looking into this if there is a similar hook for the portfolio grid to output the posts associated portfolio categories that would be useful to know.
Thanks
SeanTopic: image size for magazine
Hi, I’m working on telemedicinaoggi.it, which is the best size of the image in order to have exactly the same thumbnails size in the magazine style for the home page?
I saw https://www.telemedicinaoggi.it/wp-content/uploads/2023/02/48-696×443.jpg (696×443) so that I tried with image with proportions 900×600 -> https://www.telemedicinaoggi.it/wp-content/uploads/2023/02/cardio-on-line-europe.png but in home page is https://www.telemedicinaoggi.it/wp-content/uploads/2023/02/cardio-on-line-europe-710×375.png while in the blog content becomes https://www.telemedicinaoggi.it/wp-content/uploads/2023/02/cardio-on-line-europe-845×321.pngThanks Gianluca
Hey Gunter,
Sorry, forgot to add this to the other feature request thread.
Back when you introduced v5 you had this in the changelog:
feature: added swipe to all devices supporting touch screens (not only to mobile devices)I mistakenly took this to mean that you could now swipe in the lightbox (in addition to using the arrows as navigation) but clearly I misunderstood.
Which brings me to the first feature request:
On mobile (or devices that support swipe) could we add the ability in the lightbox to swipe left/right on images, rather than just rely on the arrows?
Secondly, on the ALB Gallery element, it would be great to have an option for desktop to also display the navigation arrows when the “Big Image with Thumbnails below” setting is selected, meaning the user doesn’t have to hover the thumbnails to change the image (which may not be super intuitive for some users). Perhaps there could be 3 options – hover thumbs, show navigation arrows, use both hover and arrows.
Any questions please let me know.
Thanks for considering it.
Have a great day.
Tim
Hi guys,
Enfold adds four new WooCommerce image sizes.
shop_thumbnail
shop_catalog
shop_single
shop_gallery_thumbnailIs there a way to stop these image sizes from cropping?
I am looking for a function to edit the settings.I am looking to improve my ecommerce sites by adding some code so users can upload any image size and it will work with Enfold. But on some sites I am experiencing inconsistent image behaviour in the image gallery.
The easiest fix for this is to stop these four image sizes from cropping.
Please can you provide me with some code for functions.php? I cannot find an existing thread that shows how to remove the crop.
Hi All,
Solution for Enfold users (Also works for most other WooCommerce WordPress Themes)
I have been looking for something that fixes this problem in WooCommerce for a while.
If your client uploads images in different aspect ratios and sizes into WooCommerce the shop grid and product pages will be extremely inconsistent.The following code makes it so imagery is a uniform size within the container making the standard woocommerce categories and grids less sensitive to image aspect ratio variations. I use square for most sites.
NOTES – Please adjust the aspect ratio to suit your WooCommerce Settings!
https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio/* Shop / Categories - Sets the aspect ratio of the image to square and contains the image within it */ #top .thumbnail_container img { width: 100%; height: 100%; object-fit: contain; } #top .thumbnail_container { aspect-ratio:1/1; }/* Product Page - Sets the aspect ratio of the main product image to square and contains the image within it */ #top .product div.images img { width: 100%; height: 100%; object-fit: contain; } .template-shop .single-product-main-image .images a { aspect-ratio: 1/1; overflow: hidden; }STOP ENFOLD CROPPING IMAGES IN SHOP
In Functions.php in your child theme.add_action('after_setup_theme', 'update_enfold_image_sizes'); function update_enfold_image_sizes() { add_image_size ('shop_thumbnail', 200, 0, false ); add_image_size ('shop_catalog', 450, 0, false); add_image_size ('shop_gallery_thumbnail', 300, 0, false); }Topic: Gallery thumbnail error
HI
The gallery on my site is not displaying the correct thumbnail sizes – no matter what I chose they are showing at orignial ratios.
They are also still showing the title as caption even though it is set to have no text.
Can you see what is wrong here? I don’t have any image plugins.
thanks
NancyTopic: Image Overlay
The images for the WooCommerce catalog pages are showing cropped. Although the product images are setup to show uncropped. See this screenshot: https://www.screencast.com/t/r15ukNZu
You can see the cropped images here: https://staging.srf-books.org/product-category/books/paramahansa-yogananda-books/page/5/
I already tried regenerating the thumbnails.
Note that it works fine when I change to the default theme.
Thanks,

