Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you, @Guenni007 for the example page with code snippets.Best regards,
MikeHi,
Sorry for the late reply I have checked your site and adding an item to the cart seems to behave correctly, and checking the cart shows the item. Please see the screenshot in Private Content area.Best regards,
MikeMay 12, 2020 at 11:50 am in reply to: Icon list animation not working in tab section when clicking on a link #1212101Hi,
Thank you for explaining, when I check the link you posted I don’t see an icon list element in the tab, is there a different page that we should look at? I was able to reproduce this and submitted an issue to the dev team.
It also looks like you are still getting the error “jQuery is not defined” in the dev tools console.Best regards,
MikeHi,
When testing the elements in the developer tools for mobile, please try refreshing the page first, this corrects the fixed items behind the header. This occurs because the browser doesn’t recognize the change in the window width on manual resize.
In the real world a user’s screen size doesn’t change from desktop to mobile without a fresh page load.
To change the visibility of your header elements when the burger menu is clicked try adding this code to the end of your functions.php file in Appearance > Editor:function custom_visibility_script(){ ?> <script> (function($){ $(document).ready(function(){ var width = $(window).width() if ((width <= 768)) { $( '.menu-item-avia-special' ).click(function(){ $("span.logo").css({'visibility': 'hidden' }); $("div#search-2").css({'visibility': 'hidden' }); $("div#custom_html-3").css({'visibility': 'hidden' }); }); } else { $("span.logo").css({'visibility': 'visible' }); $("div#search-2").css({'visibility': 'visible' }); $("div#custom_html-3").css({'visibility': 'visible' }); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_visibility_script');Best regards,
MikeMay 11, 2020 at 12:25 pm in reply to: Jump links not working on page created with advanced layout editor #1211818Hi,
Thank you for the feedback, I see that in your child theme you have an old version of the header.php & footer.php please try re-naming these via ftp to header.php.old & footer.php.old to temporarily disable them, then clear your browser cache and any cache plugin, and check the links.
If this solves then you can update your header.php & footer.php with the latest versions, just be sure to include any customizations from your old files.Best regards,
MikeHi,
Thank you for the examples, in order to apply your css to only certain portfolio items we will need a way to identify them, so it looks like the portfolio categories are added to each item, I added the categoryno-contentand on your portfolio grid page the classno-content_sortis added. So if you add this category to all of the items that have no content you can then use this css to add thepointer-events:noneto these..grid-sort-container .grid-entry.no-content_sort h3.grid-entry-title { pointer-events:none !important; }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,
MikeMay 11, 2020 at 3:11 am in reply to: Change button background color on hover in post "read more" button #1211721Hi,
I checked and the css should still work for the English side, for the Italian side please add this css:input.submit[value="Pubblica il commento"] { color: #ffffff!important; border-color: #062857!important; border-radius: 100px!important; border-width: 2px!important; font-size: 16px!important; font-weight: bold!important; background-color: #084a79!important; } input.submit[value="Pubblica il commento"]:hover { background: rgb(80,80,80) !important; }Then clear your browser cache and check.
Best regards,
MikeMay 11, 2020 at 2:48 am in reply to: Dropdown menu with different background images on hover #1211719Hey fcp,
Sorry for the late reply, unfortunately, this will not work as css because you can’t influence a parent item with css.
I tried some jQuery but the important tags in your css are preventing it from working, but I couldn’t find the css in your site.
Please try removing the!importantfrom your background image css and I’ll try again.Best regards,
MikeHi,
Sorry for the late reply and thanks for the link.
1: sorry I don’t see the word “clear”, can you take a screenshot of it?
2+3: sorry this is what the box looks like on Android

please try to take a screenshot of this also, which phone are you using?
4: do you mean after you select options and add to cart the page is off center?Best regards,
MikeHey Felipe,
Sorry for the late reply and thank you for the suggestions, and for using Enfold. I have submitted them to the dev team for review.Best regards,
MikeHey fcp,
Try adding this code to the end of your functions.php file in Appearance > Editor:if( ! function_exists( 'avia_ajax_search' ) ) { //now hook into wordpress ajax function to catch any ajax requests add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' ); add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' ); function avia_ajax_search() { unset( $_REQUEST['action'] ); if( empty( $_REQUEST['s'] ) ) { $_REQUEST['s'] = array_shift( array_values( $_REQUEST ) ); } if( empty( $_REQUEST['s'] ) ) { die(); } $defaults = array( 'numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => '' ); /** * WP Filter for the contents of the search query variable * * @param string * @return string */ $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s'] ); $search_parameters = array_merge( $defaults, $_REQUEST ); if ( $search_parameters['results_hide_fields'] !== '' ) { $search_parameters['results_hide_fields'] = explode( ',', $_REQUEST['results_hide_fields'] ); } else { $search_parameters['results_hide_fields'] = array(); } /** * @used_by Avia_Custom_Pages 10 * @used_by config-woocommerce\config.php avia_woocommerce_ajax_search_params() 20 * * @param array * @return array */ $search_query = apply_filters( 'avf_ajax_search_query', http_build_query( $search_parameters ) ); /** * @used_by Avia_Relevanssi 10 * * @param string $function_name * @param array $search_query * @param array $search_parameters * @param array $defaults * @return string */ $query_function = apply_filters( 'avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults ); $posts = ( ( $query_function == 'get_posts') || ! function_exists( $query_function ) ) ? get_posts( $search_query ) : $query_function( $search_query, $search_parameters, $defaults ); $search_messages = array( 'no_criteria_matched' => __( 'Sorry, no match', 'avia_framework' ), 'another_search_term' => __( 'Please try again', 'avia_framework' ), 'time_format' => get_option( 'date_format' ), 'all_results_query' => http_build_query( $_REQUEST ), 'all_results_link' => home_url( '?' . http_build_query( $_REQUEST ) ), 'view_all_results' => __( 'View all results', 'avia_framework' ) ); $search_messages = apply_filters( 'avf_ajax_search_messages', $search_messages, $search_query ); if( empty( $posts ) ) { $output = "<span class='av_ajax_search_entry ajax_not_found'>"; $output .= "<span class='av_ajax_search_image " . av_icon_string('info') . "'>"; $output .= '</span>'; $output .= "<span class='av_ajax_search_content'>"; $output .= "<span class='av_ajax_search_title'>"; $output .= $search_messages['no_criteria_matched']; $output .= '</span>'; $output .= "<span class='ajax_search_excerpt'>"; $output .= $search_messages['another_search_term']; $output .= '</span>'; $output .= '</span>'; $output .= '</span>'; echo $output; die(); } //if we got posts resort them by post type $output = ''; $sorted = array(); $post_type_obj = array(); foreach( $posts as $post ) { $sorted[ $post->post_type][] = $post; if( empty( $post_type_obj[ $post->post_type ] ) ) { $post_type_obj[ $post->post_type ] = get_post_type_object( $post->post_type ); } } //now we got everything we need to preapre the output foreach( $sorted as $key => $post_type ) { // check if post titles are in the hidden fields list if ( ! in_array( 'post_titles', $search_parameters['results_hide_fields'] ) ) { if( isset( $post_type_obj[ $key ]->labels->name ) ) { $label = apply_filters( 'avf_ajax_search_label_names', $post_type_obj[ $key ]->labels->name ); $output .= "<h4>{$label}</h4>"; } else { $output .= '<hr />'; } } foreach( $post_type as $post ) { $image = ''; $extra_class = ''; // check if image is in the hidden fields list if ( ! in_array( 'image', $search_parameters['results_hide_fields'] ) ) { $image = get_the_post_thumbnail( $post->ID, 'thumbnail' ); $extra_class = $image ? 'with_image' : ''; $post_type = $image ? '' : ( get_post_format( $post->ID ) != '' ? get_post_format( $post->ID ) : 'standard' ); $iconfont = $image ? '' : av_icon_string( $post_type ); } $excerpt = ''; // check if post meta fields are in the hidden fields list if ( ! in_array( 'meta', $search_parameters['results_hide_fields'] ) ) { if( ! empty($post->post_excerpt ) ) { $excerpt = apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate( $post->post_excerpt, 70, ' ', '...', true, '', true ) ); } else { $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post ); } } $link = apply_filters( 'av_custom_url', get_permalink( $post->ID ), $post ); $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='{$link}'>"; if ( $image !== '' || $iconfont ) { $output .= "<span class='av_ajax_search_image' {$iconfont}>"; $output .= $image; $output .= '</span>'; } $output .= "<span class='av_ajax_search_content'>"; $output .= "<span class='av_ajax_search_title'>"; $output .= get_the_title($post->ID); $output .= '</span>'; if( $excerpt !== '' ) { $output .= "<span class='ajax_search_excerpt'>"; $output .= $excerpt; $output .= '</span>'; } $output .= '</span>'; $output .= '</a>'; } } $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='{$search_messages['all_results_link']}'>{$search_messages['view_all_results']}</a>"; echo $output; die(); } }please look for the line
'no_criteria_matched' => __( 'Sorry, no match', 'avia_framework' ),&'another_search_term' => __( 'Please try again', 'avia_framework' ),and adjust to suit.

I tested this in my child theme and as you can see from the screenshot it works.Best regards,
MikeHey fcp,
Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_searchform_script(){ ?> <script> (function($){ $(window).load(function() { $("#menu-item-search a").click(function(){ setTimeout(function(){ $('#menu-item-search #searchform #s').trigger("focus"); }, 200); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_searchform_script');Best regards,
MikeHi,
Sorry for the late reply and thanks for the links. We should be able to adjust your css to only effect title links with no content, but each of the ones I checked had page content, please link to one that doesn’t have content and you would want to have no title link.Best regards,
MikeMay 10, 2020 at 7:40 pm in reply to: Jump links not working on page created with advanced layout editor #1211694Hi,
Sorry for the late reply and thanks for the link. I see your site is getting an error$ is not a functionfrom/wp-content/plugins/reduce-bounce-rate/js/analyticsjs.jswhich is from the pluginreduce-bounce-rate

This could be due to caching plugins or minifying, please try disabling your caching plugins and clear your server cache to see if this is corrected.Best regards,
MikeHi,
Sorry for the late reply, typically these are warnings and some refer to hidden labels for screenreaders, so warnings like these are understandable, but if it is other elements they could be adjusted with css. I tried checking your site but only saw a big green “Page is mobile friendly”

Please link to the report you saw so we see if they are the false positives we have seen before.Best regards,
MikeMay 10, 2020 at 6:45 pm in reply to: Social Media Icons / Topbar im Mobile-Modus / Übrige Striche #1211686Hey agentur2c,
Entschuldigung für die späte Antwort und danke für den Link. Auf der Seite, auf die Sie verlinkt haben, werden die doppelten Zeilen mit dem Datum nicht angezeigt, aber ich habe sie auf Ihrer Startseite unter “AKTUELLES AUS UNSEREM BLOG” gefunden, um dies auszublenden. Bitte versuchen Sie diesen Code im General Styling> Quick CSS Feld oder im Feld WordPress> Anpassen> Zusätzliches CSS :.html_elegant-blog .avia-content-slider .slide-meta { display: none !important; }Um Ihr Logo zu zentrieren und Ihre sozialen Symbole in der oberen Leiste auf dem Handy anzuzeigen, versuchen Sie bitte dieses CSS:
@media only screen and (max-width: 767px) { .responsive .logo a { display: inline-block!important; vertical-align: middle!important; } .responsive .logo { position: relative!important; display: block!important; width: 100%!important; text-align: center!important; } #header_meta > div > ul.social_bookmarks { display: block!important; } }Leeren Sie dann Ihren Browser-Cache und überprüfen Sie.
Bitte beachten Sie den Screenshot im Bereich Privater Inhalt der erwarteten Ergebnisse.— Translated with Google —
Sorry for the late reply and thanks for the link. On the page you linked to I’m not seeing the double lines with the date, but I did find it on your frontpage under “AKTUELLES AUS UNSEREM BLOG” to hide this Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
.html_elegant-blog .avia-content-slider .slide-meta { display: none !important; }To center your logo and show your social icons in the top bar on mobile please try this css:
@media only screen and (max-width: 767px) { .responsive .logo a { display: inline-block!important; vertical-align: middle!important; } .responsive .logo { position: relative!important; display: block!important; width: 100%!important; text-align: center!important; } #header_meta > div > ul.social_bookmarks { display: block!important; } }Then clear your browser cache and check.
Please see the screenshot in Private Content area of the expected results.Best regards,
MikeHi,
Sorry for the late reply, I tried researching these AMP plugins but didn’t find any positive reviews for them with Enfold, but you could still try them and perhaps one will work for your needs.Best regards,
MikeHi,
Glad to hear you have it sorted out now, 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,
MikeMay 10, 2020 at 4:30 pm in reply to: Change button background color on hover in post "read more" button #1211657Hi,
To add your rounded style to the “post comment” button, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:input.submit[value="Post Comment"] { color: #ffffff!important; border-color: #062857!important; border-radius: 100px!important; border-width: 2px!important; font-size: 16px!important; font-weight: bold!important; background-color: #084a79!important; } input.submit[value="Post Comment"]:hover { background: rgb(80,80,80) !important; }After applying the css, Please clear your browser cache and check.

Best regards,
MikeHi,
Thanks for the feedback, perhaps when you copied and pasted the code above you had an error, please include an admin login & FTP access in the Private Content area so we can take a look.
I tested the code in my child theme before I posted it, so it should work.Best regards,
MikeMay 10, 2020 at 1:56 pm in reply to: Content Form – All emails sent through form going to Junk – how to fix this? #1211644Hey nikosiatropoulos,
Sorry for the late reply, some webhosts use a server spam filter which might require something to pass, for example, some require a “reply-to” header in the message. Please ask your webhost if this is the case for you. Often sites that use a plugin such as WP Mail SMTP pass their spam test because WordPress sends the mail as logged in to your SMTP account. This typically this works well for sites using their own domain for mail, as you are.Best regards,
MikeHey jomo5280,
Sorry for the late reply and thanks for explaining your settings, I tried to recreate this on my localhost and wrote this script to move the author image to the bottom with the other meta data.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_meta_script(){ ?> <script> (function($){ $(window).load(function(){ $( '#top.single-post .post-entry' ).each(function() { $( this ).find( 'div.blog-meta' ).insertBefore( $(this).find('span.post-meta-infos')); $( this ).find('.entry-footer').css({ 'display': 'inline-block'}); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_meta_script');Best regards,
MikeHi,
Glad to hear, thanks 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 a new thread and we will gladly try to help you :)Best regards,
MikeHi,
Glad to hear, thanks 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 a new thread and we will gladly try to help you :)Best regards,
MikeHi,
Thank you, I have added the two maps, please check your contact page.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,
MikeMay 10, 2020 at 11:40 am in reply to: Move Date and Author directly under Blog Title & Tag Wrapping Issue #1211616Hi,
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,
Mike -
AuthorPosts

