Forum Replies Created

Viewing 30 posts - 10,081 through 10,110 (of 67,443 total)
  • Author
    Posts
  • in reply to: selfhosted Font Loading via Custom Font Manager #1363433

    Hi!

    Example usage of the avf_font_manager_file_formats filter.

    add_filter('avf_font_manager_file_formats', function($formats, $context) {
        if($context == 'AviaTypeFonts')
        {
            $formats = array(
                'woff2'	=> "format('woff2')",
                'woff'	=> "format('woff')",
                'ttf'	=> "format('truetype')",
                'svg'	=> "format('svg')",
                'eot'	=> "format('embedded-opentype')"
            );
    
            // add another file format at the beginning of the array
            $formats = array("woff3" => "format('woff3')") + $formats;
        }
    
        return $formats;
    }, 10, 2);
    

    This example just returns the $formats in default order.

    Regards,
    Ismael

    in reply to: Google Fonts #1363432

    Hi,


    @Guenni007
    : We will forward the modification and include it in the next patch.. Please continue here: https://kriesi.at/support/topic/selfhosted-font-loading-via-custom-font-manager/#post-1363341


    @Luisgasser
    : After activating the child theme, you have to import the parent theme options in the Enfold > Import/Export panel. Please check the documentation below for more info.

    // https://kriesi.at/documentation/enfold/child-theme/#how-child-themes-work

    Best regards,
    Ismael

    in reply to: selfhosted Font Loading via Custom Font Manager #1363341

    Hi Guenter!

    Thanks for the inquiry.

    Please try to edit the enfold/framework/php/font-management/class-avia-type-fonts.php file, around line 1061 inside the get_css_custom_font_face function, reverse the order of the items in the $urls array.

    $css .=		implode( ",\r\n          ", array_reverse($urls) );
    

    Expected result:

    
    @font-face {
      font-family: 'aboreto-v2-latin';
      src: url('http://site.com/wp-content/uploads/avia_fonts/type_fonts/aboreto-v2-latin/aboreto-v2-latin-regular.woff2') format('woff2'),
        url('http://site.com/wp-content/uploads/avia_fonts/type_fonts/aboreto-v2-latin/aboreto-v2-latin-regular.woff') format('woff'),
        url('http://site.com/wp-content/uploads/avia_fonts/type_fonts/aboreto-v2-latin/aboreto-v2-latin-regular.ttf') format('truetype'),
        url('http://site.com/wp-content/uploads/avia_fonts/type_fonts/aboreto-v2-latin/aboreto-v2-latin-regular.svg#aboreto-v2-latin') format('svg'),
        url('http://site.com/wp-content/uploads/avia_fonts/type_fonts/aboreto-v2-latin/aboreto-v2-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('http://site.com/wp-content/uploads/avia_fonts/type_fonts/aboreto-v2-latin/aboreto-v2-latin-regular.eot') format('embedded-opentype');
      font-style: normal;
      font-weight: 400;
      font-display: auto;
    }
    

    Cheers!
    Ismael

    in reply to: Google Fonts #1363340
    in reply to: Portfilio Grid Pre Filtered #1363333

    Hi,

    Thank you for the update.

    You have to add the code in the functions.php file and create custom menu items in the Appearance > Menus panel. In the URL field of the menu item, add the URL of the page containing the Portfolio Grid and include the sort query parameter and set the name of the category that you would like to immediately activate as its value.

    Example:

    http://mysite.com/page-with-portfolio-grid?sort=cat
    

    When a user visit the link or click the custom menu item, the script will automatically activate the category with the name “cat”. If you need more help, please provide the login details in the private field and make sure that the Appearance > Theme File Editor panel is active.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The functions that controls the privacy options including the privacy shortcode are located in the enfold/includes/helper-privacy.php file. The function handler_wp_footer_script defines the av_privacy_cookie_setter function which sets or removes a cookie based on the status of the privacy toggles.

    For example, if the toggle av_privacy_google_recaptcha is disabled, the functions sets the aviaPrivacyGoogleReCaptchaDisabled in the browser storage, which informs the theme that the recaptcha script should not be loaded because the user disabled it.

    Unfortunately, we are not familiar with the consentmanager plugin, so might not be able to help you further. You may need to use a different contact form plugin that is already compatible with the consentmanager.

    Best regards,
    Ismael

    in reply to: Alt text and Titles for Social Share Links #1363328

    Hi,

    Thank you for the update.

    You may need to override the avia_social_share_links class without class_exists condition instead of copying the whole helper-social-media.php file in your child theme. The title attribute is not added by default because of the sharing links’ tooltip, which displays the value of the $name variable.

    Best regards,
    Ismael

    in reply to: Shop product overview pictures have changed size #1363326

    Hey Annemarie,

    Thank you for the inquiry.

    Did you adjust the Thumbnail Width in the Customize > Woocommerce panel? Adding this filter in the functions.php file should override the default shop_catalog thumbnail and use the value set in the Thumbnail Width field.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_thumbnail_size_adjustment', 10, 1 );
    function avf_thumbnail_size_adjustment( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Related thread: https://kriesi.at/support/topic/woocommerce-product-images-not-displaying-correctly/#post-1362021

    Best regards,
    Ismael

    in reply to: Non-vengono-visualizzati-i-pulsanti-nella-slider-homepage #1363324

    Hi,

    Thank you for the update.

    The slider buttons are visible when we checked the site on a mobile device emulation. Where did you take the screenshot, which device?

    Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvxAZZ0ss4nJB37vec?e=X6jw0g

    Best regards,
    Ismael

    in reply to: Mobile view of fullwidth easy slider #1363322

    Hi,

    @es.design.ma: Yes, the images in the gallery are properly aligned to the left when we checked.


    @Soullesspix
    : Have you tried replacing the Fullwidth Slider with a Fullscreen Slider? The fullscreen version of the slider will resize based on the height of the current screen instead of resizing based on the dimension and aspect ratio of the slides/images.

    Best regards,
    Ismael

    in reply to: Cookie Consent & Embedded Youtube Videos #1363321

    Hey guximuxi,

    Thank you for the inquiry.

    Did you enable the Enfold > Privacy & Cookies options and use the Video element from the Advance Layout Builder (ALB)? Only videos added using the default Video element from the builder will be blocked by the cookie consent bar. Please provide the site URL in the private field so that we can check the issue further.

    Best regards,
    Ismael

    Hey paoluccimarketing2015,

    Thank you for the inquiry.

    Are you using the Product Grid element? If you want the grid to use the specified Thumbnail width in the Customize > Woocommerce > Product Images panel, please add this filter in the functions.php file.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_thumbnail_size_adjustment', 10, 1 );
    function avf_thumbnail_size_adjustment( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Related thread: https://kriesi.at/support/topic/woocommerce-product-images-not-displaying-correctly/#post-1362021

    Best regards,
    Ismael

    in reply to: theme #1363319

    Hey Isabelle Montminy,

    Thank you for the inquiry.

    Do you see an Envato private token in the Enfold > Theme Updates panel? You will have to contact Themeforest directly and ask them to transfer the old account to yours. They might ask some credentials or proof. You can forward the private token to them, but we are not sure if this will be enough. Unfortunately, we do not handle account transfer or any topics related to sales in this forum.

    Best regards,
    Ismael

    in reply to: Image Overlay Position for Resized Thumbnails #1363318

    Hey nV15OoBtg21iTn5z,

    Thank you for the inquiry.

    Try to add this css code to adjust the size and position of the overlay.

    .avia_transform a .image-overlay {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
    

    Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.

    Best regards,
    Ismael

    in reply to: Theme features not working #1363317

    Hey Maggie,

    Thank you for the inquiry.

    We noticed a script error in the console the first time we visited the site, but it got fixed immediately after deactivating the Enfold > Performance > File Compression settings. We also noticed that the theme in the site is outdated, upgrading to the latest version should help fix the remaining errors and issues. Please make sure to purge the cache after updating the theme to version 5.1.1.

    Best regards,
    Ismael

    in reply to: accidental multiple licenses #1363315

    Hey traypup,

    Thank you for the inquiry.

    You will have to contact Themeforest about the refund. Unfortunately, we do not handle any topic related to sales including refunds in this forum. Please feel free to open another thread if you have more questions about the theme or if you are having issues with the refund request.

    Best regards,
    Ismael

    in reply to: Issue with Yoast readability #1363137

    Hi,

    Glad to know that this is working correctly now. You might had viewed a cached version of the events editor pages with the old analysis scripts. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Enfold + Directories Pro compatibility issue #1363136

    Hi,

    Thank you for the update.

    If user hover at the category title, it does not shows the title name but shows strange code

    We are not getting that issue anymore, the title attribute of the category title is now set accordingly. This is what shows on hover.

    Permanent Link: Category: Restaurant
    

    We are not yet sure why the category title doesn’t have the correct link, so we modified the functions-enfold.php file temporarily and added this code around line 650 within the avia_title function.

    		if ( is_tax() || is_category() || is_tag() || is_archive() )
    		{
    			global $wp_query;
    
    			$term = $wp_query->get_queried_object();
    			$link = get_term_link( $term );
    		}
    

    Best regards,
    Ismael

    in reply to: Google Fonts #1363134

    Hi,

    Thank you for the info @guenni007!!

    @luisgasser: As suggested by @guenni007, adding more information about the fonts in your privacy policy page should help. And as pointed above, the Roboto font will not load immediately if the services such as Google Maps and their scripts are blocked by the privacy & cookie options.

    Best regards,
    Ismael

    in reply to: Horizontal gallery mobile view #1363133

    Hey Tobias,

    Thank you for the inquiry.

    Have you tried creating a different layout for the gallery? Perhaps displaying the images separately as their own entity using an Image element, instead of displaying them as a group using a slider or horizontal gallery.

    How would you like the gallery to display on mobile view? If you want the images to fully display without overflow even on smaller screens, please use this css code.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive .av-horizontal-gallery-img {
        height: 100%;
        width: 100%;
        transform: none;
        top: 0;
        position: relative;
      }
    }

    Best regards,
    Ismael

    Hi folks!

    Thank you for the inquiry.

    @fkm: You can try the recommended changes above. Just let us know if you need help with the adjustments.


    @Guenni007
    : Thanks for the help!

    Best regards,
    Ismael

    in reply to: Problems in admin panel VS custom error 404 page #1363131

    Hi,

    Thank you for the info.

    Looks like the site contains an older version of the theme (v4.9), which might be the reason for the redirect issue. Please create a site backup or a restore point, then upgrade the theme to version 5.1.1 and WordPress to 6.0.1. After the upgrade, try to temporarily disable the 404 redirect and temporarily turn off the Enfold > Performance > File Compression settings, purge the cache afterwards.

    Best regards,
    Ismael

    in reply to: Alt text and Titles for Social Share Links #1363129

    Hey Thomas,

    Thank you for the inquiry.

    You can edit the enfold/includes/helper-social-media.php code file and around line 751 you will see the html for the social share links.

    $this->html .=		"
     	<li class='av-share-link av-social-link-{$key}' >";
    				$this->html .=			"<a {$blank} {$aria_label} href='" . esc_url( $url ) . "' " . av_icon_string( $icon, false ) . " title='' data-avia-related-tooltip='{$name}'>";
    				$this->html .=				"<span class='avia_hidden_link_text'>{$name}</span>";
    				$this->html .=			'</a>';
    				$this->html .=		'</li>
    ';
    

    The $name variable should contain the text “Share on xx” or “Link to xx”.

    Best regards,
    Ismael

    in reply to: Portfolio Category Order #1363126

    Hi,

    Alright! Glad to know that the issue has been fixed. Please feel free to open another thread if you have more questions about the theme. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Portfilio Grid Pre Filtered #1363125

    Hey Vangone,

    Thank you for the inquiry.

    Yes, this should be possible. You can use the following script in the functions.php file, which should trigger or activate a sort button based on the value of the sort URL parameter.

    // activates a sort button based on the sort query parameter
    function ava_activate_sort_button()
    {
        if (NULL == $_GET["sort"]) {
            return;
        }	
        ?>
    		<script>
            (function($){	
                $(document).ready(function() {
                   <?php echo '$(".'. $_GET["sort"] .'_sort_button").trigger("click");'; ?>
                });	
            })(jQuery);
            </script>
    <?php
    }
    add_action('wp_head', 'ava_activate_sort_button');

    Example of the URL with the sort parameter.

    https://kriesi.at/portfolio?sort=enfold
    

    Visiting the above URL will trigger the category sort item named enfold.

    Best regards,
    Ismael

    in reply to: Single Posts using index.php instead of single.php #1363124

    Hi,

    Thank you for the inquiry.

    Did you check the plugins in the client’s site? We added the following code in the functions.php file and all functions return the appropriate values.

    add_action('wp_head', function() {
    	global $template, $post;
    	echo '<pre>' . var_export($template, true) . '</pre>'; // returns single.php
    	echo '<pre>' . var_export(get_post_type(get_the_ID()), true) . '</pre>'; // returns post
    	echo '<pre>' . var_export(get_single_template() , true) . '</pre>'; // returns single.php
    	echo '<pre>' . var_export(get_query_template('single'), true) . '</pre>'; // returns single.php
    });
    

    Tested on Enfold 5.1.1 and WordPress 6.0.1.

    Best regards,
    Ismael

    in reply to: Sticky Posts only in selected category #1363123

    Hey profumopuntoit,

    Thank you for the inquiry.

    We may need to access the dashboard in order to check the issue further. Please provide the login details in the private field, and make sure that the Appearance > Theme File Editor is accessible.

    Best regards,
    Ismael

    in reply to: Leaflet JavaScript library update #1363122

    Hey BFred,

    Thank you for the inquiry.

    1.) We will forward the info to our channel and probably include the latest version of the leaflet.js file in the next patch.

    2.) We are not really sure how ImmuniWeb checks this but it is possible that the entry for the isotope.js script in their database is outdated or they have an algorithm that checks for this entry in the script file, which seems outdated based on the copyright info.

    /*!
     * Isotope PACKAGED v3.0.6
     *
     * Licensed GPLv3 for open source use
     * or Isotope Commercial License for commercial use
     *
     * https://isotope.metafizzy.co
     * Copyright 2010-2018 Metafizzy
     */
    
    

    Best regards,
    Ismael

    in reply to: Masonry ignores choosen category #1363121

    Hey Tobias,

    Thank you for the inquiry.

    Are you referring to the category sort buttons? Would you mind providing a screenshot of the issue? You can use imgur, savvyify or dropbox for the screenshot. Thanks.

    Please note that only categories that have at least one existing item in the current page will display as a sort button. A sort item will not display if no item is found for that specific category.

    Best regards,
    Ismael

    Hey xxtita,

    Thank you for the inquiry.

    You may have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior settings to the first or second option to allow the Google-reCAPTCHA-API scripts. The API doesn’t work because the privacy option blocks the scripts in order to prevent any cookies from being stored in the users’ browser storage without their consent. Adjusting the default cookie behavior should allow external scripts even without the users’ explicit consent or without them accepting the cookies first.

    Best regards,
    Ismael

Viewing 30 posts - 10,081 through 10,110 (of 67,443 total)