Forum Replies Created

Viewing 30 posts - 29,731 through 29,760 (of 67,591 total)
  • Author
    Posts
  • in reply to: Accordion icons not showing up #960192

    Hi,

    Thanks for the update.

    1.) This css code should help.

    .toggle_icon {
        left: 0;
    }
    
    .toggler {
        padding: 9px 3px 9px 25px;
    }

    2.) Use this css code to change the font size.

    .togglecontainer {
        font-size: 10px;
    }

    Best regards,
    Ismael

    in reply to: Accordion Slider showing imagens only on mobile #960190

    Hi,

    The slider displays properly on desktop and mobile view. Is this fixed? If you want to hide the slider on mobile view, edit the element and toggle the visibility in the Screen Options panel. You can then display another element in place of the accordion.

    Best regards,
    Ismael

    Hi,

    It looks good on my end even if the browser screen is zoomed in/out. What is the screen resolution of your monitor? My monitor is 1920x1080px. I didn’t modify the rest of the “slice” sliders.

    Best regards,
    Ismael

    in reply to: Problem with product display #960184

    Hey noyaholidays,

    Thank you for using Enfold.

    That is the default style of the element. For RTL sites, please use this css code.

    .rtl .av-catalogue-image {
        float: right;
        margin-right: 0;
        margin-left: 15px;
    }
    
    .rtl .av-catalogue-price {
        right: auto;
        left: 0;
    }
    
    .rtl .av-catalogue-content, .rtl .av-catalogue-title {
        padding-right: 20px;
    }

    Best regards,
    Ismael

    in reply to: Problem before updating Enfold 4.3.1 #960182

    Hi,

    Thanks for the update. We enabled the debug mode and then ran the shortcode parser. The elements in the home page are displaying properly now. If there are pages with the same issue, edit them then look for the Enfold Shortcode Parser below the Advance Layout Builder. Set it to “autorepair” then update the page.

    // https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#shortcode-parser

    Best regards,
    Ismael

    in reply to: Accordian Slider on Mobile #960178

    Hi,

    I’m not really sure what to change though. You can actually hide the accordion on mobile devices by toggling its visibility. Edit the element and look for the Screen Options panel. You can then display another element in place of the accordion on mobile view.

    Best regards,
    Ismael

    Hi,

    I haven’t checked the site since May 18. Maybe, it’s the other moderators. Is the issue fixed? Please remove the user from the Users panel or change the password.

    Best regards,
    Ismael

    in reply to: Error "Error 404 Page" #960173

    Hi,

    UPDATE: If you have the time, please edit the functions-enfold.php file. Look for the “av_error404” function. Replace everything with this code.

    /**
     * Error 404 - Custom Page
     * Hooks into the 404_template filter and display the defined 404 page
     * Does not work with <a href='http://bit.ly/kwpml' target='_blank' rel="nofollow">WPML</a>
     * @author tinabillinger
     * @since 4.3
     */
    if( ! function_exists( 'av_error404' ) )
    {
        function av_error404($template)
        {
            // skip if <a href='http://bit.ly/kwpml' target='_blank' rel="nofollow">WPML</a> is active
              if( ! defined('ICL_SITEPRESS_VERSION') && ! defined('ICL_LANGUAGE_CODE')) {
                if (avia_get_option('error404_custom') == "error404_custom") {
    
    				$error404_page = avia_get_option('error404_page');
    				$error404_url = get_permalink($error404_page );
    
    				if(defined('WPSEO_VERSION')) {
    					if (wp_redirect($error404_url)) {
    						exit();
    					}
    				}
    
                    global $wp_query;
    
                    // check if error 404 page is defined
                    if ($error404_page) {
                        // hook into the query
                        $wp_query = null;
                        $wp_query = new WP_Query();
                        $wp_query->query( 'page_id=' . $error404_page );
                        $wp_query->the_post();
                        $template = get_page_template();
                        rewind_posts();
                        return $template;
                    }
                }
            }
    
            return $template;
    
        }
        add_filter( '404_template', 'av_error404', 999 );
    }

    Let us know if it helps.

    Best regards,
    Ismael

    in reply to: Error "Error 404 Page" #960170

    Hi,

    Thanks for the info. We’ll forward it to the development team. :)

    Best regards,
    Ismael

    in reply to: Mobile menu reveal on scrolling up with headroom js #960169

    Hi,

    What is the expected behavior of the header on mobile device? Is it supposed to stick? A sticky header helps on desktop view but it’s a distraction on mobile devices because the space or screen size is limited.

    Best regards,
    Ismael

    Hey!

    Thanks for the update.

    It works now. We adjusted the script a bit. You should now see the total price above the add to cart button.

    // http://test.sdlcontentservices.com/product/a-product/

    // https://pastebin.com/FnKC9duc

    Best regards,
    Ismael

    Hi,

    Thanks for the info.

    We adjusted the filter and moved it inside the functions.php file.

    add_action( 'woocommerce_single_product_summary', 'woocommerce_total_product_price', 25 );
    function woocommerce_total_product_price() {
    	if(!is_admin()) {
        global $woocommerce, $product;
        // let's setup our divs
        echo sprintf('
    <div id="product_total_price" style="font-size: 16px; font-weight: 200;">%s %s</div>
    ',__('Total Price (incl Tax):','woocommerce'),'<span class="price">'. get_woocommerce_currency_symbol() .' ' .$product->get_price().'</span>');
        ?>
            <script>
                jQuery(function($){
    				$(document).ready(function() {
    					function setMinMax() {
    						var price = <?php echo $product->get_price(); ?>;
    						var currency = '<?php echo get_woocommerce_currency_symbol(); ?>';
    						var qtycont =  $('.quantity');
    						var qty =  qtycont.find('[name=quantity]');
    						var max = qty.attr('max');
    						var min = qty.attr('min');
    
    						if(typeof max === typeof undefined && max === false) return;
    
    						qty.attr('data-qty', 1);
    						
    						$('.variations select').on('change', function() {
    							qty.attr('data-qty', 1);
    							qty.attr('value', 1);
    							qty.text(1);
    						});
    
    						qtycont.on('click', '.plus, .minus', function(){
    							var qtythis = $(this).find('[name=quantity]');
    							var qtyNum = $(qtythis.selector).attr('data-qty');	
    							var max = $(qtythis.selector).attr('max');
    							var min = $(qtythis.selector).attr('min');
    							var totalQty = parseInt(qtyNum);
    
    							if($(this).is('.plus') && qtyNum < max) {
    								totalQty = parseInt(qtyNum) + 1;
    								$(qtythis.selector).attr('data-qty', totalQty);
    							} else if($(this).is('.minus') && qtyNum > min) {
    								totalQty = parseInt(qtyNum) - 1;
    								$(qtythis.selector).attr('data-qty', totalQty);
    							}
    
    							$(qtythis.selector).attr('value', totalQty);
    
    							if (!totalQty < 1) {
    								var product_total = parseFloat(price * totalQty);
    								$('#product_total_price .price').html( currency + product_total);			
    							}	
    						});
    					}	
                    
    					setTimeout(function() {
    						setMinMax();
    					}, 300);
    					
    					$(document).on('updated_cart_totals', setMinMax);	
    				});
                });
            </script>
        <?php
    	}
    }
    

    It limits the quantity based on the stock. Please remove browser cache prior to checking the page.

    Best regards,
    Ismael

    in reply to: Enfold 4.3 – loading time increased [Google says] #960151

    Hey!

    Odd. How do you regenerate the thumbnails? Please provide the login details and the link to one of the images in the private field.

    Cheers!
    Ismael

    Hi,

    This css code stretches the slider container.

    .home .avia-slideshow li img {
        min-height: 210px;
    }

    I think that was intended for the main slider. Please edit the main slider and provide a custom css attribute to it. Replace the “.avia-slideshow” selector with the custom css class attribute.

    .home .custom-css-class li img {
        min-height: 210px;
    }

    // https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements

    Best regards,
    Ismael

    in reply to: Error "Error 404 Page" #960143

    Hi,

    Thank you for using Enfold.

    I can’t reproduce the issue on my installation so it’s probably related to a server configuration. Are there any custom directives in the .htaccess file? Or did you install a cache plugin?

    Best regards,
    Ismael

    in reply to: Can't activate enfold. This page is not working #960139

    Hi,

    We are very sorry for the late response. The PHP version in your installation is 5.2. The theme is compatible on 5.6 or later versions. Please ask your hosting provider to upgrade PHP to version 5.6 or 7.0 before activating the theme. What are the errors when you activate the theme?

    Best regards,
    Ismael

    in reply to: Youtube Background Video in Color Section #960134

    Hi,

    Thanks for the update. The header.php and footer.php file are added in the child theme. Please update those files as well.

    Best regards,
    Ismael

    in reply to: Issues with saving templates and Google maps #960128

    Hi,

    UPDATE: There is an unclosed div tag in one of the text blocks.

    
    <div style="background-color:rgba(255,255,255,.9); padding:20px;">
    <h1 style="color: #3c6b9f; padding: 10px 0;" align="center">OUR STORY</h1>
    

    Please be careful with html tags because they can break the template inside the builder if left unclosed.

    Best regards,
    Ismael

    in reply to: Issues with saving templates and Google maps #960127

    Hi,

    The page breaks even without the map. This is all that is left with the shortcodes in the debug mode field after the update.

    // https://pastebin.com/gHneyvMa

    The content below the code block with the internal style element are gone.

    Best regards,
    Ismael

    Hey DROR,

    Thank you for using Enfold.

    Where can we find the products? I’m having difficulty navigating the site because of the language. Please provide a link to a product page so that we can add it and proceed to the checkout.

    Best regards,
    Ismael

    in reply to: Submenu voices not appearing in mobile view #960120

    Hi,

    Are you using a plugin for the menu item? I don’t think that’s going to work because the menu image container is not recognize by the mobile menu script. Please contact the plugin author for more info. One workaround is to duplicate the menu item with the image and have it display on mobile view only.

    Best regards,
    Ismael

    Hi,

    We are very sorry for the troubles this issue caused you. We provided a fix for the sliders’ fallback image script. Please check this thread.

    // https://kriesi.at/support/topic/fullwidth-easy-slider-with-video-asking-for-object-on-mobile/#post-955294

    It should work for the easy and full width easy slider.

    Best regards,
    Ismael

    in reply to: Different Logo in the Header for mobile version #960115

    Hi,

    How do you check if the modification works? Please note that the modification will only take effect on an actual mobile device. It’s not going to change when you resize the browser. In a desktop browser, you have to use the emulator and refresh the page. This is what I see on the browser emulator.

    // https://imgur.com/a/3LJQMoM

    Best regards,
    Ismael

    in reply to: Checkbox contact formular to data security contract #960114

    Hi,


    @flocco21
    : What is the name of the plugin? Please enable it and provide a link to the post or page with the comment checkbox.

    Best regards,
    Ismael

    in reply to: Upgrade 4.3 – Google Map not working #960111

    Hi,

    I don’t think the script will affect the header. The update probably caused it. Please upgrade the site again then reconfigure the header settings. We are still not sure why the plugin creates the error.

    If possible, please open a new thread because this one is getting a bit too long. It will be difficult for other moderators to review the thread.

    Best regards,
    Ismael

    in reply to: Make fullwidth slider taller on mobile #960110

    Hi,

    Add the above css code to create more space for the caption within the slider. Again, this may distort the images a bit.

    Best regards,
    Ismael

    in reply to: PHP Warning on iconlist.php #960109

    Hi,

    Thanks for the info. We’ll check the thread again once the live site is updated.

    Best regards,
    Ismael

    in reply to: Where add javascript in Enfold? #960108

    Hi,

    Yes, there is.

    // https://github.com/louisremi/jquery-smartresize/blob/master/jquery.debouncedresize.js

    It’s in the js > shortcodes.js file.

    Best regards,
    Ismael

    in reply to: Duplicate main menu in the footer #960105

    Hey cjbuilt,

    Thank you for using Enfold.

    You can replace the get_template_part function with the wp_nav_menu function.

    
    // Add main menu to footer
    add_action ('avia_before_footer_columns', 'add_footer_main_menu', 0);
    function add_footer_main_menu() {
    	$output = "<div id='header_main_alternate' class='container_wrap'>";
    	$output .= "<div class='container'>";
    
    	$main_nav = "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
    	$avia_theme_location = 'avia';
    	$avia_menu_class = $avia_theme_location . '-menu';
    	$args = array(
    		'theme_location'	=> $avia_theme_location,
    		'menu_id' 			=> $avia_menu_class,
    		'menu_class'		=> 'menu av-main-nav',
    		'container_class'	=> $avia_menu_class.' av-main-nav-wrap',
    		'fallback_cb' 		=> 'avia_fallback_menu',
    		'echo' 				=>	false, 
    		'walker' 			=> new avia_responsive_mega_menu()
    	);
    
    	$wp_main_nav = wp_nav_menu($args);
    	$output .= $wp_main_nav;
    	$output .= "</nav></div></div>";
    	echo $output;
    }
    

    Best regards,
    Ismael

    in reply to: Duration of cookie consent #960104

    Hi,

    It can be adjusted but you have to modify the js > avia-snippet-cookieconsent.js file. Look for this line.

    aviaSetCookie('aviaCookieConsent',cookieContents,60);
    

    The default is 60 days.

    Best regards,
    Ismael

Viewing 30 posts - 29,731 through 29,760 (of 67,591 total)