Forum Replies Created
-
AuthorPosts
-
Hi,
Glad to hear that you have this sorted out, and thanks for sharing the issue with the plugin as it will alert other users with this plugin.
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 Scout-Bri,
Thanks for the link to the old thread, the testimonials script is now in it’s own file at:
\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\testimonials\testimonials.js
try saving your current file to your desktop for fallback and create a new file with this code:(function($) { "use strict"; // ------------------------------------------------------------------------------------------- // testimonial shortcode javascript // ------------------------------------------------------------------------------------------- $.fn.shuffle = function() { var allElems = this.get(), getRandom = function(max) { return Math.floor(Math.random() * max); }, shuffled = $.map(allElems, function(){ var random = getRandom(allElems.length), randEl = $(allElems[random]).clone(true)[0]; allElems.splice(random, 1); return randEl; }); this.each(function(i){ $(this).replaceWith($(shuffled[i])); }); return $(shuffled); }; $.fn.avia_sc_testimonial = function(options) { return this.each(function() { var container = $(this), elements = container.find('.avia-testimonial'); $('.avia-testimonial').shuffle(); //trigger displaying of thumbnails container.on('avia_start_animation', function() { elements.each( function(i) { var element = $(this); setTimeout( function(){ element.addClass('avia_start_animation'); }, (i * 150) ); }); }); }); }; }(jQuery));Then clear your browser cache and any cache plugin, and check.
Note that clearing javascript cache may require a few tries.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,
I assume that the comment was clearly spam, which was probably created with a comment spam script that just tries known WordPress comment URLs randomly so it doesn’t matter if the form is visible or not, this is a WordPress loophole that is the reason they created Akismet and auto install it on every WordPress site.
For example here is a price list for a spammer that will post 20k comments for $34:

you can be sure that his software will do this in about 10 mins.
If you don’t want any comments I recommend the plugin Disable Comments
If you want to allow comments on some posts you should manually approve all comments with the setting at WordPress ▸ Settings ▸ Discussion ▸ Before a comment appears ▸ Comment must be manually approvedBest regards,
MikeHi,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:.html_header_left #wrap_all #main { border-left-style: none; border-left-width: 0; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey navindesigns,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:@media only screen and (max-width: 767px) { #top.page-id-235 .aboutTimelineBody { min-height: 100px !important; } }After applying the css, please clear your browser cache and check.
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,
MikeMay 26, 2022 at 11:54 pm in reply to: Adding a message in the content on all pages using functions.php #1353080Hey GWS,
Thanks for the link to your site, try adding this code to the end of your functions.php file in Appearance ▸ Editor:function custom_special_message() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ if ($("body").hasClass("home")) { $( '<div class="av-special-heading">Our training center is currently closed for all in-person classes</div>' ).insertBefore( 'main.content' ); }else{ $( '<div class="av-special-heading">Sorry we are currently closed for all in-person classes</div>' ).insertBefore( 'main.content' ); } })(jQuery); }); </script> <?php } add_action('wp_footer', 'custom_special_message');The first message is for your homepage, the second is for all other pages. You can add a custom class to the div to style to suit your needs.
In my test I had to inject jQuery, because your site was giving the “jQuery is not defined” error, it looks like “rocket-loader” is adding jQuery too late, at least in my test.
If you have any trouble with this script try disabling “rocket-loader” or allow jQuery to load in the header, I’m not sure what options the “rocket-loader” gives you.Best regards,
MikeHi,
Glad Nikko was able to help, if you have any further questions please login and create a new thread in the Enfold support fourm and we will gladly try to help you. Please do not use the Pre Sale Questions section for support questions. Thank you for your understanding and for using Enfold.Best regards,
MikeHi,
Thank you for your patience, I have reported this to the Dev Team for review and will reply when I hear back from them.Best regards,
MikeHey kamporo,
Thank you for the link to your site, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:#header .social_bookmarks_Login.e-cost a:after { content: " Login e-cost"; display: inline; font-weight: bold; } #header .social_bookmarks_Login.e-cost a, #header .social_bookmarks_Login.e-cost { width: 120px; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad Nikko was 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,
Thank you for your patience, I found the solution a little more complicated because you are using the Sticky with curtain effect Footer Behavior, but by adding this custom class to the color section with the overlay columns: top-column-overlay-with-curtain-footer and this css:#top.av-curtain-footer.av-curtain-activated #main > *:not(.av-curtain-footer-container) { z-index: 2; } #top.av-curtain-footer.av-curtain-activated #main > .top-column-overlay-with-curtain-footer { z-index: 5; }Please note that the following color section should have it’s height set to at least 35% or 300px to allow for the column overlay.
I tested this on your homepage and /sunbeckia/
please clear your browser cache and check.Best regards,
MikeHi,
Glad Ismael could 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,
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,
Glad to hear this is working for you, if you choose to add a custom class you would add it in the table element developer settings:

in this example the custom class is custom-table note that no dot is used, then you would add the custom class to the css like this:.main_color table.custom-table { background-color: #fff; } .main_color table.custom-table td { border: none; } #main .main_color table.custom-table td:nth-child(1) { color: rgb(0, 141, 202); font-weight: bold; } #main .main_color table.custom-table td:nth-child(2) { color: #000; font-weight: bold; }To make the menu smaller try this css:
#top #header #header_main_alternate .container, .html_header_top.html_bottom_nav_header #top #header_main_alternate .main_menu>div, .html_header_top.html_bottom_nav_header #top #header_main_alternate .main_menu ul:first-child, .html_header_top #top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child > li > a { height: 30px; line-height: 30px; }the current height is 50px, so this will make it 30px or adjust to suit.
After applying the css, please clear your browser cache and check.Best regards,
MikeMay 25, 2022 at 11:07 am in reply to: Spezielles Kantenlayout – spezielles Layout an den Kanten #1352900Hi,
Glad Ismael could 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,
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,
MikeMay 25, 2022 at 1:02 am in reply to: How to modify the homepage of Default Demo's Advanced Layout Builder #1352833Hi,
Unfortunately your theme has not been updated, please see your other thread for more info.Best regards,
MikeHi,
I see that your theme has not been updated:

the Envato Market plugin says you have incorrect token permissions:

please only check the token permissions as in the image Nikko posted above, you can read how in our documentation
If you still have trouble with it, you could update your version of Enfold by downloading the latest 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.
Best regards,
MikeHi,
To make your grid row element sticky you can use the same script that was given in another thread:function custom_collant_script() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $(function() { var scroll_start = 0; var startchange = $('.avia-section.collant'); var offset = startchange.offset(); var width = $(window).width() if (startchange.length){ $(document).scroll(function() { scroll_start = $(this).scrollTop(); if((width >= 990) && (scroll_start > offset.top - 117)) { document.querySelector('.avia-section.collant').classList.add('sticky-top'); } else { document.querySelector('.avia-section.collant').classList.remove('sticky-top'); } }); } }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'custom_collant_script');I added this custom class to the grid row for you
avia-section collan

and now the grid row sticks near the top, the only thing is that this function sticks 117px from the top because on the other page you had a sticky header, but for product pages it looks like you want to remove the sticky header, is this correct or are you going to use a sticky header on your product pages too?Best regards,
MikeHi,
Glad Nikko was 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,
MikeMay 24, 2022 at 6:45 pm in reply to: Insert Enfold templates above content | Feature request #1352796Hi,
Glad Rikard could 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,
Thank you for the link to your site with the example, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:.main_color table.avia-data-table { background-color: #fff; } .main_color table.avia-data-table td { border: none; } #main .main_color table.avia-data-table td:nth-child(1) { color: rgb(0, 141, 202); font-weight: bold; } #main .main_color table.avia-data-table td:nth-child(2) { color: #000; font-weight: bold; }After applying the css, please clear your browser cache and check.
This css will affect all tables on your site, so I recommend adding a custom class to your table element and including it in the css so you can control which tables will get this style.Best regards,
MikeMay 24, 2022 at 5:20 pm in reply to: Re-sized thumbnails / images are not correctly created by Enfold #1352790Hi,
Glad to hear that you have this sorted out, and thanks for following up with your solution. 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 babettegcc,
Thanks for the screenshot and the link to your site, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:#top .avia-testimonial_inner > .avia-testimonial-content { height: 80px !important; vertical-align: middle !important; display: table-cell !important; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey whdsolutions,
Thanks for the screenshot but I’m not able to reproduce this in Chrome Dev Tools (320px – 425px) or on an actual Android device (360px).
I also tested with browserstack.com on a live iPhone 13 and there was no gap.
If you are testing with an iPhone, can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
Please see the screenshots in the Private Content area.Best regards,
MikeHi,
Glad Rikard could 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,
Glad Rikard could 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,
Mike -
AuthorPosts

