Forum Replies Created
-
AuthorPosts
-
Hey debacqua19,
Your button shortcode contains a PayPal form, so there is not an easy way to add this to a default button.
You could add the default button classes to your buttons but you would not have the button text, so they would not look the same.
Sorry, I can’t think of an easy solution for you on this.Best regards,
MikeHey Bertrand,
Thanks for the link, it looks like your Gravity form plugin is adding an empty div for the datepicker at the end of your site<div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>Perhaps the plugin wanted to add this to the form but it’s been added to the “body” of the page.
I’ve tried changing it’s visibility with different tricks but this also hides the datepicker.
Please try contacting Gravity form, perhaps they have a solution for this.Best regards,
MikeApril 4, 2020 at 9:11 pm in reply to: Service Unavailable The server is temporarily unable to service your request due #1200853Hey Rio1,
Thank you for the login, but unfortunately, the login doesn’t have admin privileges so we can’t see your post.
Please update the user login to “admin”Best regards,
MikeHi,
As I’m sure you are aware, the “scroll-top-link” doesn’t show on mobile screens by default, so you would need to use some css like this for it to show:@media only screen and (max-width: 767px){ .responsive #scroll-top-link { display: block; } }But for your question to have the button show when the scroll reaches 75% of the page, after you apply the css please edit
\wp-content\themes\enfold\js\avia.json line 862 you should findif(st < 500)change toif(st < $(document).height()*0.75)
Then clear your browser cache and any cache plugin, and check.Best regards,
MikeHey ZY,
Thank you for your question, we are contenting our development of Enfold, so you won’t need to worry about this.Best regards,
MikeHey mbosse99,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#newsbox-3.newsbox li a strong { display: list-item; list-style: disc inside; }Best regards,
MikeApril 4, 2020 at 7:43 pm in reply to: Getting strange navigation results when scrolling down #1200836Hi,
Glad to hear this helped, this is just due to having a menu item pointing to a popup hidden on the page, probably don’t do that often.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeApril 4, 2020 at 7:33 pm in reply to: Enfold Update to 4.7 not showing as update option in WordPress. #1200835Hey nojo0440,
Since you have v4.2.6 installed which uses the old Envato API, the theme will not show an update available, after you update and use the new Envato “Token” you will see updates available.
So to get you up-to-date you will need to manually update, The easiest and safest way to do this is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly. This assumes that your theme directory is named the default “enfold” at\wp-content\themes\
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.Best regards,
MikeHey williamslyd,
Sorry for the late reply, I tried looking at the page you linked to but it’s leading to a 404 now, do you have a current example that we can view?Best regards,
MikeApril 4, 2020 at 7:16 pm in reply to: Make Post Title link directly to external link in Blog Element #1200832Hi,
Sorry for the late reply, I took a look at the 3 columns on your homepage, “LATEST DEVELOPMENTS, IMPACT ANALYSIS, GLOBAL RESPONSE”
these seem to be the “link” posts, but they all seem to be linking to the external sites as you wished, has this been resolved?Best regards,
MikeHi,
Sorry for the late reply, to add the title below the lightbox popup Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $(window).load(function(){ $('a.aviaccordion-slide-link.lightbox-added').magnificPopup({ type: 'image', image: { titleSrc: false, markup: '<div class="mfp-figure">'+ '<div class="mfp-close"></div>'+ '<div class="mfp-top-bar"></div>'+ '<div class="mfp-img"></div>'+ '<div class="mfp-bottom-bar">'+ '<div class="mfp-title"></div>'+ '<div class="mfp-counter"></div>'+ '</div>'+ '</div>', }, mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded', closeOnContentClick: false, midClick: true, gallery: { enabled: true }, callbacks: { markupParse: function (template, values, item) { values.title = item.el.find('img').attr('alt') + '<br>' + item.el.closest('.aviaccordion-slide-link').find('.aviaccordion-image').text(); }, // this - is Magnific Popup object. change: function() { $(this.content) .find('.mfp-top-bar') .html( '<h2>' + $(this.currItem.el).attr('title') + '</h2>' ); }, buildControls: function() { // re-appends controls inside the main container this.arrowLeft.appendTo(this.contentContainer); this.arrowRight.appendTo(this.contentContainer); }, }, }); // close the iframe window $(document).on('click', '.popup-modal-dismiss', function (e) { $.magnificPopup.close(); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');Then please add your title to the “Alternativer Text” field in your media library for each image:

the alt field used as the lightbox “title”

Best regards,
MikeApril 4, 2020 at 5:41 pm in reply to: Getting strange navigation results when scrolling down #1200823Hi,
I checked again and this time the menu highlight changed about halfway down the page, I didn’t have the flickering, but the page menu changed from red to white then. But the cause is the same as when I did see it flickering, the popup ID is in the page near the bottom of the page so when we scroll down the menu thinks we are at that part of the page, the same action occurs when we have a one-page site with a few anchors, as you scroll down the menu items will highlight to show which part of the page you are on.
Since each of your menu items represent a full page this css should override the flickering:/*fix menu highlighting*/ #top.home #header .av-main-nav > li#menu-item-534 > a .avia-menu-text { color: #cb2026; } #top.page-id-26 #header .av-main-nav > li#menu-item-168 > a .avia-menu-text { color: #cb2026; } #top.page-id-34 #header .av-main-nav > li#menu-item-169 > a .avia-menu-text { color: #cb2026; } #top.page-id-31 #header .av-main-nav > li#menu-item-170 > a .avia-menu-text { color: #cb2026; } #top.page-id-29 #header .av-main-nav > li#menu-item-171 > a .avia-menu-text { color: #cb2026; } #top.parent-pageid-34 #header .av-main-nav > li#menu-item-169 > a .avia-menu-text { color: #cb2026; }I added this to your Quick CSS and tested on Firefox & Chrome, please clear your browser cache and check.
Best regards,
MikeApril 4, 2020 at 4:15 pm in reply to: Adding social media icons to mobile menu on mobiles only #1200812Hi,
Sorry for the late reply, I have adjusted the script so to social icons show in the burger menu only for mobile devices.
I recommend that you disable your css that makes the social icons show in the header on mobile, since you only want them to show in the burger menu for mobile.function ava_custom_script_mod_social(){ ?> <script> (function($){ var int = ''; function a() { var isMobile = $('.av-burger-menu-main').css('display'), htmlString = $('#header_main .social_bookmarks').find('li a'), mobileMenu = $('.av-burger-overlay'), socialString = []; width = $(window).width() if($('.burger-social').length) clearInterval(int); if(width <= 768) { htmlString.each(function() { var socialClass = $(this).parent('li').attr('class'), socialItems = $(this).wrap('<li class="'+ socialClass + ' av-active-burger-items burger-social"></div>').parent().unwrap(); socialString.push(socialItems); }); $(socialString).each(function() { $(this).clone().appendTo('#av-burger-menu-ul'); }); }else{} } $('#header').on('mousedown', '.av-main-nav-wrap', function() { int = setInterval(function() { a(); }, 500); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_social');If this doesn’t help, please include an admin login in the private content area so we can adjust the script directly.
Best regards,
MikeApril 4, 2020 at 1:47 pm in reply to: Getting strange navigation results when scrolling down #1200792Hi,
Thanks for the login, I disabled your Enfold Theme Options > Performance > JS & CSS file merging and compression and then re-enabled to clear your site cache, and now the error is not occurring, please clear your browser cache and check.Best regards,
MikeHi,
I agree, I changed the code a little to subtract 100px from the color section, which seems to remove the white area, I also added a custom ID to the color section “car-color-section” and to the column “car-column” so that the elements will be easier to target without the possibility of the auto-classes of changing, and you will be able to use it on any page.
I couldn’t edit your functions.php, so please change the script to this:function custom_height_script(){ ?> <script> (function($){ $(window).load(function(){ var s1 = $('#car-color-section ').height(); var s2 = $('#car-column').height(); if (s1 < s2) $('#car-column').css('height', s1 + "px"); else $('#car-color-section').css('height', s2 - 100 + "px"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_height_script');In this part of the code
('height', s2 - 100 + "px");you can change the “100” to any number to like, it is subtracting 100px from the height.
After making these changes, Please clear your browser cache and check.Best regards,
MikeHi,
The code above is a working example with the slug “meet-the-team”, Please include an admin login in the Private Content area and the test page you wish to use.
Perhaps you are missing a bracket from the code.Best regards,
MikeHi,
Sorry for the late reply, glad to hear you have sorted it out, shall we close this then?Best regards,
MikeHi,
@marcgys sorry for the late reply, please link to your page so we can see what you have so far.Best regards,
MikeHi,
Sorry for the late reply, I see you are now getting the error “Cannot read property ‘top’ of undefined” when the links are clicked, it seems related to the language, for example when I copy the link I get this:
http://51.dr104.com.tw/?p=382#%E6%A8%99%E9%A1%8C%E4%B8%89instead of:
http://51.dr104.com.tw/?p=382#標題三Best regards,
MikeApril 3, 2020 at 1:09 pm in reply to: Transparent header, White Logo & Icons in mobile menu #1200500Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeApril 3, 2020 at 1:05 pm in reply to: Blank white space at the top of pages on mobile and tablet displays #1200498Hi,
Thanks, I took a look at your other thread and posted a comment, I recommend closing this thread and continuing there.Best regards,
MikeApril 3, 2020 at 1:01 pm in reply to: Getting strange navigation results when scrolling down #1200497Hi,
Thanks for the link, it looks like your “SCHEDULE A CALL” button is getting the “current-menu-item” class incorrectly, and on scroll the class is being added to each, back and forth, that is the flashing.
Do you have a script that is adding this class to the “SCHEDULE A CALL” button? It also looks like “#top” is being added to some of your menu URLs based on which item’s page it is, which should be removed.
Please include an admin login in the Private Content area so we can investigate.Best regards,
MikeHi,
The easiest and safest way to update, that I find, is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly. This assumes that your theme folder at/wp-content/themes/enfoldis named the default “enfold”.
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.Best regards,
MikeApril 2, 2020 at 1:22 pm in reply to: how to get download button for each picture with masonry content elemens? #1200161Hi,
Perhaps one like Easy Media Download, but please note that I have not tried any plugins that do what you want to do, nor did I find any recommendations in the forum. Searching the WordPress repository is a good place to start your search in cases like these.Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeApril 2, 2020 at 1:10 pm in reply to: How Can I Remove the Thumbnail from Displaying on Related Posts? #1200156Hi,
To change the number of posts that the related entries show please edit
\enfold\includes\related-posts.php
and on line 32 look for:'columns' => 6,and change the number “6” to “4”Best regards,
MikeHi,
Thank you for the feedback, there are more customization examples in the Enfold DocumentationBest regards,
MikeHi,
Please try unzipping your “medical” pack and opening “config.json” with a plain text editor, do you see the html for a 404 page like this?

when the “config.json” doesn’t have it’s information and the file is uploaded through the importer the file will be named “Font: flaticon”, but this can only be used once.
But the files that do have the info such as the one in the “knowledgebase” pack are named correctly in the importer

Perhaps you can edit the medical config.json to this, removing the html:{ "name": "enfold-medical", "css_prefix_text": "icon-", "css_use_suffix": false, "hinting": true, "units_per_em": 1000, "ascent": 850 { } }Best regards,
Mike -
AuthorPosts
