Forum Replies Created
-
AuthorPosts
-
Hi,
Great! Glad to know that this has been resolved. Please don’t hesitate to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
@Jason: The filter (avf_post_css_create_file) mentioned above disables the generation of the dynamic posts css file, which contains css rules for builder elements on a specific page. Custom styles will be added inline instead of a separate posts css file.
Best regards,
IsmaelHi,
Thank you for the update.
We adjusted the code in the Quick CSS field a bit.
#top #header #header_main .widget { position: absolute; right: 50%; transform: translateX(-50%); padding: 0; margin-top: -3px; padding-left: 10px; }Best regards,
IsmaelHey!
Thank you for the inquiry.
Did you add any HTML tags or scripts in the page content? Please make sure that there are no invalid tags and that they are all properly closed. Otherwise, they may break the layout of the page and result in content being stripped on update.
Cheers!
IsmaelMarch 25, 2024 at 9:36 am in reply to: Quick question about Avia Layout Builder ➡️ plain post #1438248Hi,
No problem! Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey Sebastian,
Thank you for the inquiry.
Have you tried adjusting the Layout > Header visibility and transparency settings of the EN blog page? Currently, the transparent header option is not enabled.
Best regards,
IsmaelHey Tim,
Thank you for the inquiry.
Are you using the Grid Layout? If yes, then you can insert this code in the functions.php file to arrange the posts in random order:
add_filter('avia_post_slide_query','avia_order_by_random', 10, 2); function avia_order_by_random($query, $params) { $query['orderby'] = 'title'; $query['orderby'] = 'rand'; return $query; }Best regards,
IsmaelHey rixi,
Thank you for the inquiry.
The fonts and icon fonts are not loading correctly due to the site not being HTTPS yet. You need to configure or renew the SSL certificate in order to fix the issue.
Best regards,
IsmaelHey Rocuant,
Thank you for the inquiry.
We added this code in the functions.php file to insert the widget area in the header.
<?php //-------------------------------- // Header widget area //-------------------------------- add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }We then created a custom widget area named “header” in the Appearance > Widgets panel and added a Text widget. To adjust the widget’s position within the header, we added the following code in the Quick CSS field:
#top #header #header_main .widget { position: absolute; right: 50%; transform: translateX(-50%); }Please check the documentation below for more info: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area
Best regards,
IsmaelHey Tim,
Thank you for the inquiry.
You can activate spam protection for the contact form element by adjusting the Content > Security > Contact Form Captcha settings. You have the option to choose between basic numeric captcha or Google ReCAPTCHA. For more info, please refer to the documentation below:
// https://kriesi.at/documentation/enfold/contact-form/#what-is-captcha
Best regards,
IsmaelHey Blaise,
Thank you for the inquiry.
Have you tried applying a Custom CSS Class to the element so you can target it specifically? Please refer to the documentation below for more info:
// https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support
Best regards,
IsmaelHey gpweb,
Thank you for the inquiry.
You can enable the Blog Post Category option in the Enfold > Blog Layout > Blog Meta Elements section to display the categories. However, please note that you may need to adjust the Blog Styling settings as some of the available blog styles may not include the categories.
Best regards,
IsmaelHi,
Thank you for the update.
We ran a test using PageSpeed Insights and compiled a list of possible solutions based on the tool’s recommendations:
1. Minimize main-thread work:
— Solution: Improve code to reduce JavaScript time and avoid long tasks.
— Example: Go to the Enfold > Performance panel and set the JS/CSS File Merging And Compression settings to the third option (Use minified theme files without merging). This should split the code and load necessary CSS/JavaScript for each page, and lazy load non-essential resources.2. Optimize Largest Contentful Paint:
— Solution: Identify and optimize the largest content for faster loading.
— Example: Resize and format large images, and consider lazy loading to delay loading until they’re visible.3. Reduce JavaScript time:
— Solution: Minimize and optimize JavaScript code for faster execution.
— Example: Refer to number 14. Lazy load third-party resources:
— Solution: Load non-essential third-party resources asynchronously.
— Example: Delay loading social media widgets or analytics scripts until after the main content is displayed using LazyLoad or Intersection Observer API.5. Improve server response time:
— Solution: Optimize server configurations and utilize caching mechanisms.
— Example: Configure server settings to reduce response time and utilize caching to serve content more efficiently.6. Defer render-blocking resources:
— Solution: Defer or asynchronously load resources that block rendering.
— Example: Use “defer” attribute for JavaScript or inline critical CSS to prevent render-blocking and improve page load speed.7. Minimize third-party code impact:
— Solution: Load third-party scripts asynchronously to prevent main thread blocking.
— Example: Load third-party scripts asynchronously or in iframes to minimize their impact on main thread performance.8. Reduce excessive DOM elements:
— Solution: Simplify HTML structure and dynamically load content as needed.
— Example: Avoid unnecessary nesting and dynamically load content to reduce the number of DOM elements and improve performance.9. Lazy load offscreen images:
— Solution: Defer loading of images outside viewport.
— Example: Use “loading” attribute set to “lazy” or JavaScript-based lazy loading libraries to defer loading of offscreen images until they are needed. WordPress automatically add these attributes for images, but you can also install a lazy load plugin if necessary.10. Optimize JavaScript usage:
— Solution: Remove or optimize unused JavaScript code.
— Example: Use code analysis tools to eliminate dead code paths and consider lazy loading or code splitting to optimize JavaScript usage.12. Optimize image sizes:
— Solution: Resize and compress images to reduce file size.
— Example: Use image optimization tools to compress images without sacrificing quality and specify image dimensions in HTML or CSS.13. Serve modern JavaScript:
— Solution: Serve optimized JavaScript based on browser compatibility.
— Example: Use feature detection to serve polyfills or fallbacks only to browsers that require them, and utilize modern JavaScript features for better performance.For more info about site optimization, please check the articles below:
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlBest regards,
IsmaelHey chhivindyk,
Thank you for the inquiry.
Did you upload your own font? Please provide the login details in the private field so that we can check the info of the custom font icon.
Best regards,
IsmaelHey northorie,
Thank you for the inquiry.
You can replicate the layout by adding a Text Block within a Column element, apply the yellow background to the column, then go to Advanced > Developer Settings. In the Custom CSS Class name field, add “av-custom-header-column”. Then add the following code in the Quick CSS field to adjust the position of the text block within the column.
#top .av-custom-header-column .avia_textblock { padding: 40px 20px; background: white; position: absolute; right: -50px; top: 50px; }Best regards,
IsmaelHi,
We moved the link to the private field. It may take a while before this change is reflected on the search results page.
Best regards,
IsmaelHey Yaphoon,
Thank you for the inquiry.
You can add this css code to adjust the alignment of the content in the message box:
.avia_message_box_content p { display: inline-block; }Best regards,
IsmaelHey Pico-San,
Thank you for the inquiry.
We can’t replicate the issue on our end. When we go directly to the checkout page after adding a product and then return to the previous page using the back history button, the number of items in the cart remains unchanged. However, we did notice that the cart page is inaccessible. Did you create a cart page?
// https://woo.com/document/configuring-woocommerce-settings/#page-setup
// https://woo.com/document/woocommerce-shortcodes/#cartBest regards,
IsmaelHi,
Thank you for the update.
Please add this code at the very bottom of the css modifications.
#top #wrap_all #social .social_bookmarks { margin: 0; display: flex; float: none; justify-content: center; margin-left: -50px; }Best regards,
IsmaelHi,
Great! Glad to know that everything has been sorted out. Please don’t hesitate to reach out if you have any further questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
You can adjust the order property to reverse the location of the button widget and burger menu. Then, set the left margin of the widget to auto to keep it close to the burger menu icon.
.responsive #top #header #header_main .inner-container .widget { order: 2; flex-basis: auto; padding: unset; clear: none!important; align-self: center; align-items: flex-end; z-index: 1; margin-left: auto; } .responsive #top #header #header_main .inner-container .main_menu { order: 3; flex-basis: auto; align-items: center; align-self: center; }This should also fix the layout of the header on smaller screens.
Best regards,
IsmaelHi,
Glad to know that this has been resolved! Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey mvi,
Thank you for the inquiry.
Did you add this script?
jQuery(document).ready(function($) { // Replace the accordion selectors with your own accordion toggler selectors var accordions = $('#skillspring-process .toggler'); function forceSlideChange(slideshow, targetIndex) { var slides = slideshow.find('.avia-slideshow-inner li'); var activeSlide = slides.filter('.active-slide'); var targetSlide = slides.eq(targetIndex); // Stop any ongoing animations slides.stop(true, true); // Hide the current active slide activeSlide.removeClass('active-slide').css({ 'opacity': 0, 'visibility': 'hidden' }); // Show the target slide targetSlide.addClass('active-slide').css({ 'opacity': 1, 'visibility': 'visible' }); // Update the active control dot slideshow.find('.avia-slideshow-dots .goto-slide').removeClass('active').eq(targetIndex).addClass('active'); } accordions.on('click', function() { // Get the index of the clicked accordion toggler var index = accordions.index(this); // Replace the slideshow selector with your own slideshow selector var slideshow = $('#skillspring-process-slideshow'); // Check if the slideshow exists on the page if (slideshow.length) { forceSlideChange(slideshow, index); } }); });You should also apply the ID “skillspring-process” to the Accordion element and the ID “skillspring-process-slideshow” to the Easy Slider element.
Best regards,
IsmaelHey Monika,
Thank you for the inquiry.
There is no option for this by default, but you can try this script in the functions.php file to reverse the order of the first and second item:
function ava_custom_js_inline() { ?> <script type="text/javascript"> document.addEventListener('DOMContentLoaded', function() { var parentElement = document.querySelector('.av-sort-by-term'); var logoDesignElement = parentElement.querySelector('.logodesign_sort_button'); var webDesignElement = parentElement.querySelector('.webdesign-entwicklung_sort_button'); if (parentElement && logoDesignElement && webDesignElement) { parentElement.removeChild(logoDesignElement); parentElement.removeChild(webDesignElement); parentElement.insertBefore(webDesignElement, parentElement.firstChild); parentElement.insertBefore(logoDesignElement, parentElement.firstChild); } }); </script> <?php } add_action('wp_head', 'ava_custom_js_inline');Best regards,
IsmaelHey Lin84,
Thank you for the inquiry.
This css code overrides the custom styling of the timeline element on the FR version:
.main_color .avia-timeline .milestone_inner { background-color: #eeeeee; }Did you add this css somewhere? To fix the issue temporarily, you can add this css code:
.avia-timeline-container.av-kjwyagyt-68e2c76bd38b38fac872646993948af8 .av-milestone-icon-inner { background-color: #e85c2e !important; }Best regards,
IsmaelMarch 22, 2024 at 10:58 am in reply to: Easiest way to add the social media icons to a widget #1437998Hi,
Thank you for the clarification.
You can add this code in the functions.php file:
function ava_social_bookmarks_cb() { $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); $social = avia_social_media_icons($social_args, false); return $social; } add_shortcode('ava_social_bookmarks', 'ava_social_bookmarks_cb');Then use this shortcode in a text widget.
[ava_social_bookmarks]You may need to add this css code:
#footer .widget ul.social_bookmarks { display: inline-flex; gap: 0px 10px; } #footer .widget ul.social_bookmarks li { border: none }Best regards,
IsmaelHey Martin,
Thank you for the inquiry.
You may need to adjust the maximum dimension of the entry_with_sidebar thumbnail. Add this code in the functions.php file:
function avf_customization_modify_thumb_size( $size ) { $size['entry_without_sidebar'] = array( 'width' => 9999, 'height' => 9999 ); $size['entry_with_sidebar'] = array( 'width' => 9999, 'height' => 9999 ); return $size; } add_filter( 'avf_modify_thumb_size', 'avf_customization_modify_thumb_size', 10, 1 );Then use the this plugin to regenerate the thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelMarch 22, 2024 at 7:57 am in reply to: CSS not working when logged into Woocommerce account #1437981Hey Illingco,
Thank you for the inquiry.
It might be a caching issue. Would you mind disabling the Siteground cache plugin temporarily and deactivate the Enfold > Performance > File Compression settings? You can re-enable them once you’re done editing the site.
Best regards,
IsmaelMarch 22, 2024 at 7:51 am in reply to: Is Enfold compatible with Rank Match SEO And AI plugin? #1437980Hi,
Thank you for the update.
We may need your RankMath account in order to use the AI feature. Did you subscribe as Business or Agency? Please provide the RankMath account and make sure that there are available credits so that we can test the AI option.
Best regards,
IsmaelHi,
Thank you for the update.
Smaller images or thumbnails can significantly impact the quality of the rendered image. For example, if you have a container that is 500x500px in size and you attempt to cover it with an image that is only 50x50px, the resulting quality will appear pixelated, and a noticeable decrease in quality. To avoid this issue, you can use a different image, preferably one that is larger or at least the same dimension as the container.
Best regards,
Ismael -
AuthorPosts
