Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for the screenshot and the link to your site, there are a lot of customizations for the mega menu and looks complex, I tried to make some adjustments but they were not changing on the frontend as I would expect, are you sure that the FTP login you posted is for your staging site that you linked to? Please check.Best regards,
MikeFebruary 25, 2024 at 5:39 pm in reply to: Mime type error with Post CSS Files still a problem #1435366February 25, 2024 at 5:28 pm in reply to: Full Width Easy Slider – remove buttons for mobile #1435364Hey dowlassmoss,
Thank you for the link to your site, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:@media only screen and (max-width: 480px) { #top.home .avia-slideshow-button { display: none; } }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
this will hide the buttons below 480px and then the caption will show.Best regards,
MikeFebruary 25, 2024 at 5:13 pm in reply to: Mime type error with Post CSS Files still a problem #1435362Hi,
Thanks for the feedback, I have followed these steps, nosniff is set in the header, post-xxx.css files are generated on the pages, and I checked incognito on Windows in Chrome, Firefox, Brave & Edge and color section background images show correctly and I have no console log errors:


Best regards,
MikeHi,
Thanks but I’m not getting any helpful debug info, on your customization panel I get this error:
incorect use of “label for=FORM_ELEMENT” and this is breaking the customization panel so nothing shows:

so since you said that you had a mailchimp plugin installed before, I assume that you had added a form somewhere in the customization that is now causing this error, and this is causing the widget panel conflict so that nothing shows and nothing can be added or removed:

If you use accessibility mode you can see the newsletter widget, but still nothing can be added or removed. The error for class-avia-mailchimp.php on line 153 doesn’t help because that is the broken widget looking for a list but you don’t have a API key installed:

So I don’t know how you will be able to remove this broken form in the customizer added by your other plugin, perhaps if you reinstall the other plugin you will regain access to the customizer and can remove the form to correct the conflict, or if that doesn’t help try rolling back to one of your webhost backups before this error occurred, perhaps three days ago, or when you first noticed it.Best regards,
MikeHi,
Thanks, I see your site is using PHP v7.4.33, try updating to v8 and check again.Best regards,
MikeHey Diana,
Thanks for the screenshots, I believe that the reason there is so much space between the boxes on mobile is that this page is using negative margins and parallax position, for mobile you should be able to change these settings, but typically the element before uses negative margin to pull the next one up, etc.
I recommend duplicating the page, this feature was added in v5.6.9, as a test homepage and try disabling the Parallax Rules for mobile:

and also the negative margin. If this doesn’t help then we can try again on your test page.
Please see below.Best regards,
MikeHi,
Thanks for the feedback, I checked your page again and the two 1/5 column are hidden the reason you text column is not full width is because it is a 3/5 column, so I recommend adding the class cell-nodisplay to your text column and add another full width column with the class cell-dodisplay and try this css:@media only screen and (min-width: 1440px) { .cell-dodisplay { display:none !important; } }Best regards,
MikeHi,
I don’t know what you mean by: Enfold main map within the theme map
This kind of customization is beyond the intended scope of our support and my best recommendation is the use the theme as intended and see if you continue to have issues.
I don’t know how to circumvent the theme & LayerSlider security, and I have not seen the LayerSlider behave like this, so it stands to reason that if the cause is not a plugin or custom script, then it must be another customization. I recall another site with a re-named theme and it would not automatically update, so I imagine you will also be facing this.Best regards,
MikeFebruary 25, 2024 at 2:26 am in reply to: Default font all the same size on desktop, different sizes on mobile #1435343Hi,
It doesn’t look like that for me on Android or in the inspector on desktop, the page css uses the same font, so I’m not sure why you are seeing this. Please see the screenshot in the Private Content area.Best regards,
MikeFebruary 25, 2024 at 2:13 am in reply to: Removing Horizontal line – Special Heading (Elegant Centered and Default Styles) #1435335Hey WorldinColor,
To remove the lines try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:body .av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap:before, body .av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap:after { display: none; }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
The line is on all of them, you couldn’t see the line on one of them because the text was so long that the line was over the white backgroundBest regards,
MikeHey leilitacc,
The tabs section has many options to add color:

but your screenshot look more like a toggle/accordion element, but it also has many color options:

Try creating a test page and use the options to change the colors and if you find something you can’t change link to it so we can help with some css.Best regards,
MikeHey Diana,
I’m not sure why it looks centered on the desktop, the css is text-align: left, nonetheless this will center for mobile and tablet:#main .av-fixed-rotator-width .av-rotator-text { text-align: center; }for mobile you will want to make the font smaller because the left padding will push the text off the screen on the right.
Best regards,
MikeHey Diana,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #wrap_all #header .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a { color: #000; font-size: 16px; }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeHey Diana,
Thanks for the screenshot, but when I check your 1/5 elements I don’t find your custom class cell-nodisplay, I believe that it didn’t work because your css was for an ID and not a class, try this:@media only screen and (max-width: 1440px) { .cell-nodisplay { display:none !important; } }Best regards,
MikeHi,
You can add the page ID to the css so it will only work on the one page, like this for example:.postid-4308 img.mfp-img { width: 1200px !important; max-width: 1200px !important; height: 1976px !important; max-height: 1976px !important; }Best regards,
MikeHey northorie,
To edit the language files you will first need to install Poedit, it is a free software, the look for your language version in enfold/lang/ for German there are two versions de_DE.po & de_DE_formal, choose the one you are using, then search for the text for example “When refusing all cookies this site” it should find it like this:

then when you add your translation and save, you also must “Compile to MO”

so you will have two new files de_DE.po & de_DE.mo then both must be uploaded to your site and replace the current ones.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeFebruary 24, 2024 at 10:24 pm in reply to: Accordion Slider – Stop allowing all images to show in slider #1435321Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey Steve,
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2); function avia_change_post_layout($layout, $post_id) { if( is_shop() || is_product_tag() || is_product_category() || is_cart() || is_checkout()) { $layout['current'] = $layout['fullsize']; $layout['current']['main'] = 'fullsize'; } if( is_product() ) { $layout['current'] = $layout['fullsize']; $layout['current']['main'] = 'fullsize'; } return $layout; }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:

then add the above code and save.Best regards,
MikeHi,
I think you mean box-shadow, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#header:not(.av_header_transparency) #header_main { -moz-box-shadow:0 5px 5px rgba(182, 182, 182, 0.75); -webkit-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75); box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75); }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
Feel free to adjust to suit.Best regards,
MikeFebruary 24, 2024 at 8:47 pm in reply to: Accordion Slider – Stop allowing all images to show in slider #1435313Hi,
Please give this a try, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:function group_lightbox_images(){ ?> <script> (function($){ $(window).on('load', function() { $('.lightbox-added').each(function() { var parentClass = $(this).closest('[class*="group-"]').attr('class'); if (parentClass) { var match = parentClass.match(/group-(\d+)/); if (match && match[1]) { $(this).attr('data-group', match[1]); } } }); var groups = {}; $('.lightbox-added').each(function() { var id = parseInt($(this).attr('data-group'), 10); if (!groups[id]) { groups[id] = []; } groups[id].push(this); }); $.each(groups, function() { $(this).magnificPopup({ type: 'image', mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded', closeOnContentClick: false, closeBtnInside: false, gallery: { enabled: true } }); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'group_lightbox_images');If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:

then add the above code and save.
Then add the custom class group-1 to each accordion slider, changing the number for each one, ie: group-2, group-3, etc.

Then when the image in any group is opened only the other images in the same group will show.Best regards,
MikeHey Groeier!,
This sounds like strange behavior, it looks like you have renamed the theme, is this correct? When I try to check some of your theme files I get a server 500 error and your LayerSlider elements are empty. The LayerSlider that is built into the theme could be protected by the LayerSlider team to only work with Enfold, so perhaps when you rename the theme it causes this error.
Try to use the original Enfold files and do not rename it and see if this occurs again, it is does then include a admin login so we can look, but please do not rename the theme.Best regards,
MikeFebruary 24, 2024 at 7:18 pm in reply to: Regarding issues with displaying Header Title and Breadcrumbs. #1435310Hey liuxuewu,
To globally set your title & breadcrumbs on pages created with the Advanced Layout Builder, go to Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs and set it to Display title and breadcrumbs:

But note that if any of your pages have this disabled on the page, you will need to change the option on the page. You can check by going to your page and look in the Layout ▸ Title Bar Settings and ensure that it is set to Default Layout – set in Enfold Child > Header:

Best regards,
MikeFebruary 24, 2024 at 6:22 pm in reply to: disable zoom effect on images in “masonry gallery” made of portfolio items #1435309Hey valev0,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.avia_desktop #top .av-masonry-entry:hover .av-masonry-image-container { transform: scale(1, 1); }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeFebruary 24, 2024 at 6:01 pm in reply to: Button Element – Can you make a button play an audio file upon click? #1435308Hey Eleina,
I didn’t find a way to do this so I created a shortcode to create a button that will play a audio file and show a progress bar for the audio track while it is playing

The shortcode to use on your page:
[audio_player src="URL_TO_YOUR_AUDIO_FILE.mp3" text="Custom Button Text"]
Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:// use this shortcode: [audio_player src="URL_TO_YOUR_AUDIO_FILE.mp3" text="Custom Button Text"] function custom_audio_player_shortcode($atts) { $atts = shortcode_atts( array( 'src' => '', 'text' => 'Play Audio', ), $atts, 'audio_player' ); // Generate a unique ID for this instance $uid = uniqid('audio_player_'); ob_start(); ?> <style> .custom-audio-player { position: relative; max-width:200px; margin-bottom:10px; } .audio-control { position: relative; overflow: hidden; padding: 10px; border: none; background-color: #007bff; color: #ffffff; cursor: pointer; width:200px; transition: background-color 0.3s ease; } .audio-progress { position: absolute; bottom: 0; left: 0; height: 5px; background-color: #ff0000; width: 0; max-width: 100%; transition: width 0.1s linear; } </style> <div class="custom-audio-player" id="<?php echo $uid; ?>"> <button class="audio-control"><?php echo esc_html($atts['text']); ?></button> <div class="audio-progress"></div> </div> <audio class="custom-audio" src="<?php echo esc_url($atts['src']); ?>"></audio> <script> document.addEventListener('DOMContentLoaded', function() { var player = document.getElementById('<?php echo $uid; ?>'); var audio = player.nextElementSibling; var button = player.querySelector('.audio-control'); var progress = player.querySelector('.audio-progress'); var originalButtonText = "<?php echo esc_js($atts['text']); ?>"; button.addEventListener('click', function() { if (audio.paused) { audio.play(); button.textContent = 'Pause Audio'; } else { audio.pause(); button.textContent = originalButtonText; // Use originalButtonText instead of hardcoding } }); audio.addEventListener('timeupdate', function() { var duration = audio.duration; var currentTime = audio.currentTime; var progressWidth = (currentTime / duration) * 100 + '%'; progress.style.width = progressWidth; }); audio.addEventListener('ended', function() { button.textContent = originalButtonText; }); }); </script> <?php return ob_get_clean(); } add_shortcode('audio_player', 'custom_audio_player_shortcode');Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:

then add the above code and save.
You can adjust the css in the code above to suit your site.Best regards,
MikeHey valev0,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content * { color: red; }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeHey Martin,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.avia-video, .avia-iframe-wrap { margin-bottom: 0; }if this doesn’t help then please link to your page so we can examine.
Best regards,
MikeHey signumsrl,
Thanks for your question, I would not expect any issues. We have tested up to PHP v8.3 and found no issues, my demo site uses MySql database, but my PHP only goes to PHP v8.2 and it has no issues. It is possible that some plugins may not support PHP v8.3 so when you text I recommend first disabling all of your plugins. If you do find an issue you can try using PHP v8.2Best regards,
Mike -
AuthorPosts

