Hi Basilis, unfortunately your solution doesn’t change the situation, Actually I see that the masonry thumbnail has the following code on the link
<a id="av-masonry-1-item-1970" class="av-masonry-entry isotope-item post-1970 post type-post status-publish format-standard has-post-thumbnail hentry category-marble tag-landscape-en tag-portait-en all_sort marble_sort av-masonry-item-with-image av-grid-img av-masonry-item-loaded" href="http://www.alessandrapoliti.com/en/rinoceronte/" data-av-masonry-item="1970" title="Rinoceronte" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" style="position: absolute; left: 49.7601%; top: 0px;">
The problem is that it gets the class “tag-landscape-en” and “tag-portait-en” while the masonry appearence works with classes such as “tag-landscape” and “tag-portrait”
Elena
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.fake-thumbnail .slide-image {
display:none;
}
.fake-thumbnail .slide-content {
position:absolute;
top:0px;
transform:translateY(100%);
}
Best regards,
Vinay
The following warning appears on each product page
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /www/htdocs/w01354c4/shop.beziehungsabc.ch/wp-content/themes/enfold/config-woocommerce/config.php on line 1354
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /www/htdocs/w01354c4/shop.beziehungsabc.ch/wp-content/themes/enfold/config-woocommerce/config.php on line 1354
What can I do?
Thx
Peter
Dear All,
Problem solved! I used the plugin “Regenerate Thumbnails” and that did the trick.
Thank you again Mike and Victoria for your help with the CSS!
Cheers,
Tim
Hey Abosict,
Thank you for using Enfold.
Please add this code to display the author.
.av-magazine-text-sep, .av-magazine-author {
display: inline;
}
For the excerpt, edit the config-templatebuilder > avia-shortcodes > magazine.php file, look for this code around line 647:
if(empty($this->atts['thumbnails']))
{
$image = "";
$extraClass = "av-magazine-no-thumb";
}
Below, add this code:
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
Best regards,
Ismael
Hi,
Yes, to work on the thumbnails page properly, it requires to find out why, debug the issue and make it work.
We do not have that option to do it through our support we are afraid
Best regards,
Basilis
Hello at Kriesi,
I have customized the magazine layout element to have a bigger thumbnail. Looks great ;-)
Now I like to have two things achieved:
First the blog excerpt in all of the magazine entries. I have tried the code from
https://kriesi.at/support/topic/magazine-customize/ but this and some other codes from the forum did not helped.
Second I like the margin/padding all the same. I have tried
#top .av-magazine-thumbnail, #top .av-magazine-thumbnail a, #top .av-magazine-thumbnail a img {
width: 230px;
min-height: 120px;
}
but this does not make it correct.
Can you help?
Best Regards
-
This topic was modified 8 years, 8 months ago by
Sigmund.
HI im getting the error
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description(), called in /home1/clearhai/public_html/wp-includes/class-wp-hook.php on line 298 and defined in /home1/clearhai/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description(), called in /home1/clearhai/public_html/wp-includes/class-wp-hook.php on line 298 and defined in /home1/clearhai/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
in the product page, ive updated my woocommerce and im on the latest version of wordpress and the enfold theme and it makes no difference.
Please advise
thanks
Dear Victoria,
Excellent! Thank you. That solved the size problem… BUT!, now I’ve got distorted thumbnails, as you can see here or here.
The question is: how do I bulk change the thumbnails to link to the proper image? In the media setting the thumbnails are 300 x 300, but somehow the thumbnails were ‘hardwired’ to a very tiny image. (No idea how or why that is.)
Any and all help you can provide would be greatly appreciated. Thank you.
Cheers,
Tim
Hey Ismael,
I tried that but it doesn’t fix the gaps, it just makes the thumbnails on the gallery cut off. It happens on every screen that isn’t mobile. Regardless of the browser size.
Can you suggest another CSS fix?
Thank you,
Chris
Does Enfold theme create its own thumbnails. I have set my wordpress media settings to 0 and I still see 16 different sizes for 1 uploaded picture
Hi,
I use enfold 4.1.1 with Woocommerce 3.1.2 and my product image gallery is messed up :(
when i use woocommerce product image gallery (which i really love on mobile devices) my product pages are about 1.1MB heavier and load much slower…
and when i switch to enfold’s gallery (as well as woocommerce 3 gallery) all images even thumbnails load in full size which again makes pages pretty heavy
any help on this?
best regards,
Kaveh
Dear Mike,
Thank you. That solves the Featured Image part, but not the thumbnails in galleries. (Please see previous links.)
Please advise.
Best,
Tim
PS I am using the plugin Simple Image sizes to reset the thumbnail size, but it has no affect.
PPS This is error is true through the website: thumbnails too small, featured image often larger than the image itself. Here is another example:
-
This reply was modified 8 years, 8 months ago by
hypergolica.
Dear Support,
Please see the following page:
The Featured Image is presented larger than the actual dimension of the image (which means it is distorted) and the gallery thumbnails are way too small (even if they are set to a larger size).
I have removed all custom CSS, so I know this isn’t an error on my part. How do I fix this?
Please advise ASAP.
Thank you,
Tim
The site is now live.
I altered my course and decided to link the gallery image to the corresponding section in my site. I install this plugin http://wordpress.org/plugins/wp-gallery-custom-links/ and insert this code:
add_filter(‘avf_avia_builder_gallery_image_link’, ‘avia_change_gallery_thumbnail_link’, 10, 4);
function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
{
$custom_url = get_post_meta($attachment->ID, ‘_gallery_link_url’, true);
if(!empty($custom_url))
{
$link[0] = $custom_url;
$link[‘custom_link_class’] = ‘aviaopeninbrowser’;
}
return $link;
}
I added it into the functions.php by navigating Appearance / Editor / Templates and selecting Theme Functions (functions.php)
It added the tools correctly but when testing one of the images in the gallery it won’t link. Any suggestions?
I’ve read the other posts and tried this many times disabling all plugins and only using SEO by Yoast or Facebook Thumbnail fixer or Facebook Open Graph, Google+ and Twitter Card Tags (2.0.8.2) used individually with the other 2 disabled. They all show og: info when I view page source, but when I run https://developers.facebook.com/tools/debug/sharing/ and fetch and scape again, it doesn’t show the featured image or any image uploaded to all 3 plugins. It shows me a preview of how it should look, but facebook isn’t seeing it when I scrape in developers tools. It’s usually works on other sites where I’ve used Enfold. The error it’s giving me says none of the og: data is there which I can clearly see in the page source code. It just shows a blank white space if I try to share the site url in a post or send in a message. Any idea how to fix?
Here is the error messages I’m getting on FB developer tools page
Warnings That Should Be Fixed
Inferred Property
The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
Missing Properties
The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id
Hi
I want to to use a plugin to display the sale tag as a percentage. I have installed the plugin Woocommerce Custom Sale Tag and it works well on the product page and show the % saving.
however i cant seem to get it work on the thumbnail pages http://79.170.40.44/lilycotton.ie/clearance/ it still shows the default sale tag
any ideas how to get it to appear on the thumbnails as well ?
thanks
F
Hi there,
we made a change of image sizes for the blog posts (markd in strong):
$avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
$avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
$avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
$avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1500, ‘height’=>630 ); // images for fullsize pages and fullsize slider
$avia_config[‘imgSize’][‘extra_large’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider
$avia_config[‘imgSize’][‘portfolio’] = array(‘width’=>495, ‘height’=>400 ); // images for portfolio entries (2,3 column)
$avia_config[‘imgSize’][‘portfolio_small’] = array(‘width’=>260, ‘height’=>185 ); // images for portfolio 4 columns
$avia_config[‘imgSize’][‘gallery’] = array(‘width’=>845, ‘height’=>684 ); // images for portfolio entries (2,3 column)
$avia_config[‘imgSize’][‘magazine’] = array(‘width’=>710, ‘height’=>375 ); // images for magazines
$avia_config[‘imgSize’][‘masonry’] = array(‘width’=>705, ‘height’=>705 , ‘crop’ => false); // images for fullscreen masonry
$avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>442); // big images for blog and page entries
$avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider
$avia_config[‘imgSize’] = apply_filters(‘avf_modify_thumb_size’, $avia_config[‘imgSize’]);
We added this to functions.php of the child theme, but it does not overwrite the functions.php of Enfold. Of course, with the update this was lost. It is still in the child theme and does not apply. As soon as I change it in Enfold, it works.
Can you please give me a suggestion, how I can put this change of the image size to my child theme?
Thanks in advance.
Kati
I’d made the following alterations to functions file
/*
* register the layout classes
*
*/
$avia_config[‘layout’][‘fullsize’] = array(‘content’ => ‘av-content-full alpha’, ‘sidebar’ => ‘hidden’, ‘meta’ => ”,’entry’ => ”);
$avia_config[‘layout’][‘sidebar_left’] = array(‘content’ => ‘av-content-small’, ‘sidebar’ => ‘alpha’ ,’meta’ => ‘alpha’, ‘entry’ => ”);
$avia_config[‘layout’][‘sidebar_right’] = array(‘content’ => ‘av-content-small alpha’,’sidebar’ => ‘alpha’, ‘meta’ => ‘alpha’, ‘entry’ => ‘alpha’);
/*
* Register additional image thumbnail sizes
* Those thumbnails are generated on image upload!
*
* If the size of an array was changed after an image was uploaded you either need to re-upload the image
* or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
*/
$avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
$avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
$avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
$avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries
$avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider
$avia_config[‘imgSize’] = apply_filters(‘avf_modify_thumb_size’, $avia_config[‘imgSize’]);
Yet I still get 9 images generated every upload. It’s totally bonkers. I don’t know how others accept this.
Hey ksk_schwalm_eder,
Danke, dass Ihr unser Theme benutzt.
Das ist ein Standardverhalten von Enfold, dass fast alle vordefinierte Bildgrössen (darunter auch das Katgoriebild) abgeschnitten werden (siehe dazu enfold\functions.php line 146ff.
Ändern könnt Ihr das, indem Ihr in dieser Datei Zeile 156:
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321);
ändert auf
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321, 'crop' => false);
Fall Ihr ein Childtheme verwendet könnt Ihr in enfold-child\functions.php am Ende einfügen:
add_filter('avf_modify_thumb_size', my_modified_thumb_size, 10, 1 );
function my_modified_thumb_size( $img_size )
{
$img_size['entry_with_sidebar']['crop'] = false;
return $img_size;
}
Falls Ihr andere Bildergrössen auch skaliert haben wollt, braucht Ihr dafür nur die entsprechende Imagesize hinzufügen in einer eigenen Zeile.
Anschließend müssen die Bilder neu generiert werden, z.B. mit dem plugin http://wordpress.org/extend/plugins/regenerate-thumbnails/
Dann sollte es passen.
Solltet Ihr Probleme haben mit diesen Änderungen, gebt uns bitte FTP Zugriff und einen WP Admin account (in Private Content), dann machen wir das gerne für Euch.
LG,
Günter
Hi there
I want to make a partner element section similar to the one on this page: http://kriesi.at/themes/enfold-one-page-portfolio/#contact, but when I put up the images for the element it displays the images very large. When I try to select a smaller size – like thumbnail – the images are cut of instead of being resized. Are there any workaround on this? Thanks for a great Theme ;)
// Simon
Hi,
I’ve tried several things from other threads to hide the featured thumbnail at the top of a WooCommerce Product Category page but it’s not working.
I’ve tried this
.archive .page-thumb {
display: none;
}
and this
.tax-product_cat .page-thumb {
display: none;
}
See link below.
Please help. thanks
Hi!
I would like to reduce the margins of my portfolio masonry gallery. I have a 300×169 thumbnails divided into 4 columns with a total limit of 24 items. Tried out with every distribution option (flexible grid, perfect masonry…). Currently I have set the masonry module inside a 1/1 layout for it to adjust content width but I want it to be more narrow on the edges (having more white space, basically).
Is there anyway I can get this?
Thanks a lot :)
-
This topic was modified 8 years, 8 months ago by
Samuel.
This reply has been marked as private.
Hey guys,
Currently I have my Masonry Gallery with no gaps
http://www.ccyran.com/work
but every now and then or when the browser is at a certain width, there seems to be glitches that create 1-2px gaps. Can you fix this?
Here’s an image for reference: https://ibb.co/fxMs1a
It’s noticeable under the 4 project thumbnails on the right.
Thanks!
Chris
Hi,
This is how to make a link for an image to open in lightbox, use in a code block element:
<a href="http://127.0.0.1/wp-content/uploads/2015/07/portfolio-9.jpg" rel="prettyPhoto" title="">Image</a>
To open pages in lightbox using an iframe, create a link like this in a code block element:
<a href="http://127.0.0.1/pages/blank-pages/coming-soon-page/?iframe=true">Page</a>
If you link to one of your pages, such as a FAQ, and disable the header, sidebar, & footer for that page, it looks very slick.
This is the format for opening a Youtube video in lightbox:
<a href="http://www.youtube.com/watch?v=qqXi8WmQ_WM" rel="prettyPhoto" title=""><img src="images/thumbnails/flash-logo.jpg" alt="YouTube" width="60" /></a>
Best regards,
Mike
Hi Mike thank you for your respond
in your image the download link is showed up in light box under the image. but I want it to be under thumbnail in gallery.
I want by clicking on thumbnail image, open light box to see a larger version of image and by clicking on caption beneath the image open a download link.
Man you are on a roll haha. I seriously appreciate this help! Okay im looking into moving this into a child theme now.
Last question, is there CSS to change how the images are shown in it? So it doesn’t round the thumbnails?
Thanks!
-
This reply was modified 8 years, 8 months ago by
ccyran.
Hi mparr,
500×500 should work fine for you, as long as they are high quality too.
http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/
Best regards,
Victoria