-
Search Results
-
Topic: post-thumbnails
Hello,
I’have a problem with the post-thumbnails on the articles.
If I create a new article ad I insert the post-thumbnailst, I see the post-thumbnails in the article preview. But, if I then add same text on the article end check again the preview, I see that the post-thumbnails has disappeared.Can you help me, please?
Thanks,
FedericoTwo things…. one:
I’m getting this error message:
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description(), called in /home/aristag0/public_html/omgwebdesigners.com/wp-includes/class-wp-hook.php on line 298 and defined in /home/aristag0/public_html/omgwebdesigners.com/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
https://www.omgwebdesigners.com/product/womens-stretchy-pants/Second, on the site, it is not showing that I should update the theme. However, I see that you are already up to 4.1, and I am running 3.8. Why is it not an option to update on the WordPress site?????
Please help!!!!
I recently closed out a support topic about some changes to the portfolio grid.
https://kriesi.at/support/topic/thumbnails-are-not-all-same-size-in-portfolio-grid/#post-859421You guys corrected the code for me and fixed the problem (yay), but I want to adjust the color of the hover block and text. However, I’m reluctant to change any of the CSS you put in. How do I modify it so that the block is black and the text color is #81eac2? See below for the code being used.
.grid-content {
display: none;
opacity: 0;
top: -150px;
position: relative;
width: 100%;
}.grid-entry:hover .grid-content {
display: block;
opacity: .6;
}.grid-entry .inner-entry {
padding: 40px 30px 0 15px;
border: none;
box-shadow: none;
}.grid-entry-title {
font-size: 18px;
}Topic: Load on same page
Hey guys,
Is it possible for enfold to load like this?
http://convoy.me/#!/worksSo when you click on a thumbnail, it loads to the next content, but within the same page you were already in.
Thanks!
ChrisTopic: Tab Section Format Problem
I added a Tab Section to the page listed in Private Content and it is totally unformatted. I am wondering if there is a quick css that could be effecting it. below is what I have in my quick css.
.slide-meta { display: none; }
.fake-thumbnail .slide-image{
display: none;
}.news-thumb {
display: none;
}span.news-time {
display: none;
}.main_color table caption, .main_color tr:nth-child(even), .main_color .pricing-table>li:nth-child(even) {
color: inherit!important;
}.main_menu ul:first-child > li > a { padding: 0 20px!important; }
.content {
border: none;
}.content, .sidebar { padding-top: 50px; padding-bottom: 10px; }
.avia-post-nav {
display: none !important;
}td { border-style: none; }
tr:first-child td { border-top-style: none; }
tr td:first-child { border-left-style: none; }
.alternate_color tr:nth-child(odd) { background: #111111; }.content, .sidebar { padding-top:40px; padding-bottom: 10px; }
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .container {
width: 95%;
max-width: 95%;
}
}div#header_main_alternate {
min-height: 38px;
}#main>.fullsize>.container>.content {
padding-top: 0;
}.av-masonry-entry .av-masonry-entry-title {
margin: 0;
font-size: 12px;
color: ;
}Topic: Thumbnail aspect ratio.
Hello,
I used to have my thumbnails in a 3×2 aspect ratio.
I got the solution from this topic: https://kriesi.at/support/topic/single-autor-small-preview-pic-aspect-ratio/.blog-meta, .blog-meta a, .blog-meta img {
width: 220px !important;
max-width: 220px !important;
max-height: 170px;
height: 170px;
border-radius: 0px !important;
}and:
add_theme_support(‘avia_template_builder_custom_css’);
add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
function avia_change_category_blog_layout($layout, $context){
if($context == ‘archive’) $layout = ‘single-small’;
return $layout;
}
add_filter(‘avf_blog_style’,’avia_change_tag_blog_layout’, 10, 2);
function avia_change_tag_blog_layout($layout, $context){
if($context == ‘tag’) $layout = ‘single-small’;
return $layout;
}add_filter( ‘avf_modify_thumb_size’, ‘enfold_customization_modify_thumb_size’, 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size[‘square’] = array(‘width’=>220, ‘height’=>150);
return $size;
}I removed all my plugings recently because https://kriesi.at/support/topic/catchable-fatal-error-when-use-pages-of-search-results/
and now it doesn’t work anymore, can you help?
Nevermind, it’s solved
Hi,
I would like to know how to change the appearance animation of the thumbnails in Masonry Gallery?
There is an animation tab for columns but not for Masonry Galley…I would like to have juste bottom-to-top effect, how to do this, please?
Thank you very much in advance
Hi, when I create a standard gallery or a masonry gallery, the thumbnails show fine, but the larger images in the lightbox are stretched with images that are in the portrait orientation. landscape images come out fine. I have regenerated all thumbnails, but the problem persists.
See link for example.
THIS IS NOT A SUPPORT REQUEST, IT’S JUST THE TIP BRO
Like many others, I am using the advanced layout builder for my WooCommerce product pages. For me, the default layouts with a standard setup weren’t working for my needs. For those interested, here is some code you can use to create a custom shortcode to throw in the code widget which will automatically call and display the featured graphic in much the same way the default setup does, but with an added bonus of slapping on a sale badge if the product is on sale. Note that I am also using ACF (Advanced Custom Fields) with my setup to get specific extras. For instance, in this example, I use it to add specific sale details on the sale badge like “SAVE 10%”. Otherwise, it will just say “SALE” on the badge. If you aren’t using ACF, I highly recommend it if you plan to add a lot of customizations to your site in general.As always, place this code in your child theme’s functions.php file and customize as needed. For this, I have two options… One for a product image that can be clicked on to view the larger graphic in a lightbox, and another that is just an image. I use both options depending if the item is a physical product or a service.
Here are examples…

// Shortcode for product image function show_product_image() { global $product; if ( $product->is_on_sale() ) { $sale_badge_bg = "[direct link to your sale badge/ribbon graphic]"; $sale_tagline = get_field('sale_tag'); if ($sale_tagline) { $sale_tag = " - " . $sale_tagline; $sale_badge = "<h2 style='background: url(".$sale_badge_bg.") no-repeat scroll right center; background-size:cover; width: max-content; text-align:left; color:#f5f5f5; font-size:22px; padding:13px 20px 13px 13px; position:absolute; top:-4px; z-index:10;'>SALE". $sale_tag ."</h2>"; }} $product_image = get_the_post_thumbnail( $post_id, 'shop_catalog' ); $product_image_large = get_the_post_thumbnail_url( $post_id, 'large' ); return '<div class="product-image avia-image-container avia-builder-el-12 el_after_av_codeblock el_before_av_hr avia-align-center no-overlay" itemscope="itemscope" itemtype="https://schema.org/ImageObject"><div class="avia-image-container-inner">' . $sale_badge .'<a rel="lightbox" data-rel="gallery-1" class="lightbox" href="' . $product_image_large . '">' . $product_image . '</a></div></div><section class="av_textblock_section " itemscope="itemscope" itemtype="https://schema.org/CreativeWork"><div class="avia_textblock text-center no-margin " itemprop="text"><p><small>CLICK TO PREVIEW</small></p> </div></section>'; } add_shortcode( 'product_image', 'show_product_image' ); // Shortcode for nolink product image function show_nolink_product_image() { global $product; if ( $product->is_on_sale() ) { $sale_badge_bg = "[direct link to your sale badge/ribbon graphic]"; $sale_tagline = get_field('sale_tag'); if ($sale_tagline) { $sale_tag = " - " . $sale_tagline; $sale_badge = "<h2 style='background: url(".$sale_badge_bg.") no-repeat scroll right center; background-size:cover; width: max-content; text-align:left; color:#f5f5f5; font-size:22px; padding:13px 20px 13px 13px; position:absolute; top:-4px;'>SALE". $sale_tag ."</h2>"; }} $product_image = get_the_post_thumbnail( $post_id, 'shop_catalog' ); return '<div class="product-image avia-image-container avia-builder-el-12 el_after_av_codeblock el_before_av_hr avia-align-center no-overlay" itemscope="itemscope" itemtype="https://schema.org/ImageObject"><div class="avia-image-container-inner">' . $sale_badge . $product_image . '</div></div>'; } add_shortcode( 'nolink_product_image', 'show_nolink_product_image' );I have plenty of code examples like this I can and will share provided the mods here don’t have a BF about it. ;P

