Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
We adjusted the css code a bit and disabled the Performance > File Compression settings temporarily. The changes are now being reflected on the front end, and all you need to do now is adjust the color values as you prefer.
For example, this code changes the heading of the first column inside the #pricing_table-lwp section.
#top #pricing_table-lwp .avia-table .pricing-table-wrap:first-child li.avia-heading-row { background-color: #0000ff; }And this one changes the heading of the second column inside the same section.
#top #pricing_table-lwp .avia-table .pricing-table-wrap:nth-child(2) li.avia-heading-row { background-color: green; }And for the third column.
#top #pricing_table-lwp .avia-table .pricing-table-wrap:nth-child(3) li.avia-heading-row { background-color: red; }It is done using the nth-child selectors, so you can just follow the same pattern for the succeeding columns.
Best regards,
Ismael+February 17, 2021 at 1:39 pm in reply to: Privacy Toggle – Toggle for Google Fonts not working #1281725Hey Paul,
Thank you for the inquiry.
It is working properly on our end, the Open Sans font does not load when we disable the privacy toggle for Google Fonts. Make sure to accept the cookies first before toggling the privacy button because the essential cookies have to exist first before you could manually disable or enable external scripts or services such as the Google Fonts.
Best regards,
IsmaelHey Bjorn,
Thank you for the inquiry.
You may not have to create the same subcategories for different cars, but yes, you could create as many categories as you would like, but make sure to plan it accordingly so that you do not end up with unnecessary hierarchy and unused or redundant terms.
Best regards,
IsmaelHi,
Try to modify the same file and look for this setTimeout function around line 307.
setTimeout(function(){ marker.setAnimation(null); _self._infoWindow(_self.map, marker, _self.$data.marker[key]); },500);Decrease the timeout duration from 500ms to 10ms to decrease the delay between marker animation.
setTimeout(function(){ marker.setAnimation(null); _self._infoWindow(_self.map, marker, _self.$data.marker[key]); },10);Below that, there is another timeout duration.
},200 * (parseInt(key,10) + 1));;Again, replace it with a smaller value to decrease the delay between the animations.
Best regards,
IsmaelHey iicinfo,
Thank you for the inquiry.
The size or height of the scrolled down header is half of the actual header height, and that height could be increased in the Enfold > Header > Header Layout > Header Size settings. Set it to custom pixel size, and in the Header Custom Height field, you can manually define the header height in pixel.
Best regards,
IsmaelHi,
Thank you for the inquiry.
According to the Pagespeed Insight Tool, the slider itself contributes to enormous network payloads and largest contentful paint, with a total size of 4,527 KiB or a whopping 4.635648 megabyte. You might want to consider decreasing the number of images or items in the slider, and make sure to properly compress and optimize the images.
The following articles should help in further optimization of the site.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://kriesi.at/archives/4-key-wordpress-image-optimization-tipsBest regards,
IsmaelHi,
Looks like the speed tool is referring to the font files, which is loaded using the font-face rule. Unfortunately, we cannot use preload with this, but we could set the font-display property as recommended in the following thread.
// https://kriesi.at/support/topic/entypo-fontello-and-custom-fonts-add-font-display/#post-1225248
This is the snippet.
function my_custom_font_display( $font_display, $font_name ) { // Check for a font and change the default theme setting if( 'entypo-fontello' == $font_name ) { return 'block'; } return $font_display; } add_filter( 'avf_font_display', 'my_custom_font_display', 10, 2 );This initially hides the icon on page load and only display them once the entypo-fontello font files are available.
Best regards,
IsmaelFebruary 16, 2021 at 2:11 pm in reply to: Popup Maker shortcode not working in Enfold Button #1281336Hi,
Thank you for the update.
Did you copy the code from your email? Please try to copy it directly from the forum to make sure that the quotes and any of the symbols in the script are not converted.
Best regards,
IsmaelHi,
Thank you for the update.
Glad to know that it is working. We are not yet sure which changes will be included in the next patch, but that filter should still be working on future updates, so you can just keep it as is.
Best regards,
IsmaelHi,
Thank you for the info.
We adjusted the script in the functions.php file a bit so that it actually looks for the sort container and the appropriate category button. It seems to be working properly now. (see private field)
This is the updated script.
// activate a specific category sort item function ava_activate_sort_button() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', '(function($) { $(document).ready(function() { $(".portfolio-arch").prev().find(".praesentationsmodelle-modellbau-architektur_sort_button").trigger("click"); $(".portfolio-aus").prev().find(".auswahl-anschauungsmodelle_sort_button").trigger("click"); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_activate_sort_button', 9999);Best regards,
IsmaelHi,
No problem! Glad we could be of help. Please do not hesitate to open a new thread should you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Glad it is working. Please do not hesitate to open a new thread if you need anything else. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
description tab display immediately on pageload
That is not possible because of how Woocommerce created the tabs, at least not without editing the tab script directly. The script sets the display property of the description tab on page load, and the only way to make it display immediately without waiting for the script is by overriding the display property using css. However, this will cause the description tab to display indefinitely, which is not what we want because there are other tabs.
The quantity button script can be modified in the enfold > config-woocommerce > woocommerce-mod.js file. Look for the avia_apply_quant_btn function around line 32, but I think this is not necessary because the layout shift cause by these buttons, if there is any, is very minimal.
Best regards,
IsmaelFebruary 16, 2021 at 1:39 pm in reply to: copyright option for Easy Slider (Einfacher Slider) #1281318Hi,
Thank you for the inquiry.
Which specific slider would you like to add the copyright container to? This line of code prints the copyright container in the color section.
if ($copyright !== "") { $copyright_text = get_post_meta($attachment_entry->ID, '_avia_attachment_copyright', true ); } if ($copyright_text) { $copyright_tag = "<small class='avia-copyright'>{$copyright_text}</small>"; $class .= ' av-has-copyright'; if ($copyright !== '') $class .= ' av-copyright-'.$copyright; }But you have to create an option for it first.
array( "name" => __("Copyright Info", 'avia_framework' ), "desc" => __("Use the media manager to add/edit the copyright info.", 'avia_framework' ), "id" => "copyright", "type" => "select", "std" => "", "required" => array('src','not',''), "subtype" => array( __('No', 'avia_framework' ) =>'', __('Yes, always display copyright info', 'avia_framework' ) =>'always', __('Yes, display icon and reaveal copyright info on hover', 'avia_framework' ) =>'icon-reveal', ) ),And add it to the attributes.
'bottom_border_style'=>'', 'custom_arrow_bg' => '', 'copyright' => '' // <--- this is the copyright ), $atts, $this->config['shortcode']); extract($atts);Best regards,
IsmaelFebruary 16, 2021 at 1:24 pm in reply to: Blog post image sizes suddenly all different sizes? #1281313Hi,
Thank you for the info.
Does it fix the issue on your end? We still cannot access the file server and now even the actual site is not accessible on our end because of WordFence. Would you mind opening a new ticket so that we could refresh or restart? Please post the FTP and WP login details and make sure that Philippines is not blocked.
Best regards,
IsmaelHi!
Thank you for the update.
We might have found the issue with the Youtube player. To fix it, please try this filter in the functions.php file to adjust the Youtube player and disable the playlist parameter, which might be preventing the video from looping.
add_filter("avf_youtube_video_data", function($data) { unset($data["playlist"]); return $data; }, 10, 1);We will provide the actual fix in the next patch.
Cheers!
IsmaelFebruary 15, 2021 at 4:36 pm in reply to: YouTube video as color section background won't loop #1280578Hi!
@everyone: Please try to add this filter in the functions.php file temporarily to remove the playlist parameter.
add_filter("avf_youtube_video_data", function($data) { unset($data["playlist"]); return $data; }, 10, 1);Do not forget to purge the cache after adding the filter. Let us know if it helps.
Cheers!
IsmaelHi!
Thank you for the update.
We added the following filter in the functions.php file to disable the playlist parameter and allow the video to loop.
add_filter("avf_youtube_video_data", function($data) { unset($data["playlist"]); return $data; }, 10, 1);Best regards,
IsmaelFebruary 15, 2021 at 3:24 pm in reply to: i want to use a "no-cookie"-vimeo-video (iFrame-Code) in a Slider. It dont work! #1280565Hey streetbunny80,
Thank you for the inquiry.
Embedding video as an iframe will still require cookies or still add cookies to the local storage. You will have to find a plugin that actually prevents the video from playing without user consent, or use the available options in the Enfold > Privacy & Cookies > Cookie Handling panel. You should be able to add the [av_privacy_video_embeds] privacy toggle to the modal popup window or to the site’s privacy page and allow the users the option to disable or enable video embeds from Youtube or Vimeo.
Best regards,
IsmaelFebruary 15, 2021 at 3:16 pm in reply to: Issue with Enfold and toolset plugin restricted content #1280560Hey felix_frank,
Thank you for the inquiry.
Where can we see the issue, or how can we reproduce it? Please provide a link to the actual page or explain the issue further. Unfortunately, the Toolset plugin and its extensions are not fully compatible with the theme. You may need to contact the plugin developers for additional assistance.
Best regards,
IsmaelHi,
Thank you for the info.
Looks like the 3. Marketing: Compliance and Data Protection page already exists in the EN version of the site and it has its own content. To fix it, or to show the updated content, we saved the content of the original page (DE) as template and applied it to the translated page or the EN version. You should now be able to translate the content directly from the builder, or use the translation management editor. (see private field)
Best regards,
IsmaelHi,
No problem. Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelFebruary 15, 2021 at 2:52 pm in reply to: Events (w/ TheEventsCalendar) listed in blog, but category not showing #1280553Hi,
We cannot reproduce the same issue on our end as shown in the previous screenshot that we provided. We took a screenshot again of the same tab and this is the result.
Screenshot: https://imgur.com/ELy01lJ
Do you have any extensions installed in your browser that might be causing this?
Best regards,
IsmaelHi,
Thank you for the update.
Yes, users should not be able to add more items beyond the available stocks.
The login account exists but the password according to WP is incorrect. Please check the info carefully. The site is on maintenance mode, so were not able to check the site properly.
Best regards,
IsmaelHi,
Thank you for following up.
Would you mind providing access to the WP dashboard and/or the file server? We will try to implement the changes above and add the script in the functions.php file. Please post the login info in the private field.
Best regards,
IsmaelHi,
@odbjur: You may need to install the Simple Image Sizes plugin in order to adjust the dimension of the shop_catalog thumbnail in the Settings > Media panel. After the size adjustment, do not forget to upload the images again or regenerate the thumbnails.Please create a new thread if you need further assistance with it. We will close this one for now.
Best regards,
IsmaelFebruary 15, 2021 at 2:37 pm in reply to: enfold masonry sort by date in the events calendar #1280546Hi,
Thank you for the info.
We modified the code a bit and use the tribe_get_events function instead of forming a new query. Only the upcoming events are not displaying in the front end. (see private field)
/* The evens calendar order */ function avia_masonry_entries_query_mod( $query, $params ) { $include = array(); $events = tribe_get_events( [ 'posts_per_page' => $query["posts_per_page"], 'start_date' => 'now', ] ); foreach($events as $event) { $include[] = $event->ID; } if(is_page(array(197, 3636, 4555))) { unset($query['tax_query']); $query['post__in'] = $include; } return $query; } add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);Best regards,
IsmaelHi,
Glad to know that the modification above is working. We are not really sure about the issue yet, but it might be specific to the browser. Please keep the modifications for now to disable the pointer events for the hotspots.
Best regards,
IsmaelHi,
Sorry for the delay. We found the issue in the events_countdown.php file and edited it accordingly. The countdown is now working.
Best regards,
IsmaelHi,
Thank you for that info.
The Gallery works fine if I delete this line in /config-templatebuilder/avia-shortcodes/gallery/gallery.php:
It is possible that WordPress is replacing the selected thumbnail with the appropriate image size for the current screen width or resolution based on its own criteria. You may need to disable the Enfold > Performance > Responsive Images option to prevent this from happening.
Best regards,
Ismael -
AuthorPosts
