Forum Replies Created
-
AuthorPosts
-
Hi,
Glad that we could help, thanks again for your patience. Have a Merry Christmas & Happy New Year :)Best regards,
MikeHi,
Thanks for the login and your patience, I set your main menu: mainnavigation_mm and your secondary menu: secondarymenu and enabled the Header Secondary Menu in the theme options, and it seems to be working correctly. The Secondary Menu (10 items) is displayed in the top bar of the header, and the main menu is displayed under the logo, as per your theme settings. Please see the screenshot below.
If this is not what you want, please advise, perhaps a mockup screenshot would help.Best regards,
MikeDecember 24, 2025 at 12:11 pm in reply to: Slides won’t open in LayerSlider since the update #1493488Hi,
Thanks for sharing your solution, shall we close this thread then? If you have questions on a different topic feel free to open a new thread.Best regards,
MikeDecember 24, 2025 at 11:57 am in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1493485Hi,
I think this will work, but we would need to test, please create two test pages, one of each example so we can check.Best regards,
MikeDecember 22, 2025 at 10:41 pm in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1492760Hi,
As I recommend, as long as each product has the same number of images as variations in the same order, the script I have in mind should work, but we wont know until we test it. A plugin is another option, but note that all third party woo plugins don’t play nice (work) with Enfold.Best regards,
MikeDecember 22, 2025 at 11:28 am in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1492748Hi,
I would expect the script to work on mobile also, but we will be testing on desktop to start.
The size of the images should not matter, but each product needs to have the same number of images as the variations.Best regards,
MikeDecember 21, 2025 at 9:53 pm in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1492734Hi,
A test product page to test the javascript code. We can inject the code in the browser , but only for desktop.Best regards,
MikeDecember 21, 2025 at 1:00 pm in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1492729Hi,
a: yes all would be lost
b: if all of the products followed the same format ie: dots in your slider, and the same number of slides as your variations in the same order, I expect that one javascript script would work for all. As the example thread did
But we won’t be sure until we test on your text product.Best regards,
MikeDecember 20, 2025 at 6:05 pm in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1492723Hi,
Yes to the first two questions, as for the custom javascript it is a maybe, we would need to see a test page with the dots in your slider, and the same number of slides as your variations in the same order. Since there are no added classes to tell javascript the difference it needs to be setup so the first option is the first image in the slider & the last is the same as your last image. The dots in the slider link to the images, where the next/prev only link to the next image, not a specific image.
It may work similarly to this thread. But this thread is not your solution, we will need to examine and test on an example on your test page.Best regards,
MikeDecember 20, 2025 at 2:56 pm in reply to: woocommerce product page: tag change/hide brand text / sort by options #1492721Hey Munford,
To hide the brand try this css:.single-product .product_meta .tagged_as + .posted_in { display: none; }To change the woo sorting options to categories is not that easy, but I was able to create this function for your child theme functions.php
add_action( 'woocommerce_before_shop_loop', 'custom_product_category_dropdown', 20 ); function custom_product_category_dropdown() { $args = array( 'show_option_none' => __( 'Filter by Category', 'woocommerce' ), 'show_count' => 1, 'hierarchical' => 1, 'taxonomy' => 'product_cat', 'hide_empty' => 1, 'value_field' => 'slug', 'class' => 'orderby', 'name' => 'product_cat_filter', 'id' => 'product_cat_filter', ); echo '<div class=" sort-param sort-param-order custom-category-dropdown">'; wp_dropdown_categories( $args ); echo '</div>'; ?> <script type="text/javascript"> (function() { var dropdown = document.getElementById("product_cat_filter"); if (dropdown) { dropdown.onchange = function() { var val = this.value; if (val !== '-1') { // Redirect to the category archive page window.location.href = "<?php echo esc_url( home_url( '/' ) ); ?>product-category/" + val; } }; } })(); </script> <?php }Then add this css:
#top .product-sorting.avia-product-sorting { display: none; } .avia-webkit #top.woocommerce-page .custom-category-dropdown select { padding-right: 40px; } #top.woocommerce-page .custom-category-dropdown select { width: 100%; }The result:


Note that clicking the category in the sort will redirect to the category page, I’m not sure if that will be an issue for you, but it’s the only solution I could come up with. Also the dropdowns style is a little different from the theme.Best regards,
MikeDecember 20, 2025 at 12:37 pm in reply to: Woo commerce custom – setting gallery display when clicking in on size variation #1492718Hey woogie07,
Typically if you use the default Enfold/Woo product page layout and choose the WooCommerce 3.0 product gallery in Shop Options > Product Gallery
It should work. But currently it looks like your page is using a custom layout using Enfold elements.
It might be possible to keep your layout if you use the dots in your slider instead of the next/prev button and some custom javascript, if you limit your slides to the same number as your variations options. Currently you have 33 slides but only 14 variations options. Perhaps a another plugin would help, but note that not all woo addon plugins work well with Enfold, so you would need to test.Best regards,
MikeHi,
Your site is getting a “500 (Internal Server Error)” when the form is submitted. This is a server error. Please check your server logs for more info.Best regards,
MikeDecember 17, 2025 at 9:22 pm in reply to: spacing / padding around partner logo element when displayed as a grid #1492635Hey sensiblekaren,
Please provide a link to your site and a screenshot of the logo in question.Best regards,
MikeHi,
Glad that Ismael could help, you are correct that non-touch devices will not encounter touch events, so it should not be an issue. Unless there is anything else with this issue, shall we close this thread? Naturally you can always open a new thread for new issues, but we like to keep each thread on topic. :)Best regards,
MikeHi,
Thanks, I added this script to your child theme functions.php file:function remove_slideshow_swipe_script() { ?> <script> document.addEventListener('DOMContentLoaded', function() { if (window.innerWidth <= 768) { var slideshow = document.querySelector('.avia-slideshow'); if (slideshow) { slideshow.style.touchAction = 'none'; ['touchstart', 'touchmove', 'touchend'].forEach(function(event) { slideshow.addEventListener(event, function(e) { e.preventDefault(); e.stopImmediatePropagation(); }, {passive: false, capture: true}); }); } } }); </script> <?php } add_action( 'wp_footer', 'remove_slideshow_swipe_script', 99 );and it is working for my Android device, with the other script still working, as before if you are using a iPhone you may need to clear the history to fully clear the cache.
Best regards,
MikeHi,
Thanks for the feedback, I can only test on a Android device, but will need an admin login to apply the code and then test on my device.
Please add the admin login in the private comment below.Best regards,
MikeHi,
Glad that Guenni007 & Ismael could help, thank you Guenni007, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.Best regards,
MikeDecember 15, 2025 at 9:51 pm in reply to: Burger Menu Logo Showing In Main Navigation/Footer Menu #1492542Hi,
Glad that Guenni007 could help, thank you Guenni007, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.Best regards,
MikeHi,
Or try this css:/* Disable touch/swipe on mobile */ @media (max-width: 768px) { .avia-slideshow, .avia-slideshow * { touch-action: none !important; -webkit-user-drag: none !important; user-select: none !important; } }Best regards,
MikeHey photographie-tous-azimuts,
Try adding this css:/* Disable touch/swipe on mobile */ @media (max-width: 768px) { .slider-container, .slider-container * { touch-action: none !important; -webkit-user-drag: none !important; user-select: none !important; } }Then clear your cache and check. Unfortunately I can not test this on my end as desktop browser doesn’t show the swipe action, but this will likely work.
If you are using a iPhone you may need to clear the history to fully clear the cache.Best regards,
MikeHi,
Glad that Guenni007 could help, thanks Guenni007. Shall we close this thread now?Best regards,
MikeDecember 13, 2025 at 5:13 pm in reply to: Burger Menu Logo Showing In Main Navigation/Footer Menu #1492487Hi,
For your footer on mobile you have this css:@media only screen and (max-width: 989px) { .only_mobile { display: block; } }I changed to:
@media only screen and (max-width: 989px) { .only_mobile { display: block; } #footer-template .only_mobile { display: none; } }Now it only shows in the mobile menu & not the footer. Please clear your cache and check.
Best regards,
MikeDecember 13, 2025 at 4:41 pm in reply to: LayerSlider Popups broken across all our sites since update to WordPress 6.9 #1492484Hi,
Please export your layerslider and post via dropbox, so we can test. I’m not able to reproduce. Otherwise include a admin login so we can export to our test sites.Best regards,
MikeDecember 13, 2025 at 4:35 pm in reply to: Burger Menu Logo Showing In Main Navigation/Footer Menu #1492483Hi,
When I check it looks correct now on mobile & desktop, if this is solved please let us know so we can close this thread.Best regards,
MikeDecember 13, 2025 at 3:04 pm in reply to: Image Captions and Copyright: Image Element Dyanmic Fields; Add Media #1492482Hey milkrow,
Thanks for your patience, if I understand correctly you are adding images in the text element in the ALB (advanced layout builder):

and instead of just the caption showing below the image, you want caption, description, copyright, and title to show like this:

In my tests this snippet in your child theme functions.php works:add_filter('the_content', 'enfold_add_image_metadata'); function enfold_add_image_metadata($content) { // Only process on frontend if (is_admin()) { return $content; } // Pattern to match images with WordPress attachment IDs $pattern = '/<img[^>]+wp-image-(\d+)[^>]*>/i'; preg_match_all($pattern, $content, $matches); if (!empty($matches[0])) { foreach ($matches[0] as $index => $img_tag) { $attachment_id = $matches[1][$index]; // Get image metadata $title = get_the_title($attachment_id); $caption = wp_get_attachment_caption($attachment_id); $description = get_post_field('post_content', $attachment_id); $copyright = get_post_meta($attachment_id, '_avia_attachment_copyright', true); // Build metadata HTML $metadata_html = ''; if ($title || $caption || $description || $copyright) { $metadata_html .= '<div class="image-metadata" style="line-height: 14px; color: #666;">'; if ($title) { $metadata_html .= '<div class="image-title" style="font-weight: bold;">' . esc_html($title) . '</div>'; } if ($caption) { $metadata_html .= '<div class="image-caption" style="font-style: italic;">' . esc_html($caption) . '</div>'; } if ($description) { $metadata_html .= '<div class="image-description">' . wp_kses_post($description) . '</div>'; } if ($copyright) { $metadata_html .= '<div class="image-copyright">© ' . esc_html($copyright) . '</div>'; } $metadata_html .= '</div>'; } // Replace the image with image + metadata if ($metadata_html) { $replacement = $img_tag . $metadata_html; $content = str_replace($img_tag, $replacement, $content); } } } return $content; } /** * Add CSS to hide default WordPress caption text * while keeping the caption container styling */ add_action('wp_head', 'enfold_hide_default_caption_text'); function enfold_hide_default_caption_text() { ?> <style> /* Hide the default WordPress caption text inside caption shortcode */ .wp-caption p { display: none !important; } </style> <?php }In your media library add the text to your image:

Best regards,
Mike -
AuthorPosts







