Forum Replies Created
-
AuthorPosts
-
Hey Knutnik,
Thank you for the inquiry.
Try to use this css code to add a padding to the text block with the teasertext class name.
#teaserbox .teasertext { padding: 3% 4% 7% 3%; }
The second css rule above should have worked.
Best regards,
IsmaelMay 27, 2021 at 7:02 am in reply to: Gallery shows "the image could not be loaded" on click #1302533Hi,
Thank you for the update.
The lightbox is not working correctly because the href attribute of the gallery items are missing or it is blank. Did you add a custom script in the functions.php file?
To fix it temporarily, try to use this script in the functions.php file.
// a custom script // fill in gallery thumbs' href attribute function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(document).ready(function() { $(".avia-gallery-thumb a").each(function() { var image = $(this).data("prev-img"); $(this).attr("href", image.replace("-495x400.jpg", ".jpg")); }); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
Best regards,
IsmaelHi,
No problem. Unfortunately, we are not yet sure why the milestone animation is not working properly. Please keep the css code for now.
Best regards,
IsmaelHey orchestramegastore,
Thank you for the inquiry.
That is the default position of the social icons inside the sidebar. If you want to adjust it, we can use this css code.
.html_header_sidebar #header .container .inner-container { height: 100vh; } .html_header_sidebar .av-sidebar-social-container { position: absolute; overflow: hidden; bottom: 0; top: auto; }
To lessen the gap between the logo and the main menu, use this css code.
.html_header_sidebar .main_menu { top: -25px; }
For the content layout, try to look for the Content Alignment settings inside the Enfold > General Layout > Layout panel.
Best regards,
IsmaelMay 27, 2021 at 6:44 am in reply to: LCP issue: longer than 2.5s (mobile) Google Search Console Page Experience #1302528Hi,
We ran a test again on the page speed insights tool and found out that the stylesheets are still combined using the SG Optimizer’s option. We recommend disabling that option temporarily because it is blocking rendering by about 900ms, longer on the previous test. It also combines a lot of unused css code.
Screenshot: https://imgur.com/HrNlD6B
We also tested the site on gtmetrix and it returns a much more favorable result with LCP for only about 2.5s.
// https://gtmetrix.com/reports/www.bookconfidential.blog/VbUuZrnH/
Have you tried using the Autoptimize plugin? And as suggested above, you can enable the Load only used elements option to improve the page speed. This should also improve LCP by significant amount.
To further optimize the site, please check the following articles.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlBest regards,
IsmaelMay 26, 2021 at 12:25 pm in reply to: I keep getting these issues and it seems nobody can help me fixing it #1302401Hey neotel2k,
Sorry for the delay.
Have you tried using Yoast to set a canonical URL for duplicated content or pages? For more info about the plugin feature, please check the following articles.
// https://yoast.com/features/canonical-url-tags/
// https://yoast.com/rel-canonical/WordPress also set a canonical URL automatically but only for paginated pages.
Best regards,
IsmaelHi,
it does not play any role
What do you mean? The screenshot above shows that the content of the second page after the more tag is hidden. We tried to check the page again today but there is a database error. Please let us know when the site is up again.
Have you tried asking the plugin author about the issue? They should be able provide additional help regarding the problem.
Best regards,
IsmaelMay 26, 2021 at 8:06 am in reply to: Menu item in Socket and Header have same custom link but behave differently #1302374Hi,
Thank you for the update.
Glad to to know that the gap has been repaired. Regarding the lightbox or popup, try to add this script in the functions.php file to re-initialized lightbox for the burger menu item CV.
// a custom script // re-initialized lightbox function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(document).ready(function() { $("$top li.menu-item-462 a").magnificPopup({ type:"inline", midClick: true }); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
Best regards,
IsmaelHey zwachm,
Thank you for the inquiry.
Looks like the content of the Advance Layout Builder (ALB) is displaying as excerpt. Try to use this filter in the functions.php file to prevent the excerpt from displaying when the post is using the ALB.
add_filter('avf_masonry_loop_entry_content', function($content, $entry) { $is_alb = Avia_Builder()->get_alb_builder_status( $entry->ID ) == 'active'; if($is_alb) $content = ""; return $content; }, 10, 2);
Best regards,
IsmaelMay 26, 2021 at 7:23 am in reply to: 'Critical Error' Issue while trying to edit pages after adding child theme #1302368Hi,
Thank you for the inquiry
We moved the code on pastebin.com. We are having difficulty reading the file because the symbols were converted. Would you mind posting another pastebin of the modified file where the characters are not converted?
Best regards,
IsmaelHi,
Thank you for the info.
The variation image switch should work properly when the Enfold > Shop Options > Product gallery is set to the default Woocommerce 3.0 gallery. The default theme gallery is currently used in the site, which is why the switch is not working.
Best regards,
IsmaelHi,
Thank you for the update.
Which blog style or layout are you currently using? The filter above should work for the grid layout. If you are using a different layout, try this filter instead.
function mytheme_custom_excerpt_length( $length ) { return 20; } add_filter( 'excerpt_length', 'mytheme_custom_excerpt_length', 999 )
You can also try this plugin.
// https://wordpress.org/plugins/advanced-excerpt/
Best regards,
IsmaelMay 26, 2021 at 7:06 am in reply to: How can i remove specific [div class] from a Pagination pages ? #1302364Hey Hafeez Ullah,
Thank you for the inquiry.
Those container are not generated by the theme, or do not exist in any of the theme template files. Did you create a custom template file? We can remove the container with a simple script if you like.
Something like this.
var summary = document.querySelector(".page-summary"); summary.remove();
You can use the wp_footer hook to append it to the page or to the document, or use the wp_add_inline_script function.
// https://developer.wordpress.org/reference/functions/wp_add_inline_script/
Best regards,
IsmaelMay 26, 2021 at 6:56 am in reply to: Icons Grid's links not working for mobile devices after update to 4.8.2 version #1302361Hi,
Glad it is fixed. If you have more inquiries, please feel free to open another thread. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHey schweg33,
Thank you for the inquiry.
Are the icons actual images? How did you add them? Looks like the icons are only visible on the first slide. If they are actual images, then you have to use the filter property to adjust their color.
.saturate { filter: saturate(3); } .grayscale { filter: grayscale(100%); } .contrast { filter: contrast(160%); } .brightness { filter: brightness(0.25); } .blur { filter: blur(3px); } .invert { filter: invert(100%); } .sepia { filter: sepia(100%); } .huerotate { filter: hue-rotate(180deg); } .rss.opacity { filter: opacity(50%); }
You can use font icons instead of actual images.
// https://fontawesome.com/
// https://fontello.com/Best regards,
IsmaelHi,
Thank you for the update.
It might be coming from a plugin or from a custom script. Did you check the products? Try to look for those containers in the text editor, and try to disable the plugins temporarily and see if it changes anything in the catalogue element.
Best regards,
IsmaelHey!
Don’t you agree with that?
We are actually offering work arounds, or at least providing suggestions to fix the issue temporarily, while we are trying to figure out what is actually causing the issue. I thought that was how the previous responses are coming.
The issue seems to only occur when the posts are created with the advance layout builder, so manually adding an excerpt and showing that text instead of the actual builder content should fix the issue temporarily.
We will forward the issue to our channel.
Cheers!
IsmaelHi,
Thank you for the info.
We tried to login using the account above but it seems to be invalid. Please check the info carefully or provide another login account. For the meantime, please try to disable the plugins temporarily, see if it changes anything in the cart or checkout view.
Best regards,
IsmaelHi,
Thank you for the update.
Based on our initial test, as you can see in the screenshot above, the site scored poorly on mobile, so we just thought that you should focus on optimizing the site first instead of focusing on the CLS score. We did not mean that you should ignore CLS completely. We did not check or test it on gtmetrix though. And yes, unfortunately, we are not yet sure what is causing the layout shifts in the front page aside from the image animations on every section. We will keep the thread open.
Best regards,
IsmaelHi,
Yeah, that is odd. I cannot figure out why the video resizes that way, but we may be able to remove the gray border by using this css code. Please note that this will decrease the height of the color section a bit.
@media only screen and (max-width: 1024px) { .avia-builder-el-0.av-minimum-height-100 .container { height: calc(100vh - 170px) !important; } }
You may want to apply a unique section ID or class name to the color section and use that instead of the generic selector above.
Best regards,
IsmaelHi,
Thank you for following up.
For more info about adding a new font in the theme, please check the following documentation.
// https://kriesi.at/documentation/enfold/typography/#how-to-add-google-fonts-using-css
And in order to properly upload a custom font, please check this section.
// https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
You can also use the avf_google_heading_font filter to include a new item in the font selection. Usage examples can be found in the following threads.
// https://kriesi.at/support/topic/google-fonts-not-appearing-in-safari/
// https://kriesi.at/support/topic/unable-to-upload-google-font-into-enfold/#post-1138540
// https://kriesi.at/support/topic/font-weight-issues/#post-1298391Best regards,
IsmaelMay 25, 2021 at 8:59 pm in reply to: Blog grid — title, excerpt and read more link with post type link #1302290Hi,
Thank you for following up. :)
Try to replace the window.location.href with the window.open function. Please look for this line..
window.location.href = external_link;
.. and replace it with:
window.open( external_link, '_blank' );
For more options, please check this link.
// https://developer.mozilla.org/en-US/docs/Web/API/Window/open
Best regards,
IsmaelHi,
The following folder structure is actually not valid…
publication_post/loop-index.php
.. unless you have modified the the single-publication_post.php file, and change this code.
get_template_part( 'includes/loop', 'index' );
This tells WP to get a template inside the includes folder with the name loop-index.
But using a conditional function as we suggested above should be enough in this case.
Best regards,
IsmaelHi,
@volmering: Would you mind providing a link to the page with the accordion element? We check the toggles and accordion demo on Chrome but we are not able to reproduce the issue.// https://kriesi.at/themes/enfold/shortcodes/toggles-accordions/#toggle-id-3
Best regards,
IsmaelHi,
Thank you for following up.
We added the orderby parameter in the new query.
$this->avia_new_query = array( "orderby" => "modified", "posts_per_page"=>$count, 'date_query' => array( 'column' => 'post_modified', ),'tax_query' => array( array( 'taxonomy' => $this->avia_term, 'field' => 'id', 'terms' => explode(',', $cat), 'operator' => 'IN') ));
We tested and confirmed that it is working by editing the REMOVALISTS RED HILL SOUTH portfolio item. We also deactivated the cache plugin and the file compression settings temporarily. Please enable them back after checking the widget.
Best regards,
IsmaelHi,
@volmering: Where can we see the issue? Please post the site or page URL in the private field.Best regards,
IsmaelMay 25, 2021 at 8:05 pm in reply to: Advanced Layer Slider Transitions Not Working – Mod Assistance Please #1302282Hi,
Thank you for that info. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
@sldeutsch: Did you add this hook in the functions.php file?add_action( 'init', array( $this, 'force_settings'), 10, 0 );
Make sure to purge the cache after adding the code. If it is still not working, please open another thread and post the details in the private field.
Best regards,
IsmaelHi,
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,
Ismael -
AuthorPosts