Viewing 30 results - 1,141 through 1,170 (of 10,101 total)
  • Author
    Search Results
  • #1303468

    Hi. I know this has been covered, but I cannot make it work.

    How do I link directly to portfolio displaying only entries from selected category?

    I know there is a link for categories from the menu, but it displays a page that is acting differently than my regular portfolio page (the thumbnails linked to a page rather than expanding the image or video).

    I would like to either get an option to link to category as noted above (?psort=manufacturing), or edit the page based on the link from the “Portfolio Categories” page.

    Is that possible?

    Thank you

    #1303462
    evilmc
    Participant

    I want to display 3 columns of thumbnails on mobile for Masonry Gallery. Now is 1 column on mobile. I have Masonry Gallery on home page. Is that possible? How to do that??

    • This topic was modified 4 years, 11 months ago by evilmc.
    #1303435

    In reply to: Logo SrcSet?

    In order to get this to work Unofficial workaround. Please backup the file before trying.

    Working example
    https://www.midlandcontrols.co.uk

    Set the logo in the theme panel to Full Size! Do not choose a thumbnail size!

    Delete this line 625 from function-set-frontend.php

    		if( $dimension === true ) 
    		{
    			/**
    			 * basically just for better page speed ranking :P
    			 * Be sure to return a valid attribute string.
    			 * Will be removed when image dimension is responsive
    			 * 
    			 * @since 4.8
    			 * @param string $dimensions
    			 * @return string
    			 */
    			$dimension = apply_filters( 'avf_logo_dimension', 'height="100" width="300"' );
    		}

    Delete the code below Line 684

    {
    				$resp_attr = Av_Responsive_Images()->html_attr_image_src( $logo, true );
    				
    				/**
    				 * https://kriesi.at/support/topic/logo-srcset/
    				 * 
    				 * Bug that WP removes scrset and sizes when width and/or height is defined
    				 * @since 4.8.3 
    				 */
    				if( false !== strpos( $resp_attr, 'srcset' ) || false !== strpos( $resp_attr, 'sizes' ) )
    				{
    					$dimension = '';
    				}
    			
    				$logo_img = "<img {$resp_attr} {$dimension} alt='{$alt}' title='{$title}' />";
    				$logo = "<{$headline_type} class='logo'><a href='{$link}'>{$logo_img}{$sub}</a></{$headline_type}>";
    			}

    Replace with:

    			{
    				$resp_attr = Av_Responsive_Images()->html_attr_image_src( $logo, true );
    			
    				$logo_img = "<img {$resp_attr} alt='{$alt}' title='{$title}' />";
    				$logo_img = Av_Responsive_Images()->make_image_responsive( $logo_img, attachment_url_to_postid($logo), '' );
    				$logo = "<{$headline_type} class='logo'><a href='{$link}'>{$logo_img}{$sub}</a></{$headline_type}>";
    			}
    • This reply was modified 4 years, 11 months ago by thinkjarvis.

    Thank you Ismael for this answer. I just made the change and it works very well. Thank you. However, every time I update Enfold, I will have to put this code back. Is there any way to add a code on Enfold child that I work with?

    I have, if I may, 2 other questions that I can’t figure out on this same asian.estate site.

    1. on the Newsroom page: https://www.asian.estate/the-news-of-the-real-estate-in-thailand/ I can’t manage to align the image thumbnails of the posts on the left, when a new post is created. As you can see the last post is centered ?

    2. On the page https://www.asian.estate/home-4/ which has a transparent header, I just want to put the logo on this page which is on all the other pages with non transparent header. Please tell me what to do, I can’t find it on the Enfold forum.

    Thanks Ismael

    #1303362

    it is a wordpress limitation : 2560px – all images bigger than that will be recalculated and saved as xyz-scaled.jpg ( or png etc )
    – Enfold creates some image-formats for their used elements ( see functions.php line 185ff : sizes )
    – on functions.php lines 246ff – you see that for these images a compression level is set to 100% – : no compression.

    That is the reason why the original jpg ( with 2560px width) might be smaller in file-size as the recalculated 1500px image ( featured_large or extra_large ).
    You can set this compression level by a small snippet in child-theme functions.php:
    e.g. for compression level 55%:

    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 = 55; return $quality;}

    This will only influence the uploading process. If you want the existing images have the same compression level you might use a “regenerate Thumbnails” Plugin afterwards.

    __________________

    PS: you can influence this big image threshold via a filter : big_image_size_threshold see here: Link
    f.e.:

    function increase_big_image_size_threshold( $threshold ) {
        return 3500; // new threshold
    }
    add_filter('big_image_size_threshold', 'increase_big_image_size_threshold', 999, 1);
    #1303142

    Hi,

    Sorry for the delay.

    1.) This should still be possible but the changes should be done in the themes\enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.php file. This is the new file for the masonry shortcode or element. The code can be found around line 737.

    $this->loop[ $key ]['url'] = get_permalink( $id );
    

    The developer should be able to add the previous modification after that.

    2.) Looks like the original image is displayed in the masonry item instead of the masonry thumbnail. We also noticed the ?lossy=1&strip=1&webp=1 parameters in the image URL. Did you install an image optimization plugin? What happens when you deactivate the plugin temporarily?

    Best regards,
    Ismael

    Hi,

    We updated the code above. It should now apply the original image URL instead of the portfolio thumbnail.

    Have you tried disabling the plugins temporarily? It is possible that one of the plugins is causing the lightbox to fail.

    Best regards,
    Ismael

    #1302935

    In reply to: Theme technicalities

    Thank you.

    Please, how do I remove “Enfold WordPress Theme by Kriesi” in the copyright section of my website?

    Also, when on mobile, the distance between heading and paragraph are a bit much on the portfolio page. How can I adjust the responsiveness?

    Lastly, Please how do I change the name of the author on a blog post; and make the new additions in the short stories section show a larger image thumbnail?

    Kind regards,
    Quwam

    • This reply was modified 4 years, 11 months ago by qkel94.
    #1302830

    Hi,

    Welcome back! It’s been a while.

    Have you tried editing the Image elements and re-selecting the square thumbnail? You may need to do this manually for every image element.

    We also noticed that a “resize” parameter or query var is prepended to the image URL, which might be causing the issue. Did you install an image optimization plugin?

    Best regards,
    Ismael

    #1301688

    Hi Danielle,

    Sorry, apparently I have forgot to paste the link :)
    This is the one I was referring to – https://wordpress.org/plugins/simple-image-sizes/. After activating the plugin, you can go to Settings > Media, update image sizes and then click regenerate thumbnails button at the bottom

    Best regards,
    Yigit

    #1301607

    Hey,

    Thanks for contacting us!

    Could you please use this plugin and increase the size of “featured_large” images and regenerate thumbnails?
    Currently your image is 1500x700px and increasing the size would display it sharper :)

    Best regards,
    Yigit

    Hey ishish,

    Thank you for the inquiry.

    Would you like to increase the size of the lightbox image? The default thumbnail used for the lightbox is called the Large thumbnail, which can be adjusted in the Settings > Media panel. After the size adjustment, you have to upload the images again or regenerate them using a plugin.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1301265

    Hi,

    The plugin is outdated but it works properly. If you do not want to use it, then you will have to modify the functions.php file and adjust the dimension of the thumbnail manually. Around line 193, you will see this code.

    $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
    

    Adjust the width and height value, then regenerate the thumbnails, or upload the images again. This plugin will help with the thumbnail regeneration.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1301220

    Thank you, Yigit. That works, but removes the “Show Details” option I had added — https://kriesi.at/support/topic/how-to-add-an-add-to-cart-button-in-product-list-option-thumbnail-zoom/

    My earlier request was to have an “add to Cart” button, or “Show Details” button set up. That is essential for this project. Is there a way to add that and remove the description?

    I need the image, title, price, and an “Add to Cart” and/or “Show Details” button.

    Thank you.

    #1301155

    Hi Yigit,

    thanks for your help.

    I tried using the Blog Posts element and copied one post (not published) to find the right settings coming close to the layout in your Demo.
    Could you please check it? Something must be missing and not all posts (we have only 5 yet) are displayed.

    We used tags as well, but for now I used Taxonomy > Category and Grid Layout with 4 cols, manual Thumbnail Size and Title only. For the Filter I chose All Posts and for Offset duplicates not allowed.

    It would be great showing them all with maximum 6 of the newest in the future and no duplicates.

    Best regards,
    Dirk

    #1301151

    Dear Ismael,
    Thanks for looking into this. Your provides CSS does it look a little better – but it is still not working.

    I also see a lot of <br> when viewing the thumbnail of the post – but those <br> are NOT present in the text.

    And please notice the following.
    – Those extra <br> are only on thumbnails visible after clicking on Load more!
    – When clicking Load more, the screen is “flickering” indicating some code loops – probably where the extra br are being added.

    If you are not able to find the problem on the post, in edit mode, please escalate this issue as it seems to be a bug in the theme. No extra CSS should be needed to make the portfolio work.

    https://docs.google.com/uc?export=download&id=1Pycp-8cbZgB1adTDdo0koyuiw-c9yheI

    Regards,

    Chrilles

    #1300900

    Hey w_archer,

    Thank you for the inquiry.

    That is the default size of the featured images on post with sidebar. To adjust it, you may need to install the following plugin, activate it, go to the Settings > Media panel, look for the entry_with_sidebar thumbnail, adjust its size, then regenerate the thumbnails.

    // https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    #1300621
    w_archer
    Participant

    Hey,

    For some reason the featured image of my posts is being cropped at the top and bottom. It looks normal when i click on it and expand it to the lightbox. I have tried regenerating the thumbnails without success.

    How can i fix this?

    #1300395

    In reply to: Post slider image size

    Hi peterolle,

    For Post Slider Image, just edit it then go to Styling > Preview Image > Preview Image Size set to Choose the preview image size manually (select thumbnail size)
    Then you can pick what image size you want to use in Select custom preview image size
    Hope this helps.

    Best regards,
    Nikko

    #1299913

    Topic: Galerie

    in forum Enfold
    diefleischerei
    Participant

    Hallo zusammen. Ich habe hier eine Galerie eingefügt: https://derbetrieb.at/toller-erster-markttag/

    Plan wäre, dass alle Fotos untereinander mit großem Abstand in voller Breite angezeigt werden. Die Überlagerung sollte deaktiviert sein und die Bildbeschreibung unterhalb angezeigt werden, ganz ohne Thumbnails. Also ohne Lightbox. Irgendwie bekomme ich das nicht hin. Was mache ich falsch?

    Welche Einstellungen sind dafür die richtigen? Danke, Alexander

    #1299857
    Guenni007
    Participant

    i know that filter : avf_modify_thumb_size – and i can change the masonry size to f.e.:

    function enfold_customization_modify_thumb_size( $size ) {
    $size['masonry'] = array('width'=>1210, 'height'=>1210, 'crop' => false);
    return $size;
    }
    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );

    but that will need a recalcultion of that size to take effect on my existing masonries.

    isn’t there a way to have by that a new-size :

    add_image_size( 'new-size', 1210, 1210, false );
    
    function my_custom_sizes( $sizes ) {
        return array_merge( $sizes, array(
            'new-size' => __( 'New Size' ),
        ) );
    }
    add_filter( 'image_size_names_choose', 'my_custom_sizes' );

    and to set this new-size as source for masonry thumbnails?

    ______
    For Example
    On av-helper-masonry.php i can see that function: prepare_loop_from_entries
    there we have : $img_size = 'masonry';
    is it possible to use the filter avf_masonry_loop_entry_content to change here the source ?
    Thanks

    #1298957

    Hi,
    Thank you for your patience and the link to your sidebar news widget, so in this screenshot of your current source code please note that the current width & height of the image is 36px, and the “sizes” attitude has the max-width set to 36px, Red Arrows, but you also have a 180px source image available, Yellow Arrow
    change_image_size_src_used_with_jquery.jpg
    So I prepose this jQuery script to change the source image used to the 180px version which will give you a larger image and keep it looking crisp.

    function newsbox_custom_script() { ?>
        <script>
    (function($){
      $(document).ready(function(){
    $('.sidebar .newsbox .news-thumb img.size-widget').attr('width', '180');
    $('.sidebar .newsbox .news-thumb img.size-widget').attr('height', '180');
    $('.sidebar .newsbox .news-thumb img.size-widget').attr('sizes', '(max-width: 180px) 100vw, 180px');
    $('.sidebar .newsbox .news-thumb').css({'height': '180px','width': '180px'});
     });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'newsbox_custom_script');

    change_image_size_src_used_with_jquery_after.jpg
    Now if you want the image larger you could regenerate the thumbnails so you would have a larger option for a source and adjust the script, or if you don’t need the image to be very crisp you can adjust the last line of the script (css) to suit.

    Best regards,
    Mike

    cinchmedia
    Participant

    Rather than having the product page open upon click of the image, I would like an add to cart button to display within the list.

    I would also like the ability to zoom or open the lightbox by clicking on the thumbnail so that the user can better view the image.

    Can you direct me to CSS or a plugin to achieve this?

    #1298751

    Hello,

    When I use

    .rtl .av-magazine-thumbnail {
        float: right;
        margin-right: 0;
        margin-left: 15px;
    }

    The title under the first entry disappears (first entry is displayed bigger). Everything else is okay

    • This reply was modified 4 years, 11 months ago by FlatText. Reason: added first entry option

    Hi,

    We added this snippet in the functions.php file to replace the description with the actual product archive title.

    
    add_action( 'init', 'avia_woocommerce_full_width_category_images', 50 );
    function avia_woocommerce_full_width_category_images()
    {
       	remove_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner', 11 );
    	remove_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner', 11 );
    	add_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner_child_theme', 11);
    	//add_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner_child_theme', 11);
    
    	function avia_woocommerce_shop_banner_child_theme()
    	{
    		global $avia_config;
    
    		if(is_shop() || (is_product_category() && avia_get_option('shop_banner_global') == "shop_banner_global") && !isset($avia_config['woo-banner']))
    		{
    			$options = avia_get_option();
    
    			if( isset( $options['shop_banner'] )  && ( $options['shop_banner'] == 'av-active-shop-banner' ) )
    			{
    				$bg 		= $options['shop_banner_image'];
    				$overlay 	= $options['shop_banner_overlay_color'];
    				$opacity 	= $options['shop_banner_overlay_opacity'];
    				$description= wpautop($options['shop_banner_message']);
    				$font 		= $options['shop_banner_message_color'];
    
    				echo avia_woocommerce_parallax_banner($bg, $overlay, $opacity, $description, $font);
    			}
    		}
    	}
    
    	function avia_woocommerce_parallax_banner_child_theme($bg, $overlay, $opacity, $description, $font)
    	{
    
    		if(is_numeric($bg))
    		{
    			$bg = wp_get_attachment_image_src($bg, 'full');
    			if(is_array($bg) && $bg[0] != "") $bg = $bg[0];
    		}
    
    		if($font) $font = "style='color:{$font};'";
    		if($bg) $bg = "background-image: url(".$bg.");";
    
    		$output = "";
    
    		$output .='
    <div id="av_product_description" class="avia-section main_color avia-section-large avia-no-border-styling avia-full-stretch av-parallax-section av-section-color-overlay-active avia-bg-style-parallax container_wrap fullsize" data-section-bg-repeat="stretch" '.$font.'>';
    		$output .='
    <div class="av-parallax  avia-full-stretch" data-avia-parallax-ratio="0.3">';
    		$output .='
    <div class="av-parallax-inner" style="'.$bg.' main_color background-attachment: scroll; background-position: 50% 50%; background-repeat: no-repeat;">';
    		$output .='</div>
    ';
    		$output .='</div>
    ';
    
    		$output .='
    <div class="av-section-color-overlay-wrap">';
    		if(!empty($overlay))
    		{
    			$output .='
    <div class="av-section-color-overlay" style="opacity: '.$opacity.'; background-color: '.$overlay.'; "></div>
    ';
    		}
    
    		$output .='
    <div class="container">';
    		$output .='<main class="template-page content av-content-full alpha units">';
    		$output .= "
    <h1>".get_the_archive_title()."</h1>
    ";
    		if(false) $output .= "
    <h1>".$description."</h1>
    ";
    		$output .='</main></div>
    </div>
    </div>
    ';
    
    		return $output;
    	}
    
    	function avia_woocommerce_big_cat_banner_child_theme()
    	{
    		if(is_product_category())
    		{
    			global $wp_query, $avia_config;
    
    			if(isset($wp_query->query_vars['taxonomy']))
    			{
    				$term = get_term_by( 'slug', get_query_var($wp_query->query_vars['taxonomy']), $wp_query->query_vars['taxonomy']);
    				if(!empty($term->term_id))
    				{
    					$description 	= term_description() ;
    					$style 			= get_woocommerce_term_meta($term->term_id, 'av_cat_styling');
    					$attachment_id 	= get_woocommerce_term_meta($term->term_id, 'thumbnail_id');
    
    					$overlay 	= get_woocommerce_term_meta($term->term_id, 'av-banner-overlay');
    					$font 		= get_woocommerce_term_meta($term->term_id, 'av-banner-font');
    					$opacity 	= get_woocommerce_term_meta($term->term_id, 'av-banner-overlay-opacity');
    
    					if(!empty($style))
    					{
    						remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 );
    						echo avia_woocommerce_parallax_banner_child_theme($attachment_id, $overlay, $opacity, $description, $font);
    						$avia_config['woo-banner'] = true;
    					}
    				}
    			}
    		}
    	}
    }
    
    

    Best regards,
    Ismael

    #1298388
    adapt
    Participant

    Hi there

    I have a minor problem that has been bugging me for a while.

    The site in question (included in the “Private Content” section below) is using the blog post content element to display latest “posts”. We’ve set it up to only display the post title. No description, no thumbnail etc. Just the title.

    However, regardless of how many posts are set to be displayed (doesn’t make a difference if it’s 2 or 5), the text of the bottom one always gets cut off.

    I thought I could fix it by adding a separator/whitespace, however this doesn’t fix it at all, so the problem seems to lie with the actual blog post element itself.

    I presume there was an edit to CSS somewhere that has impacted this, however I can’t seem to find exactly the element that is causing this issue.

    Any help would be greatly appreciated!

    #1298352

    In reply to: Screen Options

    Hi, Bought the theme long time back and just started working on my website (+5years almost – well, dnt ask me why :D)… love your theme!!! Everyone loves it…

    I want to add a thumbnail image for my posts to come up in the ‘posts slider’ but I don’t see the option on the right side control panel. Understood I can enable it from the ‘Screen options’ on the top right but I can’t see that option too when I edit pages or posts… kindly help…

    Best regards, Jyothis
    My PHP version: 7.4.18

    #1298241

    In reply to: gallery thumbnail bug

    thanks!!! i can confirm that the problem appears to be only for images that were uploaded since last theme update

    if i deactive the wp optimize plugin (was there from the start) it works again if we upload new pictures, truly weird

    will replace all the pics uploaded since and that should work now with wp optimize disabled

    any idea about that other thing i mentioned where if you click the “big image on top” the lightbox only shows the current image not the rest of the gallery? if you click on the thumbnail it shows all gallery in the lightbox to click through

    link to old site where that still works and new site with described behavior in private field

    #1298208

    Hi,

    Would you mind providing a screenshot of the “section”? Please use imgur or dropbox for the screenshot.

    You cannot move the lightbox image but you can enlarge it to make sure that the size is the same as the actual size uploaded. To do that, go to the Settings > Media panel and adjust the dimension of the Large thumbnail. And again, you have to regenerate the thumbnail as suggested above.

    Best regards,
    Ismael

    #1298179

    In reply to: gallery thumbnail bug

    Hi,

    Thank you for restoring the site.

    It works fine when we select older images or images that have been uploaded earlier. In the above page, we duplicated the gallery, remove the current images and selected older images. The duplicated gallery displays the selected thumbnail size. (see private field)

    It is possible that the new images have been affected by a media or an image optimization plugin, but we cannot be sure. Please try to remove the new images and upload them again while the plugins are deactivated.

    Best regards,
    Ismael

Viewing 30 results - 1,141 through 1,170 (of 10,101 total)