Forum Replies Created
-
AuthorPosts
-
Hi,
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,
MikeHi,
Your javascript error has returned, please check.
When I last check the error was resolved and the h3 tag had been changed to a span, as in my screenshot.Best regards,
MikeHi,
Thanks for correcting the javascript error, now the script is working correctly, I didn’t need to login or make changes, please clear your browser cache and search your source code forCookie- und Datenschutzeinstellungenthere you will see the H3 is now a span:

that was the one we are working on correct?Best regards,
MikeHi,
Glad we could help, I used the shortcode from the test page to repair your homepage and then deleted the test page and disabled the debugger. Then reviewing your original css question I checked your Quick CSS and found a missing bracket and corrected, along with replacing your “font-color” with the correct “color” in the css.Please check the home page and the css solutions that were addressed earlier and let us know if there is anything else we can assist with.
Best regards,
MikeHi,
To add a screenshot please try using https://postimages.org/ and pasting the image URL in your post.
Sorry, our contact form doesn’t have an upload option, please try using the contact form 7 plugin.Best regards,
MikeHi,
Today I’m able to see all three language pages, you must have made a change to the settings?Best regards,
MikeHi,
Today you are getting a couple of javascript errors for your gtag script in your cache/minify plugin,
so there is either an error in the gtag script or multiple minifying broke it, or a quote was changed into a curly quote from the code I posted above when you pasted it into your functions.php
Please include an admin login in the Private Content area so we can examine.Best regards,
MikeHi,
To add your page ID to the css you would add it to the beginning of the rule like this:
.page-id-206 label[for="avia_1_1"]:before {
but if you are not using the labels and want the icon before the fields we will use this css instead:p#element_avia_1_1:before { content: "\e864"; font-family: entypo-fontello; color: #3ec607; font-size: 18px; padding-right: 6px; } #top .avia_ajax_form .text_input { width: 90% !important; }
but you will still need to find the ID of each field to target.
If you need further help with this please link to the form on your site so we can be of more assistance.Best regards,
MikeHi,
Thank you for the feedback, Please include an admin login in the Private Content area and I will ask the team for someone with more WPML experience to take a look.
I assume it may help to also include the url of the strings that are not translating so they can check and test quickly, such as your example above, is it in the shopping cart or on the check out page?
Thank you for your patience.Best regards,
MikeHi,
Thanks for the login, I used the Avia Layout Builder Debugger to examine your homepage shortcode and I believe that someone may have opened or edited the homepage with the “WordPress Block Editor” instead of the Advanced Layout Builder which it was built with, and then the block editor added some paragraph and line brakes in the shortcode which broke the layout.
So I copied your homepage to a test page, please see the link in the Private Content area.
I then tried to manually correct the shortcode, please check the test page to see if it is correct, if it is I will move it to your homepage for you.I also had to temporarily disable your caching plugin to resolve a different error, after we fix your homepage I will enable your caching again and expect everything to work correctly.
Best regards,
Mike -
AuthorPosts


