Forum Replies Created
-
AuthorPosts
-
September 8, 2021 at 1:39 am in reply to: Images & Gravity Forms Not Loading, Unformatted HTML, Slow Page Loads #1320031
Hi,
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,
IsmaelHi,
That would not be possible, unfortunately. We need to access the site and inspect the elements directly in order to check the issue. Please create a staging or development version of the site.
Thank you for your patience.
Best regards,
IsmaelHi,
Did you check the name of the entries? Please search for the entries again in the database, click on the returned result and provide us a screenshot so that we know which entry is it.
According to the documentation, the snippet above will enable all post type in your rss feed including post nav, attachment etc, and post type created by other plugins. You should remove the filter above if you do not intend to include all post type in your rss feed.
Best regards,
IsmaelHey tiffanytnttobol,
Thank you for the inquiry.
The code above is actually assigning the Open Sans font and its variation to the Work Sans option in the backend. You have to adjust the code a bit.
function avia_font_mod($fonts){ $fonts['Work Sans New'] = 'Work Sans:100,200,300,400,600,700'; return $fonts; } add_filter( 'avf_google_heading_font', 'avia_font_mod'); add_filter( 'avf_google_content_font', 'avia_font_mod');Make sure to select Work Sans New in the font drop down.
Best regards,
IsmaelSeptember 3, 2021 at 6:39 am in reply to: Prevent Google Font loading before OPT-In (GDPR / Data Privacy) #1319601Hey amollde,
Thank you for the inquiry.
Did you set the privacy settings to block the map or external scripts on initial load? Blocking the map should also prevent the font from loading. The font will only load once the user manually adjust the privacy toggles and accepted the cookies. You have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior settings to the third or fourth option.
Best regards,
IsmaelHey Ueli,
Thank you for the inquiry.
We are not yet sure why it scrolls like that but we might be able to fix it by adjusting the enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.js file. Around line 152, look for the following code and remove it.
window.scrollTo(0, container.offset().top - 70);You may have to toggle or temporarily disable the Enfold > Performance > File Compression settings after adjusting the script.
Best regards,
Ismael -
AuthorPosts
