Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry for the delay. You can replace the css code with this one to make sure that only the first level of the menu list is affected.
#top #header .av-main-nav > li:nth-child(4) { margin-right: calc(100% - 500px); }
We just added the greater-than symbol before the li:nth-child(4).
Best regards,
IsmaelHi,
Alright. You can also add the filter that they provided in the link to remove the breadcrumb entry from the schema.
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ /* Remove Yoast breadcrumb from static blog page * Credit: Yoast team * Last Tested: May 12, 2021 using Yoast SEO 16.2 on WordPress 5.7.1 */ add_filter( 'wpseo_schema_webpage', 'remove_breadcrumb_schema_ref', 10, 1); function remove_breadcrumb_schema_ref( $piece ){ if ( !is_front_page() && is_home() ) { unset( $piece['breadcrumb'] ); return $piece; } else return $piece; } add_filter( 'wpseo_schema_graph_pieces', 'remove_breadcrumbs_from_schema', 11, 2 ); function remove_breadcrumbs_from_schema( $pieces, $context ) { if ( !is_front_page() && is_home() ) { return \array_filter( $pieces, function( $piece ) { return ! $piece instanceof \Yoast\WP\SEO\Generators\Schema\Breadcrumb; } ); } else return $pieces; }
Please feel free to open another thread if this continues to be an issue. We will close this one for now.
Have a nice day.
Best regards,
IsmaelMay 24, 2021 at 12:24 pm in reply to: Links to Tab Sections do not work when on active page #1301988Hi,
We are getting an error around this line.
tab = $('.av-section-tab-title[href='+ hash +']');
This is the error.
Uncaught Error: Syntax error, unrecognized expression: .av-section-tab-title[href=]
Try to replace the line with:
tab = $('.av-section-tab-title[href="'+ hash +'"]');
Best regards,
IsmaelHi,
@andreas_anselm: This is not possible out of the box and requires modification that is beyond the scope of support. You can try the solution that another user provided in the following link but we cannot guarantee that it will work.For more inquiries, please feel free to open another thread.
Best regards,
IsmaelMay 24, 2021 at 12:09 pm in reply to: Icons Grid's links not working for mobile devices after update to 4.8.2 version #1301983Hi,
Thank you for the update.
Can we access the dashboard? Please try to temporarily disable the Performance > File Compression settings and purge the cache. The scripts are compressed, so it is possible that the changes that we made to the file are not yet included.
Best regards,
IsmaelHi,
Thank you for the update.
Have you tried using the get_the_tags function as suggested above? If you want to place it below the article, you may need to modify the single.php or the includes > loop-index.php template. This code inside the loop-index.php file outputs the post content.
if ( ! in_array( $blog_style, array( 'bloglist-simple', 'bloglist-compact', 'bloglist-excerpt' ) ) ) { echo $content_output; }
To show the tags, you can use this code.
$post_tags = get_the_tags(); if ( ! empty( $post_tags ) ) { echo '<ul class="av-post-tags">'; foreach( $post_tags as $post_tag ) { echo '<li><a href="' . get_tag_link( $post_tag ) . '">' . $post_tag->name . '</a></li>'; } echo '</ul>'; }
Best regards,
IsmaelHi,
You can check for the current post type or you can wrap the code inside a conditional tag. Example.
if(get_post_type() == "publication_post") { $publi_revue = get_field( "publi_revue" ); echo '<div class="av-publi-revue">' . $publi_revue . '</div>'; }
If you want to create a dedicated template file for the post type, please check the documentation
// https://developer.wordpress.org/themes/template-files-section/custom-post-type-template-files/
TL;DR You will have to create a file called single-publication_post.php.
Best regards,
IsmaelHey Josh,
Thank you for the inquiry.
Layout shifts are usually caused by scripts that dynamically adds content or other elements in the page, and animations that causes existing containers to move. Removing those scripts or decreasing their occurrence should improve the CLS score.
We ran a test using page speed insights tool and it returned very low scores on a lot of criteria, but found a lot of opportunities for optimization. CLS at this moment, should be the least of your concern.
Screenshot: https://imgur.com/m4CCvjN
For more info about site or WordPress optimization, please check the following articles.
// https://gtmetrix.com/wordpress-optimization-guide.html
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslowBest regards,
IsmaelMay 24, 2021 at 5:02 am in reply to: Missing font in frontpage after clicking enfold save button #1301901Hi,
We tried to import the file that you mentioned above but the process fails. Unfortunately, we will not be able to tell what is actually wrong with the import file. You may understand if you check the content of actual text or import file below. (see private field)
Do you have an actual site backup or a restore point? Please do not rely on the import file and make sure to always create a full site and database backup. You may need to manually reconfigure some of the options that are missing in the current installation, or if possible, restore the site to a previous point.
You can also get a copy of the theme options directly from the database. Look for the avia_options_enfold_child or avia_options_enfold entry inside the _options table.
Best regards,
IsmaelHi,
We checked the page below (see private field) and surprisingly, the more tag seems to be working as expected — the content after the more tag is hidden. Not really sure what changed in the builder, but more tag is not supposed to function here correctly. We checked the site on incognito mode to make sure that we are not logged in.
Screenshot: https://imgur.com/z5kMbFu
Best regards,
IsmaelMay 24, 2021 at 4:23 am in reply to: YITH WooCommerce Gift Cards delivery date note being saved correctly #1301887Hi,
Thank you for the update.
Is it working correctly when litespeed’s css and js compression are disabled? We found a few script errors in the console, but we cannot exactly point out where they are coming from because the scripts are compressed and minified.
Can we deactivate the cache and minification plugin temporarily? Is there a staging or development version of the site?
Best regards,
IsmaelMay 24, 2021 at 4:07 am in reply to: How to add custom fields to frontend and search results? #1301885Hey ivpeve,
Thank you for the inquiry.
You may need to modify the includes > loop-page.php for pages or the loop-index.php file for posts. You can also use template hooks such as ava_after_main_title or the ava_after_content.
Best regards,
IsmaelHi,
@tyger-tyger: What do you mean? The Instagram widget should work fine as long as Smash Balloon Social Photo Feed plugin is enabled.
// https://wordpress.org/plugins/instagram-feed/
Please check the documentation for more info. https://kriesi.at/documentation/enfold/instagram/
If you have any questions, please feel free to open another thread. We will close this one for now.
Best regards,
IsmaelMay 24, 2021 at 3:57 am in reply to: LCP issue: longer than 2.5s (mobile) Google Search Console Page Experience #1301882Hey sandreucci,
Thank you for the inquiry.
The compressed and minified scripts and stylesheets produced by siteground-optimizer is probably doing more harm than good. You might want to disable the plugin’s compression settings and use other minification plugins such as Autoptimize. Make sure to set the Enfold > Performance > Disabling of template builder elements settings to Load only used elements to decrease the resource that the server has to load and improve the overall page performance.
Screenshot: https://imgur.com/WzwxywO
Best regards,
IsmaelHi,
Thank you for the update.
Have you tried manually adding excerpts to posts that were created with the advance layout builder? If you cannot find the Excerpt field or box, edit one the ALB posts and enable the Excerpt field from the Screen Options. You can then manually add the excerpt instead of showing the content of the ALB.
We can remove the whitespace and linebreaks with a script but we may get unexpected results such as a missing space between the headline and the actual content.
ARTIKELServitization er en strategi, og en strategi…
Best regards,
IsmaelHi,
Thank you for following up.
You should add the css code in the Quick CSS field, not in the tab section section’s custom css class name or ID field. We moved the code from those fields to the Quick CSS field and adjusted the maximum height. We also applied a unique ID (individualisierung-custom-table) to the tab section element.
This is the css code.
#top #individualisierung-custom-table .avia-table.avia-builder-el-first { margin-top: 50px; margin-bottom: 50px; } #top #individualisierung-custom-table.tabcontainer { max-height: 500px; } #top #individualisierung-custom-table .avia-table.avia-builder-el-first { margin-top: 30px; }
Best regards,
IsmaelHi,
Thank you for the update.
For some reason, the fade in animation of the other milestones is not kicking in. To fix the issue temporarily, we used this css code in the Quick CSS field.
.avia_start_animation .av-milestone.av-animated-generic { opacity: 1; }
Best regards,
IsmaelHi,
Thank you for the update.
We found a few jQuery errors when we checked the site on Safari, but we are not yet sure which function is actually generating the issue because the scripts are compressed and minified.
ReferenceError: Can’t find variable: jQuery
Global Code — emr.ie:609
Global Code — autoptimize_dc8f31add0442e7de20fe1cad99ab602.js:23:575Did you load jQuery to load in the footer? Please try to temporarily disable the File Compression settings.
Best regards,
IsmaelHey dondela,
Thank you for the inquiry.
Looks like you have already found the Video Display settings. If not, edit the video slide, then go to the Styling panel and set the Video Display to the second option.
Best regards,
IsmaelMay 21, 2021 at 2:06 pm in reply to: Blog grid — title, excerpt and read more link with post type link #1301635Hey Richard,
Thank you for the inquiry.
This should be possible using a custom script. Please try to add this code in the functions.php file.
// a custom script // use external link function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(document).ready(function() { $(".post-format-link .more-link").on("click", function(e) { if(e.preventDefault) e.preventDefault(); var content = $(this).parents(".slide-content"); var header = content.find(".entry-content-header"); var external_link = header.find("a").attr("href"); window.location.href = external_link; }) }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
Best regards,
IsmaelHey Bernard-Brassard,
Thank you for the inquiry.
Would you mind providing a link to the page or post with the issue? The Blogue page seems to be displaying the posts properly. Is it where you are having this issue?
Best regards,
IsmaelHey Yowl,
Thank you for the inquiry.
Did you add the cart shortcode in the page manually? Please check if the shortcode has been duplicated, or post the login details in the private field so that we could check the site properly.
Best regards,
IsmaelHi,
It is actually pretty common to use or add css code to adjust the style of a page or a template if the default styles do not meet your requirements. Have you tried setting the blog style to Single Author, Big Preview?
// https://kriesi.at/themes/enfold/blog/blog-single-author-full/
Best regards,
IsmaelHi,
No problem. Please feel free to open another thread should you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelMay 21, 2021 at 1:36 pm in reply to: Enfold Latest News Widget Not Showing Excerpt And Missing From Some Pages #1301624Hi,
to have Advanced Layout Builder content populate your Excerpt option automatically
It is actually easy to extract a text or a piece of data from the builder and use it as the excerpt but the problem is that we cannot predict or know which element or text you or other users would like to actually use as excerpt, which is why it is left blank.
Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey johnjosephjohansson,
Thank you for the inquiry.
You can use this css code to adjust the color of the active tab section title.
#top .av-active-tab-title .av-inner-tab-title { color: red !important; }
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
But can I always use the same enfold.zip file?
You can use the same enfold.zip file for every site. You can also update the theme from the dashboard or from the Enfold > Theme Options > Theme Updates panel.
Best regards,
IsmaelMay 21, 2021 at 9:54 am in reply to: Mit Raster-layout "das könnte dich auch interessieren" manuell erstellen #1301569Hey Raphaela_Pla,
Thank you for the inquiry.
Based on the screenshot, looks like the Blog Posts element is set to have a grid layout. If that is true, you can use this css code to adjust the font size of the post title.
.avia-content-slider .slide-entry-title { font-size: 0.8em; line-height: 1.2em; margin: 0; }
And regarding the image borders, please post the site URL in the private field so that we can actually check the blog posts element.
Best regards,
IsmaelMay 21, 2021 at 9:50 am in reply to: Icons Grid's links not working for mobile devices after update to 4.8.2 version #1301568Hey Enrico,
Thank you for the inquiry.
Looks like the icon grid ignores the link completely. Please try to modify the enfold/config-templatebuilder/avia-shortcodes/icongrid/icongrid.js, look for this code around line 28.
var current = $(this), container = current.closest('.avia-icongrid-flipbox'); if( current.hasClass('avia-hover') ) { container.find('li').removeClass( 'avia-hover' ); }
.. and replace it with:
var current = $(this), container = current.closest('.avia-icongrid-flipbox'), link = $(this).find("a"); if( current.hasClass('avia-hover') ) { if(link) { window.location.href = link.attr("href"); } else { container.find('li').removeClass( 'avia-hover' ); } }
The changes above should look for a link inside the list elements and if found, try to redirect to a location, which is based on the link’s href attribute, else flip the item again.
Best regards,
IsmaelMay 21, 2021 at 9:42 am in reply to: Advanced Layer Slider Transitions Not Working – Mod Assistance Please #1301561 -
AuthorPosts