Forum Replies Created
-
AuthorPosts
-
August 23, 2020 at 12:46 am in reply to: Mobile menu on scroll down hide and on scroll up show #1240007
Hi,
Thank you for the login but it is not an admin login so we can not add the script to your site.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> ( function( $ ) { 'use strict'; var $window = $( window ); var lastScrollTop = 0; var $header = $( '#header' ); var headerBottom = $header.position().top + $header.outerHeight( true ); $window.scroll( function() { var windowTop = $window.scrollTop(); // Add custom sticky class if ( windowTop >= headerBottom ) { $header.addClass( 'myprefix-maybe-sticky' ); } else { $header.removeClass( 'myprefix-maybe-sticky' ); $header.removeClass( 'myprefix-show' ); } // Show/hide if ( $header.hasClass( 'myprefix-maybe-sticky' ) ) { if ( windowTop <= headerBottom || windowTop < lastScrollTop ) { $header.addClass( 'myprefix-show' ); } else { $header.removeClass( 'myprefix-show' ); } } lastScrollTop = windowTop; } ); } ( jQuery ) ); </script> <?php } add_action('wp_footer', 'custom_script');Then add this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
@media only screen and (max-width: 767px) { .myprefix-maybe-sticky { position: fixed !important; top: -120px; width: 100%; z-index: 999; opacity: 0; background: #fff; transition: 0.3s all; box-shadow: 0 2px 3px rgba(0,0,0,0.15); } .myprefix-show { top: 0; opacity: 1; } }Then clear your browser cache and any cache plugin, and check.
Best regards,
MikeHey smarta-brett,
Thanks for the link to your page, unfortunately the individual slides do not have ID’s so you can not link directly to them.
If you were able to add ID’s to the slides you probably would be able to link to the individual slides, but this would require writing a JQuery script.Best regards,
MikeHey Nancy,
I believe we can do this with some css, but your link is not working so we can check your page. Please check.Best regards,
MikeAugust 23, 2020 at 12:17 am in reply to: Would like no "Date" on Magazine showing Portfolio items #1240001Hey pkjd,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:time.av-magazine-time { display: none !important; }After applying the css, please clear your browser cache and check.
If this doesn’t help please include the URL to the page in question so we can take a closer look.Best regards,
MikeHey koonpete,
Thank you for your question, you can edit the language files at\wp-content\themes\enfold\lang\with Poedit to achieve this.
So after you install Poedit open your language “.po” file and search for the phrase you wish to edit, then when you save a new “.mo” file will also be created. You will then need to upload both files via ftp to the location above.
Or you add them to your child theme so the translations are saved for future updates.
If you use the English language on your site you will have to take an extra step because there is no “en_US.po” or “en_US.mo” file, you will have to create it.
So open the file enfold.pot with Poedit and click the button “create new translation” and choose the language “English”

then you can edit the phrases as explained above.

when you save your files be sure to name them “en_US.po” & “en_US.mo”

Best regards,
MikeHey JoStudioDeRijp,
The correct format istel://1-555-555-5555please see this article for more info.

Best regards,
MikeHey idvisionme,
Thank for the link to your site, you have the errorjQuery is not defined
Please check that the setting Enfold Theme Options > Performance > Load jQuery in your footer is not enabled.Best regards,
MikeHi,
When I check your tabs on a mobile device the filter is working, please see the screenshot in Private Content area.
Try clearing your browser cache and checking again.Best regards,
MikeHi,
Ok, try this, assuming your skype link is this:skype:apple123?call
add this to your skype social profile URL:https://skype:apple123?call
Then try adding this code to the end of your functions.php file in Appearance > Editor:function custom_skype_link(){ ?> <script> (function ($) { $(window).load(function() { $('.social_bookmarks_skype a').attr("href", "skype:apple123?call"); $('.social_bookmarks_skype a[target="_blank"]').removeAttr('target'); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_skype_link');in the above code adjust the link to yours
skype:apple123?call
Then clear your browser cache and any cache plugin, and check.Best regards,
MikeHi,
Thank you for the feedback. When you are testing your page with the “Live Test” in the Google Search Console > URL Inspection and you see the error “Page is not mobile friendly” this doesn’t mean that it will not be indexed.
On the URL Inspection page you should see this:

Now in my tests, if you run the same test a few times you will get different results:

I can not test your pages in my Google Search Console, because it only allows you to test your own domains, but note that the “Live Test” is a limited test which doesn’t load all resources available.
Now we know that the reason you are seeing the error “Page is not mobile friendly” is because the test didn’t load the css file to arrange the page correctly, and when the css file is loaded the test passes the page.
This is not the same as indexing your page, when google indexes your page it doesn’t limit the crawl in the same way. I don’t believe that reducing your pages to only the elements that will show in the “screenshot” of the “Live Test” is necessary for your site to be indexed.
While I want to help you with any issues with your site, this seems to be an issue with the test not giving a complete result by not loading the available resources for the page because it’s bandwidth is limited.Best regards,
MikeAugust 22, 2020 at 7:47 pm in reply to: PRODUCT TITLE IS NOT H1 and FILTER IS NOT TRANSLATE in Enfold Woocommerce #1239986Hi,
Sorry for the late reply, I have tested the pt_BR language with Enfold & woocommerce and found that the filter text is in the language file at\wp-content\themes\enfold\lang\pt_BR.po
currently, this file by default seems to be missing many translations for this language, above you wrote that you have updated your pt_BR.po file, so I assume you did this with Poedit and then uploaded the .po & .mo files to the correct location.
Please link to your pt_BR.po & pt_BR.mo files via DropBox so I can test them on my localhost to ensure your edits are saved correctly.
Once these files are working correctly you can add them to your child theme so the translations are saved for future updates.Best regards,
MikeHi,
Sorry for the late reply, I have taken a look at the other thread and posted a reply. We will continue there.Best regards,
MikeHi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.single-sfwd-lessons { min-height: 100vh; }After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 20, 2020 at 2:26 pm in reply to: Portfolio Grid Feed Pagination does not seem to work #1239548Hi,
Sorry for the late reply and thank you for the login. I tested your temp site and compared it to your live site and I’m not seeing any errors, other than the pagination not working correctly.
I tried to recreate this on my localhost by adding a portfolio grid element to a portfolio item, such as your example, but the pagination worked correctly. Can you please post a link to a text copy of your .htaccess file, perhaps there is an odd rule there?Best regards,
MikeHi,
Thank you for the feedback, so the “SG Optimizer” plugin is for your site’s server-side object caching, while you are building your site you will want this off, but once you are done with the major page builds you may find this works well to speed up your site.As for the Media elements, such as the slider, with the SG Optimizer plugin off, are showing correctly in the page test.
So what do you mean by “incompatible with Google bots”?Best regards,
MikeHi,
Sorry for the late reply and thanks for the screenshot, I checked your check out page and found that the input fields are actually “iframes” from the “stripe” domain. So in this case you can not control the element because it is not your domain.
But the input fields already have the font size defined at 15px with this css:.ElementsApp, .ElementsApp .InputElement { color: #31325F; font-size: 15px; }so I would think that this addresses the zoom effect for the element, but if not I found this article on styling the fields. You can try this css based on the information from the article:
#stripe-card-element, #stripe-exp-element, #stripe-cvc-element { font-size: 16px !important; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you, did you find that this helped, is there anything else we can assist with on this?Best regards,
MikeHi,
Glad to hear, and thank you for your patience while we sorted this out. Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
@parosweb sorry for the late reply, and thanks for the login & ftp access. So I have tested this issue and your page, I copied your page to my localhost to test and found that while the fix is in this version and it seems to work for elements I create, in English, but if I test your Greek text tab section titles the element breaks.
I will report this to the dev team, as a temporary solution, you could use icons or images instead of your titles, or you could wait until we hear back from the dev team.Best regards,
MikeHi,
The dev team has returned a fix for the full-width button in the Ajax Portfolio Preview text section: “The full-width element full-width button shortcode broke the layout because called outside shortcode tree and creating an extra section.” Full-width elements try to full-width for the screen not just the element, so typically placing a full-width element inside a page element will cause an issue. In this case, the dev team edited the full-width button and the portfolio element so this will work correctly.
This will be included in the next release. In the zip file in the Private Content area, you will find two files:
buttons_fullwidth.php & portfolio.php
via ftp, please save a fallback copy of your current files and replace these at these locations:
\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\buttons_fullwidth\buttons_fullwidth.php
\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\portfolio\portfolio.php
Then clear your browser cache and any cache plugin, and check.Best regards,
MikeAugust 17, 2020 at 12:37 pm in reply to: Portfolio Grid Feed Pagination does not seem to work #1238467Hey Ivana,
Sorry for the late reply, I didn’t see the video, but I did see that your pagination links seem to have the trailing page number stripped from the url.
Please include an admin login in the private content area so we can take a closer look. Can we temporarily disable your plugins for testing?Best regards,
MikeHi,
The patch should already be in this version, please include an admin login in the Private Content area so we can investigate.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,
MikeHi,
Thank you for the login, I see that the button “Edit Audio Player (Classic Editor)” is always pointing to the “post=1766” which is one of your Audio Players, it doesn’t seem to matter if it is a post or a page, and there are no errors in the browser console.
If I disable your plugin “Disable Gutenberg” and change the default editor at Enfold Theme Options > Select Your Editor the button changes text but not the wrong link.
So I don’t know why this plugin & Enfold are clashing, but unfortunately, there is not a lot we can for third-party plugins within the scope of our support.
But since the link never changes, I think we can replace the link with the correct edit link for pages and posts with this script and hopefully improve your workflow.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $(window).load(function(){ function get_current_page_id() { var page_body = $('body'); var id = 0; if(page_body) { var classList = page_body.attr('class').split(/\s+/); $.each(classList, function(index, item) { if (item.indexOf('page-id') >= 0 || item.indexOf('postid-') >= 0) { var item_arr = item.split('-'); id = item_arr[item_arr.length -1]; return false; } }); } return id; } var id = get_current_page_id(); var theURL = '/wp-admin/post.php?post='+id+'&action=edit&classic-editor=1'; $('#wp-admin-bar-edit a').mouseover(function() { $(this).attr("href", theURL); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');this will not change the text of the button, but it does change the link.
Please clear your browser cache and check.Best regards,
MikeHi,
Sorry for the late reply, and thanks for the login, I first disabled your custom code to see the pagination working the default way, but as soon as your page loads the/page/2/part of the URL is stripped so the pagination doesn’t advance to the next page.
It looks like your gform plugin might be doing this.
Please try disabling your plugins and enable one at a time clearing your cache in between each one.
Once we can get the pagination working again we can take another look at the scrolling to the top issue.Best regards,
MikeHi,
Sorry for the late reply, to load your edited /avia.js file via the child theme, first ensure that your file is at: /enfold-child/js/avia.js by creating a folder called “js” in your child theme directory.
Then add this code to the end of your child theme functions.php file in Appearance > Editor://Load child theme avia.js function wp_change_aviajs() { wp_dequeue_script( 'avia-default', get_template_directory().'/js/avia.js', array('jquery')); wp_deregister_script( 'avia-default', get_template_directory().'/js/avia.js', array('jquery')); wp_enqueue_script( 'avia-default', get_stylesheet_directory_uri().'/js/avia.js', array('jquery')); } add_action( 'wp_enqueue_scripts', 'wp_change_aviajs', 100 );Then clear your browser cache and any cache plugin, a couple of times and check.
Best regards,
MikeHey myroska,
Sorry for the late reply and thanks for the link and screenshot, I also checked your page and see the duplicate code. I see that you included ftp access, but can you also include an admin login to your site so we and examine further?Best regards,
MikeHi,
Sorry for the late reply and thanks for the login, I checked your test event and found the event had already expired, so I changed the start and end dates so it will show. I couldn’t find the setting with the block editor set so I enabled the Classic Editor.
Then I found your site giving this error:(failed)net::ERR_CONNECTION_RESETsometimes for your enfold stylesheet, and sometimes for your javascript files.
Please check your server error log to see why your site seems to rest the connection on most page reloads, this seems like a server misconfiguration.Best regards,
MikeHi,
Very good then and thanks for your feedback, 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,
MikeHey Blaise,
Sorry for the late reply, and thanks for the screenshots. So when the button in your toolbar says “Edit Audio Player (Classic Editor)” it links to the plugin settings, and this occurs if you “preview” a page?
Yet if you publish the page the button will say “Edit Page (Advanced Layout Builder)”, correct?
Can we login to your site to examine? Please include an admin login in the private content area so we can take a closer look.Best regards,
Mike -
AuthorPosts
