Forum Replies Created
-
AuthorPosts
-
Hi,
@hyperbrand when you updated did you overwrite the theme files or did you completely delete the theme and upload the new one?
Please include an admin login & FTP access in the Private Content area so we can investigate.@Milan I have replied to your thread, let us continue there.
Best regards,
MikeHi,
Thank you for the login, I can not reproduce your error on a clean install, your shortcode works on my install, when you updated did you overwrite the theme files or did you completely delete the theme and upload the new one?
Please include ftp access so we can investigate.Best regards,
MikeHi,
I seem to be having trouble with the standard login page, do you have a custom login url?Best regards,
MikeHi,
The CORS error I posted above was copied from the browser console, and the url I posted was were the font was loading from, I went to take a screenshot of it for you but I found your social icons were disabled in your theme options, so I enabled them and found the font was now loading from your domain, so I’m not sure if someone made a change or not, perhaps she talked to a co-worker? Either way this is good. Anyways the “function-set-avia-frontend.php” file has not been updated, with the patch I posted above, but I did apply the temp css fix to your Quick CSS so the social icons will show:.social_bookmarks_twitter a::before, .av-social-link-twitter a::before { font-family: 'entypo-fontello'; content: ''; } .social_bookmarks_facebook a::before, .av-social-link-facebook a::before { font-family: 'entypo-fontello'; content: ''; } .social_bookmarks_instagram a::before { font-family: 'entypo-fontello'; content: ''; }
So if you wish you can just wait for the next update which will correct the “function-set-avia-frontend.php” file.
Please clear your browser cache and check that you are also seeing the social icons, and also check if you continue to experience your other issues.
As for checking for malware I like the plugin: Anti-Malware Security and Brute-Force FirewallBest regards,
MikeHi,
I will add it to the feature request for the dev team, perhaps it has just overlooked compared to the other features they have been working on.Best regards,
MikeJanuary 7, 2020 at 2:16 pm in reply to: Shop, logo, search and burger menu, the order of icons on mobile #1171053Hi,
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) { .responsive #top .logo { float: none !important; margin: auto !important; } .responsive .logo img { margin: auto; } .responsive.html_bottom_nav_header #top #menu-item-shop.cart_dropdown { left: 0 !important; } .responsive.html_bottom_nav_header.html_cart_at_menu #top #wrap_all .main_menu { right: 0px !important; float: right !important; width: 50% !important; } .rtl .avia-menu.av_menu_icon_beside { margin-right: 0 !important; padding-right: 0 !important; } .responsive.html_cart_at_menu #top .main_menu .menu>li:last-child { padding-right: 0 !important; margin-right: 0 !important; } ul#avia-menu-0.menu.av-main-nav { display: flex !important; flex-direction: row-reverse !important; } }Then clear your browser cache and any cache plugin, and check.
Expected results:

Best regards,
MikeHey tekniskakari,
Thank you for the link, you are correct about the CORS policy, I see that some of your theme files are loading from “https://usercontent.one/wp/your-domain” instead of “your-domain” was this a temp url from your webhost or a CDN from your webhost?
If this was a stagging (development) url and you moved it to your live domain, you will want to correct the url.
If this is a Content Delivery Network (CDN) there may be an option within your settings to set the header toAccess-Control-Allow-Origin *;
otherwise, you could try this in your .htaccess file:<IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css|css|js|gif|png|jpe?g|svg|svgz|ico|webp)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule>Best regards,
MikeHey Kevin,
The WhatsApp was added to replace the Google+ when it shut down, I guess at the time it seemed to be more requested.
Have you seen our documentation on adding social icons?
Do you want help with implementing this?Best regards,
MikeHi,
Thank you for reporting this, I have tested with the beta: 4.6.4-beta-2 and the icons are showing correctly, but they are not with 4.6.4-beta-1 so I assume this is the beta you are using.
So this will be corrected when the update comes out, which should be very shortly after the final round of testing.
Thank you for your patience.Best regards,
MikeJanuary 7, 2020 at 11:48 am in reply to: Icon Box icon not displaying if Open in new window AND link applied to icon #1171004Hi,
Thank you for your report, I tried to recreate this error on my localhost and only could with the pre-patch file:enfold\framework\php\function-set-avia-frontend.phpthat was also causing the missing social icons.
If you have not tried patching this file please do so.
Please upload the following file via FTP to
\enfold\framework\php\function-set-avia-frontend.php
https://www.dropbox.com/s/gmbg5202rjz1vou/function-set-avia-frontend.php?dl=0
Please save a copy of your old file should you encounter an upload error.
Then clear your browser cache and any cache plugin, and check.
If you are using a CDN or a server cache from your webhost, please clear these also.Best regards,
MikeHi,
Thank you for the login, for your social icons I see that the font is loading from “secureservercdn.net” but it is blocked by theCORS policy: No 'Access-Control-Allow-Origin'I assume this is a CDN option on your GoDaddy account, please try turning this off.
Once the font is able to load then you may still need to update theenfold\framework\php\function-set-avia-frontend.phpfile with this one via ftp, Do not forget to make a backup of the original file for fallback and clear server and browser cache after the file has been replaced.These are two different issues, but doing both steps should correct the social icons.
Best regards,
MikeHi,
Can you please include an admin login and perhaps a test page with a Horizontal Gallery so we can test, we would expect to see an error in the browser console to help us identify the issue.
Please include an admin login in the Private Content area.Best regards,
MikeHi,
Wir gehen davon aus, dass das nächste Update irgendwann in der nächsten Woche verfügbar sein wird, sofern die abschließenden Tests erfolgreich sind.
Was Ihren Fehler beim Hochladen von Bildern betrifft, habe ich diesen an keiner anderen Stelle gesehen. Wir würden uns freuen, einen Blick darauf zu werfen, benötigen jedoch ein Administrator-Login und einen Link zu der Datei, die Sie hochladen möchten, um sie zu testen.
Da dies nicht Ihr Thread ist, ist das Posten Ihres Logins hier nicht privat und Sie sehen nichts, was wir im Bereich für private Inhalte schreiben. Öffnen Sie daher bitte einen neuen Thread, damit wir Sie unterstützen und ein Administrator-Login im Bereich für private Inhalte hinzufügen können.
Übersetzt mit GoogleBest regards,
MikeJanuary 7, 2020 at 4:44 am in reply to: WooCommerce – Issue With Postal Code Field Display with Square Gateway #1170898Hi,
Thank you, I hope you also had a nice holiday :)
Is there anything else we can assist with on this issue, or shall we close this then?Best regards,
MikeJanuary 7, 2020 at 4:39 am in reply to: How can I create a color section bottom border arrow shape? #1170897Hi,
You would have to change the class “separator” in the css, jQuery, and div for each time you use it on the same page, for example to add another one try “separator_a” like this:<script> (function($){ $(document).ready(function(){ $( ".separator_a" ) .closest( ".container_wrap" ) .css( "border-top-width", "0px" ); $( ".separator_a" ) .closest( ".container" ) .css( "max-height", "0px" ); $( ".separator_a" ) .closest( ".template-page.content.av-content-full.alpha.units" ) .css( "padding", "0px" ); }); })(jQuery); </script> <style> .separator_a { width: 3000px; clear: both; overflow: hidden; left: 50%; margin-left: -1500px; position: absolute; z-index: -1; bottom: 0 } .separator_a:after,.separator_a:before { content: ''; width: 0; height: 0; display: block; border-style: solid } .separator_a:before { float: left; border-width: 60px 0 0 1500px; border-color: transparent transparent transparent #f0f0f0 } .separator_a:after { float: right; border-width: 0 0 60px 1500px; border-color: transparent transparent #f0f0f0 transparent } </style> <div class="separator_a"></div>you can name it anything as long as it is unique and the css, jQuery, and div all match.
Best regards,
MikeJanuary 7, 2020 at 4:23 am in reply to: Add Fullwidth Sub Menu to Header.php across whole website #1170895Hi,
Thank you for the screenshots, my understanding is that this is your homepage and the duplicate content has been added for desktop and mobile, so for some reason adding the sub-menu as shortcode via your functions.php has triggered both to show at the same time.
I have not seen this happen before and as I investigate I notice that for the elements on your page you are using characters typically not allowed for IDs in the “Developers: Section ID” as custom IDs such as spaces, pipes, exclamation points, etc

I’m not sure what effect this would have, if any, but I would recommend against this, a good ID would be like: “uslugi-amakids-mobilen”
I also note that you are using Enfold v4.4.1 which had quite a few errors with WooCommerce, and Events Calendar, which you are using, please see our changelog. I would recommend updating, but unfortunately due to how Theme Forest replaced the API key with the new Token you will have to update via FTP.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.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
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.
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.Best regards,
MikeJanuary 6, 2020 at 1:34 pm in reply to: Add Fullwidth Sub Menu to Header.php across whole website #1170683Hi,
Thank you for the admin login, so the reason the code crashed your site is because your sub-menu shortcode contains HTML in the menu text field which uses double quotes"so when it’s added to the PHP code above the quotes must be escaped with a backslash.
So I added this code to your functions.php:add_action('ava_after_main_title', 'ava_after_main_title_mod'); function ava_after_main_title_mod() { if(is_page()) { echo do_shortcode("[av_submenu which_menu='custom' menu='16' position='center' color='main_color' sticky='aviaTBsticky' mobile='disabled' av_uid='av-k2hq150d' custom_class='yuppie'] [av_submenu_item title='<span class=\"av-icon-char\" style=\"font-size:32px;line-height:18px;padding-right: 10px;\" aria-hidden=\"true\" data-av_icon=\"\" data-av_iconfont=\"entypo-fontello\"></span><br>Събития' link='manually,https://www.yuppie.cherry-adv.net/events/' linktarget='_blank' button_style='av-menu-button av-menu-button-colored' av_uid='av-owwd3'] [av_submenu_item title='<span class=\"av-icon-char\" style=\"font-size:32px;line-height:18px;padding-right: 10px;\" aria-hidden=\"true\" data-av_icon=\"\" data-av_iconfont=\"entypo-fontello\"></span><br>ДемоУрок' link='page,638' linktarget='_blank' button_style='av-menu-button av-menu-button-colored' av_uid='av-ne7zz'] [av_submenu_item title='<span class=\"av-icon-char\" style=\"font-size:32px;line-height:18px;padding-right: 10px;\" aria-hidden=\"true\" data-av_icon=\"\" data-av_iconfont=\"entypo-fontello\"></span><br>Блог' link='page,747' linktarget='_blank' button_style='av-menu-button av-menu-button-colored' av_uid='av-fnlwn'] [av_submenu_item title='<span class=\"av-icon-char\" style=\"font-size:32px;line-height:18px;padding-right: 10px;\" aria-hidden=\"true\" data-av_icon=\"\" data-av_iconfont=\"entypo-fontello\"></span><br>Like us' link='page,601' linktarget='_blank' button_style='av-menu-button av-menu-button-colored' av_uid='av-6phgf'] [/av_submenu]"); } }I added a custom class “yuppie” to the sub-menu to better apply the css across all of your pages and then added this css to your Quick CSS:
.yuppie.av-sticky-submenu .av-subnav-menu a,.yuppie.av-sticky-submenu,.yuppie.av-sticky-submenu .av-menu-button-colored > a .avia-menu-text { background-color: #ee3f6a; color: #ffffff; border-color: #ee3f6a !important; padding: 0px !important; } .yuppie.av-sticky-submenu .av-subnav-menu > li.menu-item { width: 24.30%; text-align: center; }So now pages such as /the-little-gym/ which don’t have the sub-menu element in the backend now show the sub-menu on the frontend on mobile. But pages that do have the old sub-menu element on the backend such as /detski-centar-yuppie/ now show the old sub-menu on top of the new sub-menu, so please remove these.
Please clear your browser cache and check.Best regards,
MikeHi,
Ok, it seems to be working correctly now, shall we close this then?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,
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,
MikeHey NoelleMBrooks,
Thanks for the link, I see that you are using Enfold v4.2.2 with WordPress v5.3.2
This version of Enfold was created before the new WordPress was released and needs to be updated to work correctly.
Unfortunately, due to the changes with the Theme Forest API you will have to update via FTP.
I recommend using your web hosting tools to create a full backup.The easiest and safest way to update 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.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
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.
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.Best regards,
MikeHey Joe,
Thanks for the link, when I examine your page I found that the top color section had a top margin of 20px which gave the illusion of the header being larger. Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.home #home { margin-top: 0px !important; }Best regards,
MikeHi,
Thank you for the login, so I see that you are using the mobile menu for all screen sizes, I believe in this case adding a custom header widget area would work best, please see this in our documentation.
This function in your functions.php will add the widget area after the logo and before the menu:add_action( 'ava_before_bottom_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }then you can add your button shortcode or html link to the widget and use css to position it next to the search icon, and make it show on the one page only.
Your WordPress > Appearance > Editor was not showing on your site so I couldn’t add the function for you, perhaps you will need to add via ftp, or unhide the editor. Once you have added the widget area and link we can help with the css.Best regards,
MikeHey Urs E.,
These are your feed urls:
https://drkpi.com/en/blog/ > https://drkpi.com/en/feed/
https://drkpi.com/blog/ > https://drkpi.com/feed/Best regards,
MikeJanuary 5, 2020 at 7:39 pm in reply to: Add Fullwidth Sub Menu to Header.php across whole website #1170510Hi,
Thanks for the login, but it doesn’t seem to be an admin login, I can not see your pages, menus, theme editor > functions.php, etc
please check.
Since the function has to be added into your functions.php and your site crashed when you tried I a little leery of trying, can you also include FTP access so if the site crashes I can remove the function and get your site back online?Best regards,
MikeHi,
Oh, I just figured it out, I’m looking in the developers tools of the browser (F12) which is showing the page after the DOM has been executed and your looking at the page source code before the DOM has been executed. Sorry for the big run around.
Anyways this is fine because Googlebot uses the rendered HTML to index the page, meaning that the screenshots that I was posting is what Google is indexing.Best regards,
MikeHi,
While working with you on your other thread I was also working on this one, so to add a custom ID to the blog element in the 1/4 column on your homepage I enabled the developer ID field on your elements at Enfold Theme Options > Layout Builder > Builder Options For Developers > ID attribute input field

then in the blog element on your homepage I added the ID “sidebar_blog” so it could be targeted without effecting other elements elsewhere:

now if you add this code to the end of your functions.php file in Appearance > Editor the heading will be changed:function custom_sidebar_blog_script(){ ?> <script> (function($) { $(document).ready(function(){ function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('#sidebar_blog .post-title.entry-title ', '<h4></h4>'); }); }(jQuery)); </script> <?php } add_action('wp_footer', 'custom_sidebar_blog_script');Please note that the heading is H4 in the script but you can change it to whatever you want, I choose H4 because you had manually changed the php file to H5 and I wanted it to show a difference.
Now going forward any blog element that you add the ID “sidebar_blog” to will be changed.
Best regards,
MikeHi,
Actually your issue seems to be your Total Cache minify setting, when it is on you get thegagTracker is not definederror and your homepage slider doesn’t show.

But when the minify is off you get thejQuery is not definederror because your Enfold Theme Options > Performance > Load jQuery into your footer setting is on:

So first you need to have the “Load jQuery into your footer” off and you need to disable your Total Cache minify.Best regards,
Mike -
AuthorPosts


