Forum Replies Created

Viewing 30 posts - 13,291 through 13,320 (of 67,414 total)
  • Author
    Posts
  • in reply to: Blog sidebar not showing widgets #1321707

    Hey Siggy_Reutter,

    Thank you for the inquiry.

    Looks like you have not selected a blog page in the Enfold > Theme Options > And where do you want to display the Blog? settings. Select a blog page in the dropdown and place the widgets that are supposed to display in the blog within the Appearance > Widgets > Sidebar Blog widget area.

    Best regards,
    Ismael

    in reply to: Some CSS broke after Enfold Child theme update #1321706

    Hey MichaelVDZ1997,

    Thank you for the inquiry.

    You may need to toggle or disable the Enfold > Performance > File Compression settings after the update, and temporarily disable the cache and minification plugin if any is installed. This should regenerate or force the theme to load the updated scripts and stylesheets. Let us know if that helps.

    Best regards,
    Ismael

    in reply to: Highlight Spalte wird überlappt #1321705

    Hey screener,

    Thank you for the inquiry.

    Adding the following css code in the child theme’s style.css file should help.

    .flex_column_table .flex_column:nth-child(2) {
        z-index: 9999;
    }
    

    If you need a more specific selector or if you need to apply this modification to the columns in this specific page only, you can add a custom css class name to the column elements as described in the following documentation.

    // https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support

    Best regards,
    Ismael

    in reply to: Partner Element grid, adding more colums break layout #1321704

    Hey DesignProvider,

    Thank you for the inquiry.

    You may need to define the width for rows with 9 or 10 columns. Example:

    div .av_one_eighth {
      margin-left: 6%;
      width: 7.25%;
    }
    div .av_one_ninth {
      margin-left: 6%;
      width: 5.777777777777778%;
    }
    div .av_one_tenth {
      margin-left: 6%;
      width: 4.6%;
    }
    

    Add the code in the Quick CSS field, then toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.

    Best regards,
    Ismael

    in reply to: Mobile menu header covering logo #1321703

    Hey aliciapotts,

    Thank you for the inquiry.

    You can use the following css code in the Quick CSS field to center align the logo and move the burger icon below it. Make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.

    @media only screen and (max-width: 767px) {
      #header_main .inner-container {
        height: 160px;
        position: relative;
      }
    
      .responsive #top .logo {
        width: 100%;
        padding-bottom: 80px;
      }
    
      .responsive .logo img {
        margin: 0 auto;
      }
    
      .responsive.html_bottom_nav_header.html_cart_at_menu #top #wrap_all .main_menu {
        left: 50%;
        z-index: 102;
        transform: translateX(-50%);
        top: 80px;
        right: auto;
      }
    }

    Best regards,
    Ismael

    in reply to: Autoresponder function.php code not working #1321643

    Hey JennyGr,

    Thank you for the inquiry.

    Try to use the new filter avf_contact_form_autoresponder_mail to adjust the email message.

    add_filter("avf_contact_form_autoresponder_mail", function($mail_array, $new_post, $form_params, $class) { 
         $new_message = "Dear ".$new_post["2_1"]."<br><br>";
         $new_message .= $mail_array["Message"];
    
         $mail_array["Message"] = $new_message;
    
         return $mail_array;
    }, 10, 4);
    

    The $new_post[“2_1”] should contain the value of the “Your First Name *” field.

    Best regards,
    Ismael

    in reply to: Translate privacy and cookie text in language switch #1321641

    Hey NoraGTS,

    Thank you for the inquiry.

    You will have to create a custom shortcode to display different content for each language in the cookie consent message container. Please check the following threads for more info.

    // https://kriesi.at/support/topic/polylang-in-socket/#post-1269102
    // https://kriesi.at/support/topic/cookie-consent-message-erscheint-immer-wieder/#post-992984

    Best regards,
    Ismael

    in reply to: Large ecommerce catalogue #1321640

    Hey compito,

    Thank you for your interest in the theme.

    Enfold is compatible with Woocommerce and can be used as a base theme for e-commerce sites, but it would definitely require some modifications. Third party shop extensions have to be installed for additional features such as advanced filtering, payment gateways and custom layouts. You can also adjust the default layouts by adding css modifications and by editing the shop template files. Performance will vary based on the server specifications and additional site optimization.

    Best regards,
    Ismael

    in reply to: Youtube video not blocked properly #1321639

    Hey Peter,

    Thank you for the inquiry.

    Youtube cookies are only saved in the local storage once the button is clicked, not on page load. In your privacy policy, you could notify the users that by clicking the slider button, they implicitly accepts Youtube’s terms of service.

    Unfortunately, we are not sure if Borlabs will be able to block videos inside the default lightbox. You may need to ask the plugin authors for additional assistance.

    Best regards,
    Ismael

    in reply to: Portfolio Einträge, Bilder proportional hochladen #1321582

    Hey augenblende,

    Thank you for the inquiry.

    Are you trying to adjust the lightbox images used in the masonry element? If yes, then you can use this filter in the functions.php file to display the original image inside the lightbox instead of the masonry thumbnail.

    add_filter("avf_alb_lightbox_image_size", function($size, $context) {
        if($context = "avia_masonry") {
            $size = "full";
        }
        return $size;
    }, 10, 2);
    

    The “large” thumbnail is used by default, which size can be adjusted in the Settings > Media panel.

    Best regards,
    Ismael

    in reply to: Sticky posts magazine #1321581

    Hi,

    If there are multiple magazine elements in a single page, we could check for the class attribute value or names of each magazine element and assign a sticky post accordingly. Example:

    
    /* https://kriesi.at/support/topic/sticky-posts-in-magazine-element/ */
    function avf_magazine_entries_query_sticky($query, $params) {	
    	$include = array();
    
    	$sticky = get_option( 'sticky_posts' );
    
        if(is_single(10137)) {
    		// first magazine element
    		if(true == strpos($params["class"], "avia-builder-el-0")) {
    			$sticky_id = 4649;
    		}
    
    		// second magazine element
    		if(true == strpos($params["class"], "avia-builder-el-1")) {
    			$sticky_id = 2301;
    		}
    
    		// third magazine element
    		if(true == strpos($params["class"], "avia-builder-el-2")) {
    			$sticky_id = 1236;
    		}
    
    		$sticky = array(get_post($sticky_id)->ID);
    	}
    
    	$query['post__not_in'] = $sticky;
    	$posts = get_posts( $query );
    
    	foreach($posts as $post) {
    		$include[] = $post->ID;
    	}
    
    	$include = array_merge($sticky, $include);
    
    	$query['post__in'] = $include;
    	$query['orderby'] = 'post__in'; // sort items based on the post__in value
    	return $query;
    }
    add_filter('avf_magazine_entries_query', 'avf_magazine_entries_query_sticky', 10, 2);
    

    This part of the code checks for the class name of the first, second and third magazine element and return the corresponding sticky post.

    // first magazine element
    		if(true == strpos($params["class"], "avia-builder-el-0")) {
    			$sticky_id = 4649;
    		}
    
    		// second magazine element
    		if(true == strpos($params["class"], "avia-builder-el-1")) {
    			$sticky_id = 2301;
    		}
    
    		// third magazine element
    		if(true == strpos($params["class"], "avia-builder-el-2")) {
    			$sticky_id = 1236;
    		}
    

    You can combine these conditions with the is_page function to display a specific sticky post for different magazine element within a specific page.

    Best regards,
    Ismael

    in reply to: Accordion/Toggles deeplinking #1321580

    Hi,

    Thank you for the update.

    Did you toggle the Performance > File Compression settings after adjusting the file? Please post the login details in the private field so that we could test it.

    Best regards,
    Ismael

    Hi,


    @Steve
    : We have to inspect the page in order to check the issue. Please post the site URL in the private field and provide a screenshot of the “header” or element that you want to adjust.

    Best regards,
    Ismael

    in reply to: add class to get_the_term_list #1321578

    Hi,

    If you want to place the price after the excerpt, this filter should work.

    add_filter("avf_post_slider_entry_excerpt", function(excerpt, $prepare_excerpt, $permalink, $entry) {
        $price = get_post_meta($entry->ID, "price", false);
        $excerpt .= "<span class='av-price'>". $price ."</span>";
        return $excerpt;
    }, 10, 4);
    

    If it has to be placed, under the post title, look for this code around line 892.

    $output .=  "<{$heading} class='slide-entry-title entry-title {$css}' $markup><a href='{$link}' title='" . esc_attr( strip_tags( $title ) ) . "'>{$title}</a></{$heading}>";
    

    Below, add the custom field.

     $price = get_post_meta($entry->ID, "price", false);
     $output .= "<span class='av-price'>". $price ."</span>";
    

    Best regards,
    Ismael

    in reply to: RSS Feed old and numeric URLs #1321576

    Hi,

    No problem. Glad to know that the issue with the rss feed has been fixed. And glad we could be of help. Please let us know in another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Mobile Menu Fade Removal #1321575

    Hi,

    Thank you for the update.

    Did you temporarily disable the Enfold > Performance > File Compression settings after doing the modification? You may also have to disable the cache plugin and remove the browser history afterwards.

    Best regards,
    Ismael

    in reply to: Sticky post in blog grid #1321573

    Hi,

    Thank you for the info.

    Is the sticky post positioned at the very last of the array? Please try to use the array_reverse function to adjust the order of the $include array.

    // https://www.php.net/manual/en/function.array-reverse.php

    Or replace the array_merge with the array-unshift function to move the sticky post at the beginning of the array.

    // https://www.php.net/manual/en/function.array-unshift.php

    Best regards,
    Ismael

    in reply to: [av_privacy_google_tracking] button not working #1321572

    Hi,

    maybe it’s because I block third-party cookies by default?

    What do you mean? Are you referring to a browser option? Please try to check the site on a different browser or on a different machine.

    Best regards,
    Ismael

    in reply to: Work Sans Font Weight Issues #1321571

    Hi,

    Yes, looks like the old filter is still in place within the enfold/framework/php/font-management/class-avia-type-fonts.php file.

    	/**
    		 * Kept for backwards compatibility - will be replaced by next filter
    		 */
    		$fonts = apply_filters('avf_google_heading_font', $fonts );
    
    		/**
    		 * @since 4.3
    		 * @return array
    		 */
    		$fonts = apply_filters('avf_available_google_fonts', $fonts );
    

    Best regards,
    Ismael

    in reply to: Font glitch #1321342

    Hi,

    Try to modify the enfold\framework\php\class-style-generator.php file and look for this code around line 767.

    document.getElementsByTagName('head')[0].appendChild(f);
    

    Replace it with:

    document.getElementsByTagName('head')[0].prepend(f);
    

    This should prepend the font files at the very top of the head tag, loading them first. Let us know if that helps.

    Best regards,
    Ismael

    in reply to: exclude images from srcset responsive react. #1321341

    Hi,

    That could also work. We have to modify the config-templatebuilder\avia-shortcodes\slideshow_fullsize\slideshow_fullsize.php file, around line 1073, add this code below to pass the class names to the avia_slideshow object.

    $slider->set_extra_class( $meta["el_class"] );
    

    In the config-templatebuilder\avia-shortcodes\av-helper-slideshow.php, around line 789, we could check if the class name “nosrcset” exists or not.

    	if(false == strpos($this->config['class'], "nosrcset")) {
    							$img_tag = Av_Responsive_Images()->make_image_responsive( $img_tag, $slide->ID, $this->config['lazy_loading'] );
    						}
    

    The srcset attribute should not be added whenever the “nosrcset” is used as a custom css class name for a Fullwidth Slider element.

    Best regards,
    Ismael

    in reply to: masonry gallery sort option #1321337

    Hi,

    Sorry for the delay. Try to replace the filter with the following code to sort the masonry items by date in descending order.

    add_filter("avia_masonry_entries_query", function($query) {
        $query["orderby"] = "date";
        $query["order"] = "DESC";
        return $query;
    }, 10, 1);

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Edit default Ajax search for Taxonomy Terms #1321336

    Hi,

    You can copy the whole avia_ajax_search function in the child theme’s functions.php file, without the function_exists check. This should override original function in the parent theme.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: add class to get_the_term_list #1321335

    Hi,

    d i don’t really know what you mean about terms?

    Terms are items inside a specific taxonomy. The default post category is an example of a taxonomy where you can create different terms. Please check the documentation for more info.

    // https://wordpress.org/support/article/taxonomies/

    We are not really sure how your taxonomies or custom post types are set up but using taxonomy for prices is not really recommended. You should attach a price to a post using custom fields instead of taxonomy terms.

    Best regards,
    Ismael

    in reply to: ACF Groups Showing In Masonry Element #1321334

    Hi,

    Thank you for the update.

    Did you remove the previous filter? Please make sure that there are no duplicate function in the functions.php file. And try to copy the snippet directly from the forum, instead of your email.

    Best regards,
    Ismael

    in reply to: Copyright option for images including HTML #1321330

    Hi,

    Alright. Please do not hesitate to open another thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Work Sans Font Weight Issues #1321329

    Hi,

    @tiffanytnttobo: You have to add the code in the functions.php file.


    @Guenni007
    : In the filter above, we are actually appending or pushing the new font in the end of the array, which is why the new font is located at the bottom of the list. We might be able to adjust the order of the fonts by re-sorting the $fonts array.

    Best regards,
    Ismael

    in reply to: [av_privacy_google_tracking] button not working #1321328

    Hi,

    Thank you for the info.

    The toggle within the modal privacy window is still clickable as shown in the screenshots below. Which browser are you using?

    Screenshot: https://postimg.cc/gallery/vHL2ZmR/b357e182

    Best regards,
    Ismael

    in reply to: Bug with Masonry and av-sort-by-term #1321323

    Hi,

    No problem. Let us know if you need anything else. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: How to dequeue analytics.js? #1321321

    Hi,

    Alright. Glad to know that you managed to figure out the issue. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 30 posts - 13,291 through 13,320 (of 67,414 total)