Forum Replies Created

Viewing 30 posts - 13,381 through 13,410 (of 67,482 total)
  • Author
    Posts
  • 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

    in reply to: Hello, how can i have arrow in these submenu? #1321320

    Hi,

    Thank you for the update.

    You might have forgotten the site domain or URL. Please include in the private field along with the login details.

    Best regards,
    Ismael

    in reply to: Magazine filter and permalinks #1321319

    Hi,

    Thank you for the update.

    You have to place the magazine/magazine.php file inside the shortcodes folder within the child theme directory. That is the new avia-shortcodes folder. So the new folder structure would be yourchildtheme/shortcodes/magazine/*(magazine shortcode files including php, js etc). And yes, you have to adjust the script path in the wp_enqueue_script function.

    Best regards,
    Ismael

    Hi,

    Great! Glad to know that it is working correctly now. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

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

    Hi,

    This is not going to be included in the next patch. We are just trying to provide a possible solution. You could also remove the make_image_responsive function from the enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php line 787.

    $img_tag = "<img src='{$img[0]}' width='{$img[1]}' height='{$img[2]}' title='{$linktitle}' alt='{$linkalt}' {$markup_url} {$img_style} />";
    						$img_tag = Av_Responsive_Images()->make_image_responsive( $img_tag, $slide->ID, $this->config['lazy_loading'] );
    

    Maybe add a new element option or toggle in the enfold/config-templatebuilder/avia-template-builder/php/class-popup-templates.php where you can disable/enable srcset attribute or responsive images for the slider. Something like:

    /**
    		 * Responsive Images Option
    		 * 
    		 * @since 4.8.6.2
    		 * @param array $element
    		 * @return array
    		 */
    		protected function responsive_image_toggle( array $element )
    		{
    			$desc  = __( 'Enable responsive images or add srcset attribute to slider images.', 'avia_framework' ) . ' '; 
    
    			$id = isset( $element['id'] ) && ! empty( $element['id'] ) ? $element['id'] : 'responsive_srcset';
    			$std = isset( $element['std'] ) && in_array( $element['std'] , array( 'disabled', 'enabled' ) ) ? $element['std'] : 'enabled';
    			$required = isset( $element['required'] ) && is_array( $element['required'] ) ? $element['required'] : array();
    			$lockable = isset( $element['lockable'] ) ? $element['lockable'] : false;
    
    			$c = array(
    							array(
    								'name'		=> __( 'Responsive Images', 'avia_framework' ),
    								'desc'		=> $desc,
    								'id'		=> $id,
    								'type'		=> 'select',
    								'std'		=> $std,
    								'lockable'	=> $lockable,
    								'required'	=> $required,
    								'subtype'	=> array(
    													__( 'Add srcset attribute', 'avia_framework' )	=> 'enabled',
    													__( 'Remove srcset attribute', 'avia_framework' )		=> 'disabled'
    												)
    							)
    				);
    
    			if( isset( $element['no_toggle'] ) && true === $element['no_toggle'] )
    			{
    				$template = $c;
    			}
    			else
    			{
    				$template = array(
    								array(	
    									'type'			=> 'template',
    									'template_id'	=> 'toggle',
    									'title'			=> __( 'Performance', 'avia_framework' ),
    									'content'		=> $c 
    								),
    					);
    			}
    
    			return $template;
    		}
    
    

    You can then add a condition like so:

    $img_tag = "<img src='{$img[0]}' width='{$img[1]}' height='{$img[2]}' title='{$linktitle}' alt='{$linkalt}' {$markup_url} {$img_style} />";
    if($responsive_srcset == "enabled") {
        $img_tag = Av_Responsive_Images()->make_image_responsive( $img_tag, $slide->ID, $this->config['lazy_loading'] );
    }
    

    Best regards,
    Ismael

    in reply to: Hello, how can i have arrow in these submenu? #1321201

    Hi,

    Thank you for the inquiry.

    You might have enabled the mega menu option before. Please edit one of the menu items in the Appearance > Menus panel, then tick the Mega Menu checkbox.

    Best regards,
    Ismael

    in reply to: delete this withe submenu #1321200

    Hi,

    Thank you for the inquiry.

    Are you trying to remove the sub menu? Please try to edit the main menu in the Appearance > Menus panel. Make sure that all child or sub items are removed. If the issue persists, please post the site URL in the private field so that we can check the site directly.

    Best regards,
    Ismael

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

    Hey Ludovic,

    Thank you for the inquiry.

    The issue occurs because of the following css code in the style.css file.

    .av-masonry a.av-masonry-entry {
        transition: 0.6s all;
    }

    It repeats the transition causing the items to slide back from where they start.

    Best regards,
    Ismael

    Hey Grobi,

    Thank you for the inquiry.

    Did you enable the parallax effect? Please note that this effect is disabled on mobile devices by default. The option “background attachment fixed” will also not work on iOS devices when the background size is set to “cover”. Please check the following link.

    // https://caniuse.com/background-attachment

    iOS has an issue preventing background-attachment: fixed from being used with background-size: cover – see details

    Best regards,
    Ismael

    in reply to: Font glitch #1321146

    Hi,

    For some reason, the font files (Lato, Opens Sans) in the above site are added last, only after every stylesheets and scripts are loaded, which causes FOUT. On our installation, the font files are loaded first as shown in the screenshot below.

    finansgruppen: https://postimg.cc/FfDJ90Xn
    localsite: https://postimg.cc/w7TZMpNf

    Did you modify any of the theme files?

    Best regards,
    Ismael

    in reply to: Styling to Column not showing #1321144

    Hey Kyle,

    Thank you for the inquiry.

    The background of the columns is actually set to white but the text color inherits the color of the container, so it is also white. You may need to adjust text block’s Styling > Fonts Colors > Font Colors settings to the second option and define a Custom Font Color.

    Best regards,
    Ismael

    in reply to: Update safe or not? #1321143

    Hi,

    Stagesites are for developing.

    Yes, that is true. But staging sites can be used for testing as well. And yes, we test the features before releasing the theme but, unfortunately, we cannot guarantee a free-error update for every single site because of obvious reasons such as differences in installed plugins, server configurations, added script, custom modifications and other factors.

    Please try to install the latest version on a staging site first, or create a site backup before updating the theme. Let us know how it goes.

    Best regards,
    Ismael

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

    Hey elektrokat,

    Thank you for the inquiry.

    The analytics script should not load if the analytics ID is not provided or the script in the Enfold > Google Services > Google Analytics field does not exist. Where can we see the issue? Please provide the site URL in the private field.

    Best regards,
    Ismael

    in reply to: Error message of type E_ERROR #1321123

    Hi,

    Thanks for the follow up.

    The base Woocommerce plugin should be turned on before enabling the WooCommerce Shipping & Tax extension. The base plugin is disabled previously, which is probably why the errors occurred. Make sure to enable the base Woocommerce plugin before enabling its extensions.

    Best regards,
    Ismael

    Hey bemodesign,

    Thank you for the inquiry.

    We cannot reproduce the issue on our end — the headings look fine as shown in the screenshot below. Would you mind providing a screenshot?

    Screenshot: https://postimg.cc/VdNvkqTM

    Best regards,
    Ismael

    in reply to: Search box in overlay Search box #1321121

    Hi,

    Thank you for following up. Glad to know that the modification is working.

    To move the search form before the CHI SIAMO menu item, try to replace the script with the following.

    
    // add search bar to mobile menu
    function ava_custom_script_mod_search_mobile()
    {
    ?>
    	<script>
    		(function($) {
    			$(document).ready(function() {		
    				var page   = window.location.href;
    				var search = '<form action="'+page+'" method="get" class=""><div><input type="submit" value="?" id="searchsubmit" class="button avia-font-entypo-fontello"><input type="text" id="s" name="s" value="" placeholder="Search"></div></form>';
    	
    				$('.av-burger-menu-main a').on('click', function() {
    					if($(".av-mobile-search").find('form').length == 1) return;
    					setTimeout(() => {
    						$("<li class='av-mobile-search av-active-burger-items'>" + search + "</div>").insertAfter('.menu-item-178580');
    					}, 300);	
    				});
    			});
    		})(jQuery);
    	</script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod_search_mobile', 10000);
    

    Best regards,
    Ismael

    in reply to: WooCommerce Blocks within Enfold #1321119

    Hey npmcgrew,

    Thank you for the inquiry.

    The block editor is actually enabled by default, but you can toggle or choose a different editor in the Enfold > Theme Options > Select Your Editor settings. Make sure that the Classic Editor plugin is not active.

    Best regards,
    Ismael

    Hi,

    No problem. Please let us know if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Changes to website not saving #1321116

    Hey norwestarch,

    Thank you for the inquiry.

    Have you tried checking the site on incognito mode? Are you making any css or script changes? Please temporarily disable the Enfold > Performance > File Compression settings and the cache plugins, then try to check the site on incognito mode, or disable browser cache temporarily.

    Best regards,
    Ismael

    in reply to: Can't find Related Posts function anywhere #1321031

    Hey SpeedofLike,

    Thank you for the inquiry.

    Looks like you are using the Advance Layout Builder (ALB) to create the content of the posts. You may have to use any of the posts elements (blog posts, magazine, post slider) and add it to the post to create a related posts section. However, if you would like to automatically add a related post section for post created using the ALB, please try this snippet in the functions.php file.

    function avia_add_social_toolbar_template_builder($content = "")
    {
        if (!is_singular("post")) return $content;
        ob_start();
        get_template_part( 'includes/related-posts' );
        $related = ob_get_clean();
    
        $content .= $related;
        $content .= '';
        return $content;
    }
    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
    

    Best regards,
    Ismael

    in reply to: Sticky post in blog grid #1321030

    Hi,

    Thank you for the updat.e

    We may have to access the site in order to check the issue properly. Please post the login details in the private field, and make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

    in reply to: pagination in tabs section #1321029

    Hi,

    Thank you for the update.

    Which device are you currently using to test the page? The navigation of the tab section works smoothly on an iPhone 11 simulator. Please check the screenshot below.

    Screenshot: https://postimg.cc/LqyYqDKP

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    Hi,

    -Some heading text is showing as striked out, but after I zoom in/out it shows fine

    We are able to reproduce the heading issue on an iPad Pro 1st gen simulator. Try this css code to prevent the heading within the text block from getting cut off.

    .avia_textblock {
        overflow: visible !important;
    }
    

    Have you tried using the Special Heading element instead of manually adding the heading inside a text block?

    The items in the default menu is still not visible on iPad Pro. You may need to add this css code to fix it.

    .av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
        display: block !important;
    }

    Did you adjust the transition settings of the layer slider heading? We can see the issue on the simulator but we cannot figure out why it shrinks. Have you tried adding a minimum height to the layer?

    Best regards,
    Ismael

Viewing 30 posts - 13,381 through 13,410 (of 67,482 total)