Forum Replies Created

Viewing 30 posts - 13,831 through 13,860 (of 66,608 total)
  • Author
    Posts
  • in reply to: Problem with layer order #1302808

    Hi,

    Thank you for the update.

    The columns already cover the hero image slightly. Would you mind providing a screenshot of the issue? You can use imgur or dropbox for the screenshots.

    Best regards,
    Ismael

    in reply to: Images Cropped Badly in Horizontal Gallery On Mobile #1302806

    Hi,

    Glad to know it worked. Please do not hesitate to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Sidebar social icons not at the bottom #1302805

    Hi,

    but now I cant select or highlight any of the social icons.

    Try to increase the z-index property of the social icon container, or replace the css rule above with this one.

    .html_header_sidebar .av-sidebar-social-container {
        position: absolute;
        overflow: hidden;
        bottom: 0;
        top: auto;
        z-index: 9999;
    }
    

    For the layout issue or modification, try to use this css code to move the body content to the left.

    .boxed#top {
    	margin: 0 !important;
    }
    

    Best regards,
    Ismael

    Hi,

    The script above works when we execute it directly in the browser. It is probably not working because the burger menu items do not exist on initial load. They will be created only when you click the burger menu icon for the first time, so nothing happens when we try to re-initialize the lightbox for menu-item-462.

    We tried to access the dashboard using the login info above, but none of them are working. Please post the htaccess info and a working WP account in the private field.

    Or try to replace the script with this one.

    
    // a custom script
    // re-initialized lightbox for burger menu items
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) { 
    			$(document).ready(function() {
    				$(".av-burger-menu-main a").on("avia_burger_list_created", function() {
    					setTimeout(function() {
    						$("$top li.menu-item-462 a").magnificPopup({
    							type:"inline",
    							midClick: true 
    						});
    					}, 500);
    				}); 
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
    

    Best regards,
    Ismael

    in reply to: Enfold latest portfolio widget publish time #1302798

    Hi,

    it show the old publish date

    If you want to display the modified date instead of the published date, try to edit the following line.

    echo "<span class='news-time'>".get_the_time($time_format)."</span>";   
    

    Replace the get_the_time with the get_the_modified_date function.

    // https://developer.wordpress.org/reference/functions/get_the_modified_date/

    Unfortunately, we are not sure why adding the orderby parameter would affect the site speed. Try to remove the date_query or replace the whole query with the following code.

    $this->avia_new_query = array(	
                    "orderby" => "modified", 
                    "posts_per_page"=>$count, 
                    'tax_query' => array(
                        array( 'taxonomy' => $this->avia_term,
                            'field' => 'id',
                            'terms' => explode(',', $cat),
                            'operator' => 'IN')
                    ));
    

    Best regards,
    Ismael

    in reply to: Woocommerce: Double cart content and totals #1302795

    Hi,

    Thank you for the info.

    Looks like you have modified the cart.php template in the child theme. What happens when you disable the template?

    Is there a staging or development version of the site? We would like to try and disable the plugins temporarily and edit a few files.

    Best regards,
    Ismael

    in reply to: Blog Excerpt Characters #1302794

    Hi,

    Sorry about that. Can we see the blog page? Please post the page URL in the private field so that we could check the blog posts element.

    Best regards,
    Ismael

    Hi,

    No problem. Glad we could help. Please feel free 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: FAQ Accordion keeps randomly jumping on page #1302789

    Hi,

    Thank you for the info.

    Try to modify the enfold-dev\config-templatebuilder\avia-shortcodes\toggles\toggles.js, look for the scroll_to_viewport functio around line 48.

    function scroll_to_viewport()
    				{
    				    //check if toggle title is in viewport. if not scroll up
    				    var el_offset = content.offset().top,
    				        scoll_target = el_offset - 50 - parseInt($('html').css('margin-top'),10);
    
    				    if(win.scrollTop() > el_offset)
    				    {
    				        $('html:not(:animated),body:not(:animated)').animate({scrollTop: scoll_target},200);
    				    }
    				}
    
    

    Replace it with:

    function scroll_to_viewport()
    				{
    				   return false.
    				}
    
    

    That should disable the scroll whenever the toggle title is not in viewport.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The date picker is not working correctly because the plugin generates an error, which seems to be related to the select2 jQuery library. The error does not occur and the date picker works correctly when we set jQuery to the legacy version. We installed the jQuery Migrate plugin in the staging site and disabled the cache plugin temporarily.

    Best regards,
    Ismael

    Hi,

    That should be possible. Make sure to set the element’s Advanced > Link Behavior > Item Links to the first option, then replace the filter with the following.

    add_filter("get_the_excerpt", function($excerpt, $post) {
    	if(get_post_type($post->ID) == "product") {
    		$product = wc_get_product($post->ID);
    		$excerpt .= "<a class='avia-catalogue-add-to-cart' href='" . $product->add_to_cart_url() ."'>Add to Cart</a>";
    	}
    
    	return $excerpt;
    }, 10, 2);
    

    The rest of the product list should link to the actual product page aside from the add to cart button.

    Best regards,
    Ismael

    Hi,

    We can reproduce the issue on our end, but we cannot figure out what is causing the menu to not open correctly on landscape mode. There seems to be a missing css rule but we cannot find it. It only happens when the screen width is between 1224px and 990px. Please try to play around with the css code, see if anything comes up.

    We will let you know when we found the issue.

    Best regards,
    Ismael

    Hey nestormakhno,

    Thank you for the inquiry.

    The Google ReCAPTCHA keys in the Enfold > Google Services panel are invalid, or they do not get passed the check. Did you add the site or the domain name as one of the HTTP referrers for the API key?

    Please check the documentation for more info about recaptcha.

    // https://kriesi.at/documentation/enfold/contact-form/#what-is-captcha

    Best regards,
    Ismael

    Hey psstudiosinc,

    Thank you for the inquiry.

    It’s possible that the pagination is not displaying because of these lines in the enfold/config-woocommerce/config.php file.

    line 312:

    remove_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 20 );
    remove_action( 'woocommerce_pagination', 'woocommerce_pagination', 10 );
    

    line 330:

    remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); //remove rating
    remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 ); //remove woo pagination
    

    Try to remove the lines, remove the cache and see if the default pagination displays. This might duplicate the pagination on pages using the Product Grid element.

    Best regards,
    Ismael

    in reply to: search as part of fly-over menu #1302575

    Hey amyteslin,

    Thank you for the inquiry.

    This option is not available out of the box, but you may be able to utilize the same script that we use to create social icons inside the mobile menu. The script can be found here.

    // https://kriesi.at/support/topic/add-logo-to-slide-out-mobil-menu/#post-1301439

    Just replace this line with the actual markup of the search bar.

    $("
    <div class='av-mobile-logo'><img src='IMAGE URL HERE' /></div>
    ")
    

    And remove this part or change it accordingly.

    .addClass("mobile_social_bookmarks");
    

    Best regards,
    Ismael

    in reply to: Error in Sticky Header #1302549

    Hey chrischank,

    Thank you for the inquiry.

    The transparent and sticky header seems to be working as expected. We checked the site on Chrome. Would you mind providing a screenshot? You can use imgur or dropbox.

    Best regards,
    Ismael

    in reply to: portfolio grid image link doesn't work #1302547

    Hi,

    Thank you for the inquiry

    prevent the big red Link Icon on the portfolio grid?

    You might be referring to the image overlay. If you want to remove it, try to use this css code.

    .image-overlay {
        display: none !important;
    }
    

    Please note that this css code will disable all link overlays in the site. You may need to add a custom css class name or ID to the portfolio grid and adjust the selector above accordingly.

    // https://kriesi.at/documentation/enfold/add-custom-css/

    Best regards,
    Ismael

    in reply to: Possible to nest columns? #1302546

    Hey Knutnik,

    Thank you for the inquiry.

    The columns break into full width when we checked the site on mobile view. Please check the screenshot below.

    Screenshot: https://imgur.com/MaxckPJ

    Would you mind providing a screenshot of the issue? If you want to adjust the break point, try to edit the first column in the row, go to the Row Settings > Row Screen Options toggle and set the Fullwidth Break Point to the second option.

    Best regards,
    Ismael

    in reply to: Change order of Elements in header #1302544

    Hey Bodyworkcenter,

    Thank you for the inquiry.

    You can try this script in the functions.php file to move the widget between the logo container and the alternate menu.

    
    // a custom script
    // move widget between logo and menu
    function ava_custom_script_mod_move_widget() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) {
    			$(document).ready(function() {
    				$("#header .widget").insertAfter(".av-logo-container");
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod_move_widget', 9999);
    

    Best regards,
    Ismael

    in reply to: custom post archive #1302542

    Hi,

    What is the actual name or slug of the taxonomy that you created? Have you tried editing the includes > loop-index.php file instead of the single.php file?

    You can also use this hook in the functions.php file to render the terms below the post content.

     add_action("ava_after_content", function() {
    	if(!is_single()) return;
    
            // Make sure that the taxonomy name is correct
    	$terms = get_the_terms( get_the_ID(), 'brands' );
    
    	if ( $terms && ! is_wp_error( $terms ) ) {
    
    		$brands = array();
    
    		foreach ( $terms as $term ) {
    			$brands[] = $term->name;
    		}
    
    		$brands_list = join( ", ", $brands );
    
    		echo '<p class="av-post-brands">';
    			printf( esc_html__( 'Brands: <span>%s</span>', 'aviaframework' ), esc_html( $brands_list ) );
    		echo '';
    	}
     }, 999);
    

    Best regards,
    Ismael

    in reply to: Images Cropped Badly in Horizontal Gallery On Mobile #1302537

    Hi,

    Thank you for the inquiry.

    You can add this css code to adjust the size of the images on mobile view.

    .responsive .av-horizontal-gallery-img {
        height: 100%;
        width: auto;
    }
    

    By default, the width the of the horizontal gallery images on mobile view is set to 100% and the height is set to auto to keep their aspect ratio.

    Best regards,
    Ismael

    in reply to: Problem with layer order #1302536

    Hey Knutnik,

    Thank you for the inquiry.

    Looks like you have already managed to adjust the stack order or the z-index property of the columns below the hero image. They now overlay the hero slider or image.

    Best regards,
    Ismael

    in reply to: Padding not displayed #1302535

    Hey Knutnik,

    Thank you for the inquiry.

    Try to use this css code to add a padding to the text block with the teasertext class name.

    #teaserbox .teasertext {
        padding: 3% 4% 7% 3%;
    }

    The second css rule above should have worked.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The lightbox is not working correctly because the href attribute of the gallery items are missing or it is blank. Did you add a custom script in the functions.php file?

    To fix it temporarily, try to use this script in the functions.php file.

    
    // a custom script
    // fill in gallery thumbs' href attribute
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) { 
    			$(document).ready(function() {
    				$(".avia-gallery-thumb a").each(function() {
    					var image = $(this).data("prev-img");
    					$(this).attr("href", image.replace("-495x400.jpg", ".jpg")); 
    				});
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
    

    Best regards,
    Ismael

    in reply to: History Slider Not Working Correctly In Chrome #1302532

    Hi,

    No problem. Unfortunately, we are not yet sure why the milestone animation is not working properly. Please keep the css code for now.

    Best regards,
    Ismael

    in reply to: Sidebar social icons not at the bottom #1302530

    Hey orchestramegastore,

    Thank you for the inquiry.

    That is the default position of the social icons inside the sidebar. If you want to adjust it, we can use this css code.

    .html_header_sidebar #header .container .inner-container {
        height: 100vh;
    }
    
    .html_header_sidebar .av-sidebar-social-container {
        position: absolute;
        overflow: hidden;
        bottom: 0;
        top: auto;
    }

    To lessen the gap between the logo and the main menu, use this css code.

    .html_header_sidebar .main_menu {
        top: -25px;
    }

    For the content layout, try to look for the Content Alignment settings inside the Enfold > General Layout > Layout panel.

    Best regards,
    Ismael

    Hi,

    We ran a test again on the page speed insights tool and found out that the stylesheets are still combined using the SG Optimizer’s option. We recommend disabling that option temporarily because it is blocking rendering by about 900ms, longer on the previous test. It also combines a lot of unused css code.

    Screenshot: https://imgur.com/HrNlD6B

    We also tested the site on gtmetrix and it returns a much more favorable result with LCP for only about 2.5s.

    // https://gtmetrix.com/reports/www.bookconfidential.blog/VbUuZrnH/

    Have you tried using the Autoptimize plugin? And as suggested above, you can enable the Load only used elements option to improve the page speed. This should also improve LCP by significant amount.

    To further optimize the site, please check the following articles.

    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
    // https://gtmetrix.com/wordpress-optimization-guide.html

    Best regards,
    Ismael

    Hey neotel2k,

    Sorry for the delay.

    Have you tried using Yoast to set a canonical URL for duplicated content or pages? For more info about the plugin feature, please check the following articles.

    // https://yoast.com/features/canonical-url-tags/
    // https://yoast.com/rel-canonical/

    WordPress also set a canonical URL automatically but only for paginated pages.

    Best regards,
    Ismael

    in reply to: Enfold theme & Memberpress #1302394

    Hi,

    it does not play any role

    What do you mean? The screenshot above shows that the content of the second page after the more tag is hidden. We tried to check the page again today but there is a database error. Please let us know when the site is up again.

    Have you tried asking the plugin author about the issue? They should be able provide additional help regarding the problem.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Glad to to know that the gap has been repaired. Regarding the lightbox or popup, try to add this script in the functions.php file to re-initialized lightbox for the burger menu item CV.

    
    
    // a custom script
    // re-initialized lightbox
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) { 
    			$(document).ready(function() {
    				$("$top li.menu-item-462 a").magnificPopup({
    					type:"inline",
    					midClick: true 
    				  }); 
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
    

    Best regards,
    Ismael

Viewing 30 posts - 13,831 through 13,860 (of 66,608 total)