Forum Replies Created
-
AuthorPosts
-
March 12, 2022 at 12:31 pm in reply to: MAILCHIMP widget freezes when entering a test subscriber #1344198
Hi,
Glad to hear that you have this sorted out. For your last question, you will need to create two forms in Mailchimp, then both forms will show in Enfold, and then just choose each form according to the page. In Mailchimp you will have two lists, one for your newsletter, and the other for download freebies.Best regards,
MikeMarch 12, 2022 at 12:23 pm in reply to: open (or link) the mobile menu from button within Layerslider #1344195March 11, 2022 at 2:50 pm in reply to: open (or link) the mobile menu from button within Layerslider #1344144Hi,
Thank you for the link to your site, typically you would add a custom class such as custom-menu-toggle to the element you want to trigger the mobile menu and then add this script to the end of your functions.php file in Appearance ▸ Editor:function custom_script() { ?> <script> (function($){ $(".custom-menu-toggle").on('click', function() { $('.av-hamburger').trigger('click'); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
but I don’t see the header in the source code on your homepage, you will need to enable this to show the burger menu.
The burger menu is created on click from the main menu, so the main menu and header must be on the page for the burger menu to be created.Best regards,
MikeMarch 11, 2022 at 2:01 pm in reply to: Enfold Contact Form input text color not working on Firefox and Edge #1344140Hi,
I have not used this plugin before but looking at the plugin page it says:YouTube gallery auto continuous play – embed a playlist or channel gallery and allow it to play one video after the next without requiring viewers to click a thumbnail.
so I assume that if you don’t want the next video to play there is a setting auto continuous play that you can disable, check for this.
If you don’t see this please include an admin login in the Private Content area so we can check.
As I understand the only issue now is that the next video plays automatically and you don’t want this?Best regards,
MikeHi,
I reason the sublines were not showing was because you forgot to add the custom class subline-gallery to the element, I added it for you and this css:@media only screen and (max-width: 1024px) { .responsive .av-horizontal-gallery.subline-gallery .av-horizontal-gallery-wrap { min-width:300px; min-height: 300px; } .av-horizontal-gallery.subline-gallery { min-height: 300px; } }
Please clear your browser cache and check.
Best regards,
MikeHi,
Your class is targeting the inner column, but you really want to target the outer column, try this css:#top.page-id-13305 #av-tab-section-1-2 .sc-av_one_third { margin-left: 3%; width: 29.333333333333332% !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Based on the Advanced Layout Builder post you linked to, inside #main you have 4 color sections, but the second one seems to be the “content” so if this was true for all of them you could use:querySelector('#top.single-post #main #av_section_2')
As for the shortcode, if you already have
[rt_reading_time]
added to many posts you can change the last line in the script:
document.getElementById("r-time").innerHTML = "✮ "+ maincount + " minute read";
to this:var readingTime = document.querySelector("#top.single-post #main"); readingTime.innerHTML = readingTime.innerHTML.replace("[rt_reading_time]", "✮ "+ maincount + " minute read");
in my test this works.
Best regards,
MikeHi,
Try changing the css to this:#header_meta .phone-info,#header_meta .phone-info > div { width: 100%; line-height: 4em; } } #header_meta .phone-info .top-right { float: right; }
If this doesn’t help then please link to your page so we can examine
Best regards,
MikeHi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeMarch 10, 2022 at 1:23 pm in reply to: Using Gallery the title of the page appearing on top #1343993Hey Roger,
This was an error that was corrected in version 4.9, please try updating.
If this doesn’t help then please include admin login and a link to your site in the Private Content area so we can be of more assistance.Best regards,
MikeHey marxsvjetlana64,
Try adding this code to the end of your functions.php file in Appearance ▸ Editor:function custom_script() { ?> <script> (function($) { $( '.slide-entry' ).each(function() { $( this ).find( 'time.slide-meta-time' ).insertBefore( $(this).find('.slide-entry-title') ); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
If this doesn’t help please link to the page so we can examine the elements.
Best regards,
MikeHey Kyle,
Thanks for the link to your function and page, I see that this works correctly on a Classic Editor post, but for an Advanced Layout Builder post the reading time is incorrect. That is because this function is running in PHP on the server side before the Advanced Layout Builder shortcode is executed, so for it to work you would need to have this run after the post content shortcode has been executed, but I found no way to do that.
I recommend using javascript to do this since it runs after the shortcode is executed. I found this Estimated Reading Time script and modified it a little and it seems to work correctly on Classic Editor & Advanced Layout Builder posts.
Try adding this code to the end of your functions.php file in Appearance ▸ Editor://use <div id='r-time'/></div> to display reading time function estimated_reading_time() { ?> <script> //function use to convert character into words function get_text(el) { ret = ""; var length = el.childNodes.length; for(var i = 0; i < length; i++) { var node = el.childNodes[i]; if(node.nodeType != 8) { ret += node.nodeType != 1 ? node.nodeValue : get_text(node); } } return ret; } //main body in which all words exist var words = get_text(document.querySelector('#top.single-post #main>.container_wrap>.container')); var count = words.split(' ').length; //avg reading speed of person 200 word per minute var avg = 200; var counted = count / avg; var maincount = Math.round(counted) //show output of code document.getElementById("r-time").innerHTML = "✮ "+ maincount + " minute read"; </script> <?php } add_action('wp_footer', 'estimated_reading_time');
and add this div to your post as the “shortcode” to display:
<div id='r-time'/></div>
Best regards,
MikeMarch 10, 2022 at 3:31 am in reply to: Nach oben Button integrieren und leere Felder in Mobiler Version entfernen? #1343936Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thanks for your patience, perhaps it would be easier to go back to the step were we used a shortcode to add the button to the topbar, so to add a phone number to the left side and the button to the right we assume you are using the setting Enfold Theme Options ▸ Header ▸ Extra Elements ▸ Header Phone Number/Extra Info ▸ Display in top bar at the left and your phone number is in the Phone Number or small info text field.
Now we will add your button wrapped in a span with the class top-right link this:<span class="top-right">[av_button label='Button' icon_select='no' icon='ue800' font='entypo-fontello' link='manually,https://kriesi.at/support/' link_target='_blank' size='medium' position='right' label_display='' title_attr='' color_options='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' btn_color_bg='theme-color' btn_custom_grad_direction='vertical' btn_custom_grad_1='#000000' btn_custom_grad_2='#ffffff' btn_custom_grad_3='' btn_custom_grad_opacity='0.7' btn_custom_bg='#444444' btn_color_bg_hover='theme-color-highlight' btn_custom_bg_hover='#444444' btn_color_font='theme-color' btn_custom_font='#ffffff' btn_color_font_hover='white' btn_custom_font_hover='#ffffff' border='' border_width='' border_width_sync='true' border_color='' border_radius='' border_radius_sync='true' box_shadow='' box_shadow_style='0px,0px,0px,0px' box_shadow_color='' hover_opacity='' sonar_effect_effect='' sonar_effect_color='' sonar_effect_duration='1' sonar_effect_scale='' sonar_effect_opac='0.5' id='' custom_class='' template_class='' av_uid='' sc_version='1.0' admin_preview_bg='']</span>
#header_meta .phone-info,#header_meta .phone-info > div { width: 100%; } #header_meta .phone-info .top-right { float: right; }
and the result should be like this
Best regards,
MikeHi,
Thanks for your feedback about the stepping through the horizontal gallery, the reason it “seems” that it takes 3 clicks is because the user is not getting any feedback that their clicks are doing anything, if the “enlarge the active image” option was used the user would see the progression of the clicks.
I can understand that you don’t want to use this option, so perhaps you could add a border around the active item with css like this:.av-horizontal-gallery .av-horizontal-gallery-wrap.av-active-gal-item{ border:4px solid #FF4800; }
Best regards,
MikeMarch 10, 2022 at 2:14 am in reply to: different content when turn the advance layout builder #1343928Hi,
Very good, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
For example, I took the shortcode of the contains of tab 3 and placed it in a code block element with the custom classinner-tab-section-width
and added this css to your child theme stylesheet.#top.page-id-13305 #full_width_tab_section .inner-tab-section-width { max-width: 1200px; margin: auto; }
Please clear your browser cache and check.
You can use the same custom classinner-tab-section-width
for all of your tabs contents that you want to be “boxed”Best regards,
MikeMarch 10, 2022 at 1:30 am in reply to: Different menu for different pages – wpml language selection not displaying #1343925Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey slsmart,
Thanks for the link to your page, please don’t use this old solution, the issue for that was already solved.
I tested the blog element pagination with a clean install of v4.9 and the first pagination works correctly, please see the link in the Private Content area.
Please try disabling any customizations and plugin and check again.
If this issue continues then please include admin login in the Private Content area so we can investigate.Best regards,
MikeMarch 9, 2022 at 1:49 pm in reply to: different content when turn the advance layout builder #1343844Hi,
Oh ok, glad to hear that you have this sorted out, shall we close this then?Best regards,
MikeHi,
I checked your site with another tool and it said that the set_time_limit() function is currently disabled on your server this function to ensure that the migration doesn’t time out, this is different than the current PHP run time limit.
Please ask your webhost to enable the set_time_limit() function
Best regards,
MikeHi,
Thanks, I’m not sure what happened but I saved the page again and now it is full width again. Please clear your browser cache and check.Best regards,
MikeMarch 9, 2022 at 3:07 am in reply to: Different menu for different pages – wpml language selection not displaying #1343748Hi,
Ok I added this to your child theme functions.phpfunction move_mobile_language_switch() { ?> <script> (function($) { var width = $(window).width(); if ((width <= 590)) { $(".av-language-switch-item").each(function() { $(this).appendTo("#header_meta>.container>.sub_menu"); }); } else {} })(jQuery); </script> <?php } add_action('wp_footer', 'move_mobile_language_switch');
and this to your child theme stylesheet
#header_meta>.container>.sub_menu>li.av-language-switch-item { margin-top: 10px; list-style:none; } #header_meta>.container>.sub_menu { display: flex; justify-content: center; }
please clear your browser cache and check.
Best regards,
MikeMarch 9, 2022 at 1:32 am in reply to: different content when turn the advance layout builder #1343741Hi,
Do you mean that you have this error on many posts? That is that many posts have been edited with both the Classic Editor and the Advanced Layout Builder and now they show different content in the different editors?Best regards,
MikeMarch 8, 2022 at 2:30 pm in reply to: Different menu for different pages – wpml language selection not displaying #1343635Hi,
Perhaps I can write a script to move the language flags above the logo for mobile only, up to 590px would that work for you?Best regards,
MikeHi,
Try testing again without any ad-blockers or cookie blockers, and make sure your browser is not in a privacy mode, if your using Safari, it is blocking these by default.
Then ensure you have a good internet connection, sometimes a weak wi-fi will drop mid page load.
The object would be to load the page without the errors, because I’m not seeing these errors except when my ad-blocker is enabled.We know these are from youtube because we both have the same cache file highlighted, AaG4H0f6ng0, in my screenshot I have it expanded to show the source, and you see youtube
As long as your videos are showing and play when you click them, which they do for me, I would not worry about it because you can not ensure that all of your visitors have their ad-blockers or cookie blockers disabled, most people want to block tracking.
Best regards,
MikeHi,
If the images that you want full-width must be inside the tab section, then you would need to make the whole tab section full width, please clear your browser cache and check the test page below.
Now if you want the text areas “boxed” like before we can set a max-width for them, but for the 8 columns they can not be nested inside another column so we would need to convert them into shortcode and place them inside a code block, but since you are not done editing them yet it probably would not be easy for you in the future.
So the option is to use the whole tab section full width like on the test page below (clear your cache) or finish your image columns so they can be converted into shortcode for a code block section.Best regards,
Mike -
AuthorPosts