Forum Replies Created
-
AuthorPosts
-
Hi,
No problem. Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHey onedesignprint,
Thank you for the inquiry.
The flash occurs after the last slide because the first slide fades in again above a blank white background. We could minimize the effect by adjusting the slide background based on the main or distinctive color of the first image in the slide, which is green or #3d715f in this case.
.main_color.avia-fullwidth-slider { background-color: #3d715f; }Try to add the code in the Quick CSS field or the in the child theme’s style.css file. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelSeptember 8, 2021 at 9:01 am in reply to: Improve Tab Section UX – Make it Sticky or Show Tabs Above and Below Content #1320076Hey edukate1,
Thank you for the inquiry
We could set the tab title to stick to the top when scrolled, but the changes might affect the layout of other pages. If you would like to continue, try this css code in the Quick CSS field.
.av-tab-section-tab-title-container.avia-tab-title-padding-default { position: sticky; top: 0; z-index: 1000; } .av-tab-section-outer-container, #wrap_all, html.responsive, html.responsive body { overflow: visible !important; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Try to look for this block of code around line 815 in the postslider.php file.
if( $show_meta ) { $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = ''; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $cats .= get_the_term_list( $the_id, $taxonomy, '', ', ', '' ) . ' '; } } } if( ! empty( $cats ) ) { $meta_out .= '<span class="blog-categories minor-meta">'; $meta_out .= $cats; $meta_out .= '</span>'; } }Replace it with:
if( $show_meta ) { $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = []; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $cats[] = get_the_terms( $the_id, $taxonomy ); } } } if( ! empty( $cats ) ) { $cat_walk = ''; $cat_class = 'stray'; foreach($cats[0] as $cat) { if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; } $cat_walk .= "<a class='". $cat_class . "' href='" . get_term_link($cat->term_id) . "'>" . $cat->name . "</a>"; } $meta_out .= '<span class="blog-categories minor-meta">'; $meta_out .= $cat_walk; $meta_out .= '</span>'; } }This line checks if the term name is in the array using the in_array function and change the class accordingly.
if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; }Best regards,
IsmaelSeptember 8, 2021 at 8:19 am in reply to: Hide Related Products on Individial Page Snippet Check #1320068Hi,
Thank you for the update.
You can use conditional functions within the hook to limit the changes to the specified products.
// https://developer.wordpress.org/reference/functions/is_single/
Example:
if(is_single(1234)) { // remove the related section }This will remove the related section in the product page with the ID 1234.
Best regards,
IsmaelHey Michael,
Thank you for the inquiry.
You can use this css code to remove the space below the meta bar on mobile screens.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ #top.tribe-theme-enfold.single-tribe_events .av-single-event-meta-bar-inner { display: block; } }Best regards,
IsmaelSeptember 8, 2021 at 1:39 am in reply to: Images & Gravity Forms Not Loading, Unformatted HTML, Slow Page Loads #1320031Hi,
Thank you for the update.
We can now view the site but we cannot access the dashboard using the previous WP account above. Did you change it? We also tried to access the file server but it seems to be restricted to a blank directory, which does not contain the staging site. Please make sure that the FTP account above has the correct permission to access the root directory of the staging site.
Screenshot: https://imgur.com/91fARC3
Is there any way that we can access the site without editing our hosts file? We do not usually do it here and we would prefer if we do not have to edit our host file just to view a site.
Best regards,
IsmaelSeptember 8, 2021 at 1:23 am in reply to: Changing the 'Elegant' font size in the Accordion Element #1320030Hey Matt,
Thank you for the inquiry.
There are special fields in the Accordion element’s Advanced > Developer Settings panel where you can apply class names or a unique ID to the element. You can then use these class names or ID to create custom css rules in order to adjust the style of that specific element. Please check the following documentation for more info.
// https://kriesi.at/documentation/enfold/add-custom-css/
This should also help.
// https://css-tricks.com/how-css-selectors-work/
Best regards,
IsmaelHey Technohead,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue? The team section looks perfectly fine on a browser device emulation as shown in the screenshot below. But you may need to adjust the width of the team member description and have it float or positioned to the right of the parent container on very small screens.
Screenshot: https://imgur.com/RIp7Wh7
You can add this css code to re-adjust the width of the description container.
@media only screen and (max-width: 479px) { .team-member-description { float: right; width: 60%; } }Best regards,
IsmaelHey Dave,
Thank you for the inquiry.
Looks like you have already managed to remove the unwanted heading. How did you fix it? Let us know if you need more help.
Best regards,
IsmaelHey Tobias,
Thank you for the inquiry.
You can use this filter in the functions.php file to sort the masonry gallery item in descending order.
add_filter("avia_masonry_entries_query", function($query) { $query["order"] = "DESC"; return $query; }, 10, 1);Please make sure to purge the cache after adding the snippet.
Best regards,
IsmaelSeptember 7, 2021 at 7:52 am in reply to: Enfold contact form / text block – Warning …HTML markup..special characters… #1319936Hi,
Thank you for the update.
You have to use the Special Character Translation plugin as mentioned in the documentation and use placeholders instead of the actual brackets. Unfortunately, you cannot use those characters in the builder because they could break the shortcodes.
Best regards,
IsmaelHey elskeletto1,
Thank you for the inquiry.
The masonry element does not have an infinite scrolling option ever since. It has been always a load more button. Are you sure that you were not using a third party plugin before?
Best regards,
IsmaelSeptember 7, 2021 at 7:43 am in reply to: Secondary menue not showing current page that you are on #1319934Hey Jason,
Thank you for the inquiry.
We are not able to access the site because the SSL certificate is invalid. Please ask your hosting provider to fix the certificate.
To adjust the color of the active item in the secondary menu, try to add this code in the Quick CSS field.
#top .header_color .sub_menu ul li a:hover, .header_color .sub_menu ul:first-child > li.current-menu-item > a, .header_color .sub_menu ul:first-child > li.current_page_item > a, .header_color .sub_menu ul:first-child > li.active-parent-item > a { color: #000000; }Best regards,
IsmaelSeptember 6, 2021 at 6:55 am in reply to: Images & Gravity Forms Not Loading, Unformatted HTML, Slow Page Loads #1319838Hi,
Thank you for the info. We tried to access the test site using the address above but it does not exist. Would you mind asking your hosting provider to generate an FTP account for the server?
Best regards,
IsmaelSeptember 6, 2021 at 6:49 am in reply to: Prevent Google Font loading before OPT-In (GDPR / Data Privacy) #1319837Hi,
I was actually referring to the font (Open Sans) that is loaded when using the map element. This is the default font used by the map.
Setting the Default Cookie Behavior to the third option should also block Google Fonts or the font that was selected in the Enfold > General Styling > Fonts panel.
And which fonts can I then safely (means they do not collect any IP addresses e.g.) use for your Theme?
There are Websafe Fonts (Arial, Helvetica) in the fonts settings. You can also upload font files to your server using the Enfold > Import/Export > Custom Font Manager. Please check the documentation for more info.
// https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
Best regards,
IsmaelHi,
No worries. Please let us know if you need anything else. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Why are you using the wp_cache_add function? Looks like you are using the actual definition of the get_the_terms function. Usage examples of the get_the_terms function are located at the bottom of the documentation.
Example:
$terms = get_the_terms( get_the_ID(), 'on-draught' ); if ( $terms && ! is_wp_error( $terms ) ) : $draught_links = array(); foreach ( $terms as $term ) { $draught_links[] = $term->name; } $on_draught = join( ", ", $draught_links ); ?> <p class="beers draught"> <?php printf( esc_html__( 'On draught: <span>%s</span>', 'textdomain' ), esc_html( $on_draught ) ); ?> <?php endif; ?>Best regards,
IsmaelHi,
No problem. Glad we could be of help. We will close the thread now.
Have a nice day.
Best regards,
IsmaelHey gunther_bensch,
Thank you for the inquiry.
The theme automatically strips html tags from the copyright text, which is why you cannot add the link manually. But if you want to allow html tags, we can edit the enfold/config-templatebuilder/avia-shortcodes/image/image.php file and remove the esc_html function in this code around line 849.
$copyright_tag = '<small class="avia-copyright">' . esc_html( $copyright_text ) . '</small>';Remove the esc_html function or replace the code with this one.
$copyright_tag = '<small class="avia-copyright">' . $copyright_text . '</small>';Best regards,
IsmaelSeptember 6, 2021 at 5:36 am in reply to: Hide Related Products on Individial Page Snippet Check #1319829Hey badoes,
Thank you for the inquiry,
The code above does not work because it is supposed to remove the default related products section or disable the function that does, but the theme has its own function for it. To disable that particular function, you can add this snippet in the functions.php.
add_action("after_setup_theme", function() { remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20); }, 10);Best regards,
IsmaelHey Jo,
Thank you for the inquiry.
Are saying that the line breaks are duplicated? Are you using br tags? Try to use the RETURN or ENTER key to create a new line instead of the br tags. Please provide a screenshot of the issue using imgur or dropbox.
Best regards,
IsmaelHey Phet,
Thank you for the inquiry.
How did you know that these strings are slowing the site? A lot of those strings are actually displayed in the frontend, so you just cannot remove them without affecting the translations. And please note that WordPress or WPML does not save those entries in the database. They are directly retrieved from the language files, so there is no reason that they will affect the database queries or the site speed in general.
Best regards,
IsmaelHey NicomIT,
Thank you for the inquiry.
Are you using the new Gutenberg or block editor? If you are not actually using the block editor for your posts or pages, switching to the classic editor should help improve the loading speed of the post/page editor. You should also minimize the use of third party plugins and install only the absolute essentials.
Best regards,
IsmaelHey lech07,
Thank you for the inquiry.
Is there a staging version of the site where we can check the issue? We have to check the site settings and test the captcha widget directly. Please post the site details in the private field.
Best regards,
IsmaelHey seomar,
Thank you for the inquiry.
Are you trying to remove the post category from the breadcrumb? If yes, then adding the following snippet in the functions.php file should help.
add_filter( 'avia_breadcrumbs_trail', 'mmx_remove_element_from_trail', 50, 2 ); function mmx_remove_element_from_trail( $trail, $args ) { if ( is_single() ) { unset ($trail[1]); unset ($trail[2]); } return $trail; }Best regards,
IsmaelHey lech07,
Thank you for the inquiry,
It seems to be an issue with the file compression settings. You may need to temporarily disable the cache plugin, and turn off the Enfold > Performance > File Compression settings. If you are using another compression plugin, please disable it temporarily too. This should force the site to load the updated version of the scripts and stylesheets. Right now, it is looking for a minified file that does not exist.
/wp-content/uploads/dynamic_avia/avia-footer-scripts-55d0f2dba23f4a74c94b9e73a0b55f53---611aa4166debe.js:1 Failed to load resource: the server responded with a status of 404 ()Best regards,
IsmaelSeptember 6, 2021 at 4:31 am in reply to: Logo and menu in left Side bar / Titles not showing on pages #1319822Hey Obeatone,
Thank you for the inquiry.
You can enable the title and breadcrumbs in the Enfold > Header > Header Layout > Header Title and Breadcrumbs settings.
Best regards,
IsmaelHey Nfeehw873,
Thank you for the inquiry.
Looks like an issue with resource sharing between domains. You may need to configure the CORS policy of the second site to allow resources from external domains. The following documentation should help.
// https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes-
Best regards,
IsmaelHi,
It might be an issue with the browser that they are using. Which browser do they usually use? Please ask them if it would be possible to reset the browser settings to default and disable all browser extensions temporarily, before checking the page again.
What happens when they select a different country or region?
Best regards,
Ismael -
AuthorPosts
