Forum Replies Created
-
AuthorPosts
-
Hi,
We adjusted the script slightly and added a condition so it only applies when the screen width is equal to or less than 767px. Please edit the functions.php file and replace the script with this code:
add_action('wp_footer', function() { ?> <script> jQuery(document).ready(function($) { if (window.innerWidth <= 767) { $(".avia-fold-unfold-section").each(function() { var $section = $(this); var $container = $section.find(".av-fold-unfold-container"); if ($container.length) { $container.css({ "max-height": "none", "transition": "none" }).removeClass("folded").addClass("unfolded"); } var $buttonWrapper = $section.find(".av-fold-button-wrapper"); if ($buttonWrapper.length) { $buttonWrapper.css("display", "none"); } }); } }); </script> <?php }, 999);Best regards,
IsmaelNovember 4, 2025 at 1:15 am in reply to: Adding product images to search result page and fix search drop down closing #1490900Hey mntsrvcs,
Thank you for the inquiry.
This is possible, but you will need to directly modify the includes > loop-search.php file. Please check the links below for more info.
— https://kriesi.at/support/topic/add-featured-image-to-search-results/#post-249161
— https://kriesi.at/support/topic/change-layout-search-results/#post-1359284Best regards,
IsmaelHi,
Thank you for the inquiry.
The code is supposed to fix the hidden product issue on the search page. If this is not working, we may need to view and access the site to check the issue further. Please provide examples of the hidden products that are not supposed to display on the search page, then include the login details in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
Try to add this code to the functions.php file to adjust the size of the thumbnails used in posts.
function avf_modify_thumb_size_mod( $size_array ) { $size_array['entry_without_sidebar'] = array('width' => 9999, 'height' => 9999); $size_array['entry_with_sidebar'] = array('width' => 9999, 'height' => 9999); return $size_array; } add_filter( 'avf_modify_thumb_size', 'avf_modify_thumb_size_mod', 10, 1 );After adding the filter, make sure to create a site backup, then use one of the following plugins to regenerate the thumbnails.
— https://wordpress.org/plugins/regenerate-thumbnails/
— https://wordpress.org/plugins/regenerate-thumbnails-advanced/Best regards,
IsmaelHi,
Thank you for the update.
The site requires an additional .htaccess authentication. We tried using the login details provided above, but they didn’t work. Please include the complete credentials in the private field.
Best regards,
IsmaelHi,
The filter we recommended was placed in the style.css file instead of the functions.php file. We removed it and added the following script instead. The text will still display with a slight delay, but the transition should now be disabled.
add_action('wp_footer', function() { ?> <script> jQuery(document).ready(function($) { $(".avia-fold-unfold-section").each(function() { var $section = $(this); var $container = $section.find(".av-fold-unfold-container"); if ($container.length) { $container.css({ "max-height": "none", "transition": "none" }).removeClass("folded").addClass("unfolded"); } var $buttonWrapper = $section.find(".av-fold-button-wrapper"); if ($buttonWrapper.length) { $buttonWrapper.css("display", "none"); } }); }); </script> <?php }, 999);We also edited the modification in the Quick CSS field.
@media only screen and (max-width: 768px) { .av-fold-unfold-container { max-height: none !important; transition: none !important; opacity: 1 !important; } .avia-fold-unfold-section .av-fold-button-wrapper, .av-fold-button-container { display: none !important; } #top .avia-fold-unfold-section .av-fold-unfold-container:after { display: none !important; } .avia-fold-init, .avia-fold-init-done { display: block !important; max-height: none !important; opacity: 1 !important; } }Best regards,
IsmaelHi,
No problem! Let us know if you have more questions. Have a nice day.
Best regards,
IsmaelHi,
Great! Glad to know that you’ve found a working solution. Please don’t hesitate to open another thread if you have more questions.
Have a nice day.
Best regards,
IsmaelOctober 31, 2025 at 7:15 am in reply to: How can we make it so that every time we interact with the filter, the page load #1490795Hi,
Thank you for the screenshot.
Did you add this css code?
.responsive .fullsize .grid-col-4 .grid-image { height: 215px; }This limits the height of the grid items. Try to remove this css code or override it with the following css rule:
.responsive .fullsize .grid-col-4 .grid-image { height: auto !important; }Let us know the result.
Best regards,
IsmaelHey steviger,
Thank you for the inquiry.
You can continue using the Content Slider element. Add the following html in the editor:
<div class="av-flex-container"> <div class="av-image-column"> <img src="http://site.com/image.jpeg" alt="Sample Image" /></div> <div class="av-text-column"> <h2>Title Here</h2> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel urna at sapien tempor dictum. </div> </div>Then add this css code to create a container with two columns, an image on the left and a title with text on the right.
.av-flex-container { display: flex; width: 100%; height: 400px; flex-wrap: wrap; } .av-image-column { flex: 1; position: relative; overflow: hidden; } .av-image-column img { width: 100%; height: 100%; object-fit: cover; } .av-text-column { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; background-color: #f5f5f5; } @media (max-width: 768px) { .av-flex-container { flex-direction: column; height: auto; } .av-image-column, .av-text-column { flex: 1 1 100%; height: auto; } .av-image-column img { height: 250px; } .av-text-column { padding: 20px; } }Best regards,
IsmaelOctober 31, 2025 at 6:51 am in reply to: Adding navigation per category for Portfolio Entires #1490791Hey milkrow,
Thank you for the inquiry.
You can add this filter to the functions.php file to limit post navigation to items within the same category. However, please note that this will also disable looping and will only work if each portfolio item belongs to a single category.
add_filter( 'avf_post_nav_settings', 'avf_post_nav_settings_mod', 10, 1); function avf_post_nav_settings_mod($settings) { $settings['same_category'] = true; return $settings; }Best regards,
IsmaelHey milkrow,
Thank you for the inquiry.
Try to use this filter in the functions.php file to adjust the sorting of the portfolio grid items:
function avf_avia_post_grid_query_mod( $query, $params ) { $query['meta_key'] = 'portfolio_order'; // <-- replace this with the actual acf name $query['orderby'] = 'meta_value_num'; $query['order'] = 'ASC'; return $query; } add_filter( 'avia_post_grid_query', 'avf_avia_post_grid_query_mod', 10, 2 );Make sure to adjust the meta_key value.
Best regards,
IsmaelHey Blatze,
Thank you for the inquiry.
Try to add this code in the functions.php file to adjust the search query for products:
function ava_pre_get_posts_mod( $query ) { if ( ! is_admin() && $query->is_search() && $query->is_main_query() ) { if ( class_exists( 'WooCommerce' ) && ( $query->get( 'post_type' ) === 'product' || isset( $_GET['post_type'] ) && $_GET['post_type'] === 'product' ) ) { $meta_query = (array) $query->get( 'meta_query' ); $meta_query[] = array( 'key' => 'catalog_visibility', 'value' => array( 'hidden', 'exclude-from-search' ), 'compare' => 'NOT IN' ); $query->set( 'meta_query', $meta_query ); } } } add_action( 'pre_get_posts', 'ava_pre_get_posts_mod', 20 );Let us know the result.
Best regards,
IsmaelHey CharlieTh,
Thank you for the inquiry.
We’re not entirely sure what you’re trying to do, but it looks like you want to process input from a form field and display the result on the page. You might want to check out the wp_ajax_* action hook.
— https://developer.wordpress.org/reference/hooks/wp_ajax_action/
These articles should also help.
— https://wp-kama.com/2257/ajax-in-wordpress
— https://medium.com/@alejandro-ao/how-to-do-ajax-in-wordpress-a826f9fde4d5Let us know if you need more info.
Best regards,
IsmaelHey Gianluca,
Thank you for the inquiry.
Please add this css code to make the quantity buttons visible again on mobile view.
@media only screen and (max-width: 768px) { /* Add your Mobile Styles here */ .responsive .shop_table .product-quantity { display: block; } }Best regards,
IsmaelHi,
Thank you for the info.
You can try removing this script:
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="eb73297c-1583-47c6-a2fd-5b6c01c438eb" data-blockingmode="auto" type="text/javascript"></script>It might have a corresponding html element on the page, but that element is not included in this file.
Best regards,
IsmaelHi,
Thank you for the update.
As shown in the screenshot above, the custom cookie modal is still present in the document. We recommend reaching out to the plugin developers for additional information.
Best regards,
IsmaelHi,
Did you keep the css code? The css code is needed to fully display the content.
Best regards,
IsmaelHi,
Thank you for the update.
The logo should be vertically centered by default, but there might be a custom modification in your installation that alters this layout. Please let us know if you have any further questions.
Best regards,
IsmaelHey profumopuntoit,
Thank you for the inquiry.
You can add this css code to add a delay to the mega menu transition.
#header .avia_mega_div { transition-delay: 2s; }Let us know the result.
Best regards,
IsmaelHi,
We missed the screenshot above. Please try to replace the modification with this css code:
#top .av-minimal-toggle .toggle_content .avia-testimonial { width: 50%; display: block; float: left; } @media only screen and (max-width: 989px) { /* Add your Mobile Styles here */ #top .av-minimal-toggle .toggle_content .avia-testimonial { width: 100%; display: block; float: none; } }Result:
Best regards,
IsmaelHi,
Thank you for the inquiry.
The modification above should resize the testimonial items on all standard screen resolutions. Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, ImgBB, PostImages or Dropbox to upload and share the screenshot.
Best regards,
IsmaelHey slauffer,
Thank you for the inquiry.
The site is in maintenance mode, so we are not able to check it. Where the site is hosted? If it’s on OVH, you will need to import the demos manually using the XML files. Due to an issue with this host, images and other media files may not import correctly. Please refer to this documentation for more info.
— https://kriesi.at/documentation/enfold/import-demos/#how-to-manually-import-a-theme-demo
Let us know if you have more questions.
Best regards,
IsmaelHey Henk,
Thank you for your interests in the theme.
We believe what you’re referring to as “templates” are the demos. If that’s the case, once you purchase a license, you’ll be able to select any of the templates or demos available for the theme. Please note that each import will override the previous one, but you can always reset the installation if needed.
Regarding the layout, it’s possible to add a section or an element with a background video. You can also use the sliders from the Advance Layout Builder or utilize the Layer Slider plugin, which is included natively in the theme.
For more information, please browse through the documentation and check out the articles on our blog:
— https://kriesi.at/documentation/enfold
— https://kriesi.at/blogIf you have any further questions, please feel free to send us a message. See you on the forum!
Best regards,
IsmaelOctober 30, 2025 at 5:48 am in reply to: Pagination and items settings in taxonomy-portfolio_entries.php #1490720Hi,
You’re welcome! Let us know if you have more questions. Have a nice day.
Best regards,
IsmaelHi,
Please don’t hesitate to open another thread if you have more questions. Have a nice day.
Best regards,
IsmaelOctober 30, 2025 at 5:46 am in reply to: Changed Blog Page Title and Now Blog Page no longer loads correctly #1490718Hey tonyska,
Thank you for the inquiry.
It seems to be working as expected — only posts from the “Song Diary” category are showing on the notes page. Did you figure this out?
Best regards,
IsmaelHi,
Try to add this code in the functions.php file to fully remove the fold/unfold script.
function ava_remove_avia_scripts() { if ( wp_is_mobile() ) { wp_dequeue_script( 'avia-fold-unfold' ); wp_deregister_script( 'avia-fold-unfold' ); } } add_action( 'wp_enqueue_scripts', 'ava_remove_avia_scripts', 20 );The condition wp_is_mobile is not accurate and should only work if the page is actually being viewed on a mobile device.
Best regards,
IsmaelOctober 29, 2025 at 6:12 am in reply to: Pagination and items settings in taxonomy-portfolio_entries.php #1490674 -
AuthorPosts




