Forum Replies Created
-
AuthorPosts
-
Hi,
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,
MikeHi,
Thanks for your screenshot and the link to your shop page, I didn’t find the sub-menu as in your screenshot, so I assume that you have it disabled right now.
By default the sub-menu is not sticky on mobile devices so I assume that you are using some custom css to achieve this, I also recognize the extra space as the space of the admin bar when you are logged in. Try enabling the sub-menu and log out and check again.Best regards,
MikeFebruary 24, 2024 at 1:15 pm in reply to: Mime type error with Post CSS Files still a problem #1435283Hi,
When nosniff is used the default type is text/css others are blocked, I understand this to mean that there is no need to add text/css.
Since I can not reproduce the error using X-Content-Type-Options “nosniff”, I believe this is related to the server type, perhaps thinkjarvis could test with the rule in his .htaccess and see if that helps.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,
MikeHi,
Thanks for your patience, I see this on your site, and I note that adding multiple items from the same product page doesn’t show the product count, it will only show if you go to another product or the cart page. I’m not able to reproduce this on our demo page, so perhaps this is a plugin conflict, try disabling all of your plugins, including cache and If that resolves the issue, reactivate each one individually until you find the conflict.Best regards,
MikeHi,
Perhaps I’m not understanding correctly, because I don’t see a mailchimp newsletter widget in your widgets, I only see a page widget:
If you mean the Newsletter via Mailchimp panel in the theme options, then this is a theme option that you can not remove:
If you are receiving WordPress error emails then this is something else and we will need you to enable WordPress Debug so we can evaluate further.
Your site is using a footer page and not the widgets, so if you want to adjust the footer please go to that page.
Are you using a access plugin, like a role editer, one that I don’t see when I login, if so please disable it.Best regards,
MikeFebruary 23, 2024 at 5:48 pm in reply to: custom enfold theme worked for 7 years, issue after woocommerce and wp update #1435239Hi,
@ParsbergGroup, I am not sure what you mean by adding the item purchase code to the NAVIGATION section if you mean adding the purchase code to the theme update panel, then this will not work because you should enter the Envato Token, not the purchase code, you should see a link to the documentation explaining further:
if you have a old install then it will say “API” which is not the same and you will need to update manually:
To update manually you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
Please note that since this is not your thread posting your private info here will not be private, the person that opened this thread will as see your private info, and you will not see our comments in the Private Content area.
I recommend opening a new thread for your questions instead of adding your question to an old thread that someone else started. I recommend removing your private info from this thread and let us know that you have opened a new thread if I misunderstood your question and my answer didn’t help.Best regards,
MikeHi,
To hide the side post navigation try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top .avia-post-nav { display: none; }
aAfter applying the css, please clear your browser cache and check.
Best regards,
Mike -
AuthorPosts