Forum Replies Created
-
AuthorPosts
-
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,
IsmaelHi,
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,
IsmaelMay 22, 2018 at 8:30 am in reply to: Slider Revolution cannot be 100% slider height after 4.3 update #960186Hi,
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,
IsmaelHey 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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelMay 22, 2018 at 8:15 am in reply to: main menue right alignment – cannot find any css fix for this… #960177Hi,
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,
IsmaelHi,
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,
IsmaelHi,
Thanks for the info. We’ll forward it to the development team. :)
Best regards,
IsmaelHi,
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,
IsmaelMay 22, 2018 at 7:52 am in reply to: Problem in Adding Total Price Calculation to WooCommerce Product Page with AJAX #960163Hey!
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,
IsmaelMay 22, 2018 at 7:43 am in reply to: Problem with the "add to cart" item counter in woocommerce for variable products #960158Hi,
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,
IsmaelHey!
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!
IsmaelMay 22, 2018 at 6:00 am in reply to: The Full width slider module distorts the images in mobile. #960146Hi,
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; }Best regards,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelMay 22, 2018 at 4:59 am in reply to: Alignment issue on the login widget on the checkout page #960122Hey 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,
IsmaelHi,
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,
IsmaelMay 22, 2018 at 4:47 am in reply to: Update to 4.3 – Fullwidth Easy Slider Fallback Image not working #960119Hi,
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.
It should work for the easy and full width easy slider.
Best regards,
IsmaelHi,
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,
IsmaelHi,
@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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
Thanks for the info. We’ll check the thread again once the live site is updated.
Best regards,
IsmaelHi,
Yes, there is.
// https://github.com/louisremi/jquery-smartresize/blob/master/jquery.debouncedresize.js
It’s in the js > shortcodes.js file.
Best regards,
IsmaelHey 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 -
AuthorPosts
