Forum Replies Created
-
AuthorPosts
-
Hi,
How would you like the excerpt to be formatted? You can edit the themes/enfold/config-templatebuilder/avia-shortcodes/productslider/productslider.php file if you want modify the catalogue item.
$text .= " <div class='av-catalogue-content'>{$content}</div> ";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,
IsmaelHi,
Thank you for the screenshots.
This css code might help move the hero image under the columns or the section that is containing them.
#myhero { z-index: 0; }Best regards,
IsmaelHi,
What is the actual size of your logo? It might not be working because the logo image does not meet this requirement.
$desc .= __( 'Since 4.8.2 responsive images (e.g. for retina screens) are supported. Make sure to upload an image dimension from which WP can create the necessary scrset and sizes attributes.', 'avia_framework' );This:
Make sure to upload an image dimension from which WP can create the necessary scrset and sizes attributes.
Best regards,
IsmaelHi,
What is the actual name or slug of the taxonomy that you created? We tried to login to the dashboard to check but the account above is no longer valid.
e, i am trying to edit the archive page – postslider.php
Try to extract the content of the above hook and place it in the archive.php or the postslider.php file. You may need to prepend or concatenate the terms to the $output as you have done above instead of using echo.
// get the terms here $output .= '<div class="av-post-brands">'; $output .= printf( esc_html__( 'Brands: <span>%s</span>', 'aviaframework' ), esc_html( $brands_list ) ); $output .= '</div>'';Best regards,
IsmaelMay 31, 2021 at 5:27 am in reply to: Gallery shows "the image could not be loaded" on click #1303059Hi,
We updated the code above. It should now apply the original image URL instead of the portfolio thumbnail.
Have you tried disabling the plugins temporarily? It is possible that one of the plugins is causing the lightbox to fail.
Best regards,
IsmaelMay 31, 2021 at 5:23 am in reply to: How can i remove specific [div class] from a Pagination pages ? #1303058Hi,
while i want to apply certain condition that the code should only
Sorry for the delay. Try to check if the body tag contains a certain class name. Example.
var body = document.querySelector("body"); // check if the body tag has the class name page-id-321 or if the current page has the ID 321 var is_page_321 = body.classlist.contains("page-id-321"); if(is_page_321) { // do something here // like removing the page-summary container }Best regards,
IsmaelHi,
Thank you for the update.
In the latest version 4.8.3, you can use this filter to alter the content of the masonry items.
add_filter("avf_masonry_entry_content", function($content) { return ""; }, 10);This should return an empty string or text.
Best regards,
IsmaelHi,
Sorry for the delay. We updated the code above. It should now include the + and – symbols and update them accordingly.
Best regards,
IsmaelHi,
Sure thing. Glad we could help. Please do not hesitate to open another thread should you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
No problem. For more inquiries, please feel free to open another thread. We will close this thread now.
Have a nice day.
Best regards,
IsmaelHi,
No problem. We will close the thread now. Please do not hesitate to open another if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
@atomcc: Try to wrap the css code inside a css media query so that the changes only apply to desktop view.@media only screen and (min-width: 768px) { /* Move css code here */ }If you need further assistance, please feel free to open a new thread. We will close this one for now.
Best regards,
IsmaelMay 28, 2021 at 1:53 pm in reply to: Enfold, Woocommerce and Product Filter for WooCommerce: Pagination not showing #1302832Hi,
You can try this snippet in the child theme’s functions.php file to override the modification.
add_action("after_setup_theme", function() { add_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 20 ); add_action( 'woocommerce_pagination', 'woocommerce_pagination', 10 ); add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); //remove rating add_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 ); //remove woo pagination }, 999);If this is not working, try to use the same hooks with adjusted priority number.
add_action("init", function() { add_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 25 ); add_action( 'woocommerce_pagination', 'woocommerce_pagination', 15 ); add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 10 ); //remove rating add_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 15 ); //remove woo pagination }, 999);Best regards,
IsmaelHi,
Welcome back! It’s been a while.
Have you tried editing the Image elements and re-selecting the square thumbnail? You may need to do this manually for every image element.
We also noticed that a “resize” parameter or query var is prepended to the image URL, which might be causing the issue. Did you install an image optimization plugin?
Best regards,
IsmaelHi,
On the mobile device the Facebook and Instagram icons are displayed. On the PC they are not.
They are not displaying on desktop view because you have disabled the default header. Unfortunately, the social icons are not included in the Fullwidth Sub Menu element by default. You may need to create a new menu and include the social icons as menu items.
Best regards,
IsmaelHi,
Thank you for the info.
Yes, unfortunately, the default gallery from the builder is not compatible with variable products. You may need to switch to the default editor if you really need the product gallery to respond according to the selected variation.
Best regards,
IsmaelHi,
Thank you for the update.
We cannot see the actual markup of the search bar above. Please post the code on pastebin.com so that we can test it on our end. The code should look something like this.
// add search bar to mobile menu function ava_custom_script_mod_search_mobile() { ?> <script> (function($) { $(document).ready(function() { $('.av-burger-menu-main a').on('avia_burger_list_created', function() { setTimeout(() => { $("<div class='av-mobile-search'>SEARCH HERE</div>").prependTo('#av-burger-menu-ul'); }, 150); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_search_mobile', 10000);Best regards,
IsmaelHi,
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,
IsmaelHi,
Glad to know it worked. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
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,
IsmaelMay 28, 2021 at 11:38 am in reply to: Menu item in Socket and Header have same custom link but behave differently #1302802Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelMay 28, 2021 at 11:01 am in reply to: Blog grid — title, excerpt and read more link with post type link #1302791Hi,
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,
IsmaelHi,
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,
IsmaelMay 27, 2021 at 12:52 pm in reply to: YITH WooCommerce Gift Cards delivery date note being saved correctly #1302616Hi,
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,
IsmaelMay 27, 2021 at 12:41 pm in reply to: How to add an "Add to Cart" Button in Product List option & Thumbnail Zoom #1302608Hi,
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,
IsmaelMay 27, 2021 at 12:26 pm in reply to: Logo center split menu – problems with reduced screens #1302603Hi,
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,
IsmaelMay 27, 2021 at 11:32 am in reply to: Briefly unavailable for scheduled maintenance. API check returned false. #1302581Hey 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 -
AuthorPosts
