Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry for the late reply and thanks for the login to your test site, so on the homepage & “the book” page I added custom ID’s to the image column and the text column, the ID’s used is copy & cover.
Then I added this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $(document).ready(function () { if ($(window).width() <= 766) { $( '#main' ).each(function() { $( this ).find( '#cover' ).insertAfter( $(this).find('#copy') ); }); } else { $( this ).find( '#copy' ).insertAfter( $(this).find('#cover') ); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');now for mobile the text will show first.
Please clear your browser cache and check.
Please note that if you check with a resized desktop browser you will need to reload the page at the new size for the script to work. This will not be an issue for and actual mobile device.Best regards,
MikeHi,
Sorry for the late reply, and thanks for the login, I checked your main menu sub-menus and found on hover the font size was much larger, but the sub-menus are not showing in a big box for me. Please see the screenshot in Private Content area.
If you would like to adjust the font size, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:a:hover span.avia-menu-text { font-size: 12px !important; }Best regards,
MikeHi,
Thank you for your feedback, I’m not sure that the demo import would behave differently for you logging into your site and clicking the button or your webhost logging into your site and clicking the button, I certainly see that the import worked now and that is good. I will pass your feedback to the dev team.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
I would say that this should resolve the issue because the “aviaAsset_avia-head-scripts” row in the database is created when the file merging and compression is enabled, and it is removed when file merging and compression is disabled.
But in your Private Content area above the code that you pasted is much more than the one line that should be there, like this:

so I wonder if your field is being appended and not cleared. Can you search for “aviaAsset_avia-head-scripts” in your “phpMyAdmin” database tool while your file merging and compression is disabled and again when it is enabled to see if it is removed and then shows with just one line when it is enabled.Best regards,
MikeHi,
Thank you for the login and for the feedback, I tried disabling your “Dynamic Caching” in your “SG Optimizer” plugin and then retested the two links you posted above and both passed, please see the screenshots and links in Private Content area.
I then reenabled the setting so you can decide if you want this setting on or off.
I believe you will find with this setting off the issues with the menu and other builder elements in the “Mobile-Friendly Test” will be resolved.
If you try disabling your “Dynamic Caching” in your “SG Optimizer” plugin, please also click the “Purge SG Cache” button at the top of your admin page to clear the server cache.Best regards,
MikeHi,
Sorry for the late reply and glad to hear your host was able to import the demo. Typically this error seems to occur with “Managed WordPress” hosting accounts that have certain security settings. It doesn’t seem to be every “Managed WordPress” host, but typically these types of accounts are limited to the user for making changes to the server settings and many hosts will not change settings or advise which settings are used.
One solution that sometimes helps is checking the PHP settings on the server to see if the secure options are activated.
If “allow_url_fopen, “allow_url_include” and “register_globals” are “off”, try turning these “on”.
I suspect that your webhost temporarily made a change to your server settings before they imported the demo.
The dev team is working on a new importer, but right now we are unsure when this will be ready.
Since your demo is now imported shall we close this thread?Best regards,
MikeHi,
Sorry for the late reply and thank you for your patience. I have found that adding a full-width button in the Ajax Portfolio Preview text field causes theFailed to execute 'getComputedStyle'error. I have reported this to the dev team.
I suggest changing your full-width buttons to X-Large buttons in the Ajax Portfolio Preview text section as a temporary solution.
Since your buttons are added as shortcode you can change the buttons by simply removing_bigfromav_button_big

Hopefully, this will save you from recreating every button.
I will post an update when the dev team returns a patch for this issue.Best regards,
MikeHi,
Thank you for the feedback, this is a strange issue, so yes, I believe the two errors are due to the test not loading the CSS. I also believe that if you check your Google Webmaster account you will not be getting any errors for the same files from Google Bot, meaning that your site is indexing correctly, and as we know actual devices are loading the files.
I’m not sure why the test is not loading some of your css files, but I do see that you have a “mixed content” error which is not related to your css, but perhaps correcting it will help.
So this code tells the Browser or Google Bot, to try to get all files via HTTPS thus solving any “mixed content” errors.
Try adding this code to the end of your functions.php file in Appearance > Editor:function add_custom_meta(){ ?> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> <?php } add_action('wp_head', 'add_custom_meta', 1);If you prefer, we can add this for you if you include an admin login to your site in the Private Content area.
Best regards,
MikeHi,
Sorry for the late reply, I see that I misunderstood your first request, and thanks for your screenshot because the gray is hard to see. :)
So, to remove the gray from the background but leave it for the form, try this css:#top.woocommerce-account .main_color .col-1, #top.woocommerce-account .main_color .col-2 { background-color: #FFF !important; }Best regards,
MikeHi,
@Justin thanks for sharing your solution, unfortunately, I was unable to reproduce an error in the console on my localhost, but I’m glad to hear that this helped with your issue.Best regards,
MikeHi,
Thank you, I checked your “news” category and found only one “link” type post, except for the two test posts.
So for the author page we will target post-entry-6313 and change the URL only on the author page with this script.
Please adjust the URL in the script to the one in the Private Content area.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_author_link_type_link(){ ?> <script> (function($){ $(window).load(function(){ $("#top.archive.author .post-entry-6313 h2.post-title.entry-title ").find("a[rel='bookmark']").attr("href", "https://www.google.com"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_author_link_type_link');This can be extended in the future if you add more link type posts.
Best regards,
MikeHi,
@Justin sorry for the late reply, I installed Yoast on my localhost and checked/avia_framework_post-sitemap.xmlbut I’m not seeing any errors in the browser console, but the sitemap also has zero entries. Perhaps after there are some entries the error will show for me? I also checked the homepage for the error but didn’t see it.
What version are you using 4.7.6.2 ?As for indexing the builder, I would leave this option enabled so that Yoast doesn’t add
noindexto the robots meta.

Best regards,
MikeHi,
Ok, I did see that you tried enabling the parent theme and disabling the plugins without success, but I was hoping that if I tried the same that I may see a clue in the browser console. Unfortunately, the only time I could reproduce your issue on my localhost was when I added the base64 code. So since you removed the code but the error is still occurring so I wonder if your server is using object caching which would still output the deleted code.
So if you can’t create a staging site to test with can I test on your live site perhaps Sunday before noon? When do you have the least traffic?Best regards,
MikeHi,
Sorry for the skype link I was trying to highlight the format of the link, so you would actually enter this:
skype:live:emailnamewithoutdomain?callin your screenshot this partemailnamewithoutdomaindoesn’t look like an email. Please see this thread for more info.
For your page with little content please link to it so we can adjust the css, typically the best solution is to add more content or to add more height to your content. For example, your page has two buttons, try putting the two buttons in a color section with the min-height set to “At least 100% of Browser Window height” or “At least 75% of Browser Window height” this will give you more control over which pages are affected.Best regards,
MikeHi,
Sorry for the late reply, and thanks for the screenshots. For the first issue please try this css:#top.woocommerce-account .main_color .col-1, #top.woocommerce-account .main_color .col-2, #top.woocommerce-account .main_color form.login, #top.woocommerce-account .main_color form.register { background-color: #B29DB6 !important; }for the second one, thanks for sharing the logic & css behind the effect, so please try this css:
#top.woocommerce-cart div td.actions .coupon .input-text, #top.woocommerce-checkout div form .form-row input.input-text, #top.woocommerce-checkout .main_color .input-text { font-size: 16px !important; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you for checking, yes the error is still occurring. Is your server using object caching? Please check if you can clear your server cache if any. Since your site is live, please check your webhost to see if you have the one click staging site option, this is a option in most cPanels to create a staging clone of your site so we can test on it and your live site will stay up and running, untouched. You can always ask your webhost to help you with setting this up if you want.Here are some screenshots of what it would look like:


Otherwise, I would like to enable your parent theme and disable your plugins to test further.
Best regards,
MikeHi,
1: for your footer you can try this css in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#main > div.container_wrap { min-height: 80vh !important; }otherwise please link to an example page for us to examine.
2: Please see this thread the second answer says try this:href="skype:live:emailnamewithoutdomain?call">Best regards,
MikeHi,
Unfortunately, the dev team says this is not a bug, but an expected result of how “get_the_excerpt()” removes links from the content, and changing this breaks other functions. Please see below for full notes.
How many “link” type posts do you plan on showing on your author page? I’m thinking if there is only a couple I may be able to write a script that will add the links, otherwise, this may require an author.php rewrite to achieve your goal.Best regards,
MikeHi,
I checked your site and your mega menu seems to be working correctly now, please clear your browser cache and check.Best regards,
MikeHi,
Sorry for the late reply, you are right that the translations should work while using only one slider, I was trying to think of alternatives.
I did put together a script that will perform the translation only on English pages with the slider, please see the test page in the Private Content area. The script is in a code block element on that page for testing so it won’t affect any other pages.(function($){ $(window).load(function(){ setInterval(function () { $('html[lang="en-US"] #layerslider_6 h1').text(function(index, text) { return text.replace('TURBINEN', 'TURBINES'); }); $('html[lang="en-US"] #layerslider_6 h1').text(function(index, text) { return text.replace('FARBSPRITZGERÄTE', 'PAINT SPRAY GUNS'); }); }, 2000); }); })(jQuery);Perhaps this is an alternative?
Best regards,
MikeHi,
I have been able to view and login to your site, the “avia.js” uses a function “aviaCalcContentWidth” to calculate the window width and then add css rules for the mega menu, tabs, submenus, and containers.
I have checked your child theme “avia.js” and find that it is an older version, please update your theme to v4.7.6.1 and also update your child theme “avia.js”
Your child theme contains a lot of js files, I’m concerned that one of them is somehow effecting the aviaCalcContentWidth function. Do you know what the files in your child theme “static” folder is for? They seemed to be named like a cache?Best regards,
MikeAugust 10, 2020 at 3:05 am in reply to: Weird toggle bug in accordion element when used as FAQ on iphone & ipad #1236361Hi,
Sorry for the late reply and thanks for the login, I see that your portfolio items with asterisks have base64 code in the editor under your big button shortcode. I was not able to decode this or see anything on your front end.
But when I added this to my localhost I got the same error in the console as above.
What is the code for? Perhaps removing it from all of your entries will solve the issue.Best regards,
MikeHi,
Sorry for the late reply, and thanks for the screenshots and video, so as I understand your post this menu error is only visible on your test site? I have added the host file info but I’m not seeing your test site.
I’m also not sure why you are using the “zoom” when testing your site, to test your page for different screen resolutions please try using the dev tools and choose a screen width.
Please note that the link is for the Chrome browser, but the same function is available in all browsers.
For the site that I could login to, I didn’t find any css to adjust the menu so I assume I will see this on the test site once I get the host redirect to work?Best regards,
MikeHey brianwelsh,
Sorry for the late reply and thanks for the link to your page.
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.page-id-9062 .entry-content-wrapper .av_one_half:nth-child(odd) { margin-left: 12px !important; width: 49% !important; } #top.page-id-9062 .entry-content-wrapper .av_one_half:nth-child(even) { width: 50% !important; }After applying the css, please clear your browser cache and check.
Please see the screenshot in Private Content area for the expected results.Best regards,
MikeAugust 9, 2020 at 7:57 pm in reply to: Enfold not compatible with B2B Markets from Marketpress #1236344Hey elbnetz,
Sorry for the late reply and thanks for the login. Please explain the steps to take to see the error, I’m not totally sure what to expect when the plugin works correctly.
Is the button referred to above on the “/mein-konto/” page?
On this page you are getting this error:An invalid form control with name='b2b_uid' is not focusable.This seems to point to your “Customer group” drop down and this script:
jQuery(function(){ jQuery("#b2b_uid").attr("required", "required"); })But the button is a woocommerce button to create an account, so I would think that the plugin would recognize this?
Try removing the script and then without the error perhaps the button will work correctly.Best regards,
MikeHi,
Sorry for the late reply and thanks for the link to your site. The reason your button in the first section above the diagonal border is not working is because the diagonal border is overlaying the button. We can change the z-index to bring it to the top.
Please try removing the css above and add this css in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.home #av_section_1 { z-index: 99 !important; position: relative !important; } #top.home #av_section_1 .av-extra-border-element.border-extra-diagonal { z-index: 0 !important; position: relative !important; } #top.home #av_section_1 .av-extra-border-inner { background-color: #eeeeee !important; }After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 9, 2020 at 4:53 pm in reply to: Weird toggle bug in accordion element when used as FAQ on iphone & ipad #1236296Hi,
Thanks for the staging site, I disabled your “Moosend Website Tracking” plugin and the Moosend Website Tracking script in your child theme functions.php and after clearing your cache a few times the error in the console is gone and the behavior seems to be correct now. Please check. Perhaps it was because you were using a script & the plugin? If this helps try enabling the plugin again and see if the behavior returns.Best regards,
MikeHey creativeopole,
Sorry for the late reply, I’m not sure what you mean by the ” video background to be full width and height before clicking and opening in the lightbox” but you can make the lightbox almost full width and height with this css.
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:div.mfp-iframe-scaler { height: 100vh !important; width: 100vw !important; } .mfp-iframe-scaler iframe { left: -15vw !important; width: 90% !important; height: 90% !important; }After applying the css, please clear your browser cache and check.
Is that what you meant?Best regards,
Mike -
AuthorPosts
