Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the info.
What happens when you override the avia_set_title_tag function by declaring it again?
function avia_set_title_tag() { return wp_get_document_title(); }
If this is not working, then the function wp_get_document_title is not the function that the plugin is using to retrieve the title.
Best regards,
IsmaelHey Julio,
Thank you for the inquiry.
You can actually use the Image element to open the video as an external link, just make sure to apply the “noLightbox” class name in the Advanced > Developer Settings > Custom CSS class field to prevent lightbox from opening. For the play button, you can try this css code.
.avia-image-container:hover .avia-image-overlay-wrap:before { content: 'Play Button Here'; position: absolute; left: 50%; transform: translate(-50%, -50%); top: 50%; z-index: 1000; font-size: 20px; font-weight: bold; color: #ffffff; }
Just replace the content value with an actual play button image or a font icon.
Best regards,
IsmaelDecember 10, 2021 at 12:02 pm in reply to: Website using server resource limits and crashing #1332292Hi,
Sorry for the delay. The PHP configurations looks fine, but we would recommend updating to PHP 8.0 or later versions.
What did the hosting provider tell you about the “client denied by server configuration” error? Unfortunately, we are not familiar with it, so we may not be able to help you further. Please keep in touch with your hosting provider.
Can we have access to the site? Please post the login details in the private field.
Best regards,
IsmaelDecember 10, 2021 at 11:56 am in reply to: Adding Gradient Overlay On Fullwidth Easy Slider #1332288Hi,
Great! Glad we could help. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
The greater and less than symbols in the html tags should be replaced with their html entity. For some reason, the forum converts them to the actual symbols.
// https://www.toptal.com/designers/htmlarrows/math/greater-than-sign/
// https://www.toptal.com/designers/htmlarrows/math/less-than-sign/To prevent the forum from converting the html entities, we added a spaces before lt and gt. Just copy the code in your editor, then remove the spaces.
add_filter("the_content", function($content) { preg_match_all('/& lt;span style="font-weight: 400;"& gt;(.*)& lt;\/span& gt;/', $content, $matches); foreach ($matches[0] as $key => $value) { $content = str_replace($value, $matches[1][$key], $content); } return $content; }, 10, 1);
Best regards,
IsmaelDecember 10, 2021 at 11:48 am in reply to: Remove padding on the left of the first menu item #1332283Hi,
No problem. Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the access.
Removing the very last section in the page did fix the issue in the search results page. We added a screenshot in the private field. You may need to add those sections again and if possible, avoid adding scripts and input tags in the builder because they could break the layout of the page.
We saved the content of the art-and-craft-tents/ page as builder template and named it “Arts Craft Template”.
Best regards,
IsmaelHi,
Thank you for the update.
The single quotes in the code have been converted to their html entity code. Please make sure to copy the snippet directly from this forum, and not from your email. Let us know if that works.
Best regards,
IsmaelHi,
In the functions.php file, try to replace the ava_main_header hook with ava_after_main_menu to render the widgets after the main menu, then adjust the css code a bit to align them with the social icons..
#top #header #header_main .widget { position: absolute; right: 0; top: 0; }
Thank you for your patience.
Best regards,
IsmaelHi,
No problem. For some reason, we do see any stripes between the menu items. You can check the screenshot above to see how it looks on our end.
If you have more questions, please feel free to open another thread. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelDecember 10, 2021 at 11:27 am in reply to: ALB shortcodes are stripped if element gets opened up in backend #1332271Hi,
Thank you following up.
Unfortunately, I can’t find this setting anywhere.
It just means that the show_advanced_custom_element_options feature is not enabled. Anyway, we uploaded the latest version of the theme in the staging site and it seems to have fixed the issue with the shortcodes. The content of the tab element are now saved properly on update.
Best regards,
IsmaelHi,
@WFO: Looks like a styling issue. Did you adjust the style of the header? Please try to disable the css modification temporarily, then purge the cache. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
@marketingnr: Both the main menu and alternate menu are displaying in the site. How did you modify the templates?
Best regards,
IsmaelHi,
Those options are not available by default. What we did is used one of the social links, VK in this case, and replaced the icon with a phone by editing the functions.php file. You can modify the phone number in the Enfold > Social Profiles panel.
We recommend installing a child theme if you want to preserve the modification. You can use this filter in the functions.php file to use a different the font icon for the VK social profile.
// adjust font icon function avf_default_icons_mod($icons) { $icons['vk'] = array('font' => 'entypo-fontello', 'icon' => 'ue854'); return $icons; } add_filter('avf_default_icons', 'avf_default_icons_mod', 10, 1);
// https://kriesi.at/documentation/enfold/child-theme/
Best regards,
IsmaelHi,
Thank you for the update.
The quantity buttons are not displaying on those products because the Inventory > Stock Quantity value is already set to 1. When we changed the value to 2 or more, the buttons displayed back. (see private field)
Best regards,
IsmaelHi,
Thank you for the inquiry.
We have checked the plugin documentation but we cannot find any reference about how it generates the page or post title and how to retrieve it. And we are not sure if the plugin is also using a filter to override the default title.
Please ask the plugin authors how the plugin generate the title and if there is a way to retrieve that value. There should be a function that we could use in combination with the avf_title_tag filter.
Best regards,
IsmaelDecember 10, 2021 at 10:16 am in reply to: Adding Gradient Overlay On Fullwidth Easy Slider #1332259Hey Steve,
Thank you for the inquiry.
You may need to adjust the css code a bit. The modification is provided in the following link.
// https://kriesi.at/support/topic/adding-gradient-overlay-on-fullwidth-slider/#post-1330942
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Great! Glad to know that it is working. Please do not hesitate to open another thread if you need anything else. We will close this one for now
Have a nice day.
Best regards,
IsmaelDecember 10, 2021 at 10:11 am in reply to: How to disable menu delay on hover (main, sub and mega-menus) #1332254Hi,
No problem. Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
@bc-clients: Another user reported that the problem only occurs when image lazy loading is enabled. Did you install any plugin with a lazy loading option? Please try to disable the option temporarily, then check the page again. Make sure to purge the cache.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like you already adjusted the widget position with this css code.
#top #header #header_main .widget { position: absolute; right: 100px; top: -20px; }
Let us know if you need more help with this.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
Try to use this css code to pull the main menu to the left by 10px and align with the logo.
#top #header .av-main-nav { margin-left: -10px; }
Best regards,
IsmaelHi,
Thank you for the inquiry.
The slider relies on the jQuery script in order work properly, but since the scripts are lazy loaded using RocketLazyLoadScripts function, the slider images do not display. You may need to exclude jQuery from lazy loading and set it to load normally.
To disable the fade in effect for the first slider, add this css code.
.avia-slideshow li:first-child { opacity: 1 !important; }
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings, and purge the cache after adding the css code.
Best regards,
IsmaelHey adibranch,
Thank you for the inquiry.
There are a lot of images and galleries in the home page. Which specific element are you trying to adjust? Please provide a screenshot (on imgur or dropbox) of the section or image that you would like to adjust, including a mockup of the changes if possible.
Best regards,
IsmaelHey Vichardo,
Thank you for the inquiry.
Have you tried using the Fullwidth Slider element instead? Please note that the Fullscreen Slider element will inherit the height of the browser viewport. The images inside have to adapt to the slider size and may overflow if their aspect ratio is not the same as the device screen.
If you want to adjust the style of the slider on mobile view, try this css code.
@media only screen and (max-width: 767px) { .avia-fullscreen-slider .avia-slideshow>ul>li { background-size: contain !important; background-repeat: no-repeat; } .avia-builder-el-0.avia-fullscreen-slider .avia-slideshow { height: 270px !important; } }
You can also set the size of the background images to inherit the actual size of the slider but they may get distorted a bit.
.avia-fullscreen-slider .avia-slideshow>ul>li { background-size: 100% 100% !important; }
Best regards,
IsmaelHey JantienM,
Thank you for the inquiry.
You have to define the orderby and order parameters of the product_categories shortcode. Please check the shortcode documentation for more info.
// https://woocommerce.com/document/woocommerce-shortcodes/#h-available-product-category-attributes
Best regards,
IsmaelHey vbonora,
Thank you for the inquiry.
You can try using this script in the functions.php file to close the active tab section content after clicking on an active tab title.
// a custom script function ava_custom_function_script(){ ?> <script> (function($) { $(document).ready(function() { $(".av-tab-section-container .av-section-tab-title").on("click", function(e) { var clicked = $(this); var id = clicked.data("av-tab-section-title"); var container = clicked.parents(".av-tab-section-outer-container"); var tab = container.find(".av-layout-tab[data-av-tab-section-content='"+ id +"']"); var tab_inner = container.find(".av-layout-tab-inner"); if (tab_inner.css("height") != "0px") { setTimeout(function() { clicked.removeClass("av-active-tab-title"); container.find(".av-tab-section-inner-container").css("transform", "translate3d(0%, 0px, 0px)"); container.find(".av-active-tab-content").removeClass("av-active-tab-content"); $(tab_inner).css("height", "0px"); }, 300); } }); }); } )(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_function_script');
Best regards,
IsmaelHi,
Sorry for the delay. We tried to access the site again but the login token above has expired. Please generate another login token with a longer expiry if possible. We will try to check the site again afterwards.
Best regards,
IsmaelHi,
We modified the css a bit to override the styles added by css hero.
@media only screen and (max-width: 767px) { #top .av-subnav-menu { margin: 0; max-height: 51px; overflow-y: hidden; overflow-x: scroll; display: flex; width: 100%; height: 51px !important; line-height: 51px !important; } html>#top>#wrap_all>#main>#sub_menu1>div>#av-custom-submenu-1>li { overflow: visible !important; display: block !important; float: left !important; padding-top: 0 !important; } }
As you can see in the screenshot below, the submenu is now scrollable.
Unfortunately, site optimization is beyond the scope of support but one thing that we would recommend is to completely disable css hero because it adds redundant and unnecessary css codes in the site. If you check the css dashboard, there are now 10,000 css rules, which contains empty declarations and repeated css. For more info about site optimization, 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,
IsmaelHi,
Thank you for the update.
For the search page, try to use this filter in the functions.php file.
function avia_layout_filter_mod($layout, $post_id){ if(is_search()) { $layout['current'] = $layout["fullsize"]; $layout['current']['main'] = "fullsize"; } return $layout; } add_filter('avia_layout_filter', 'avia_layout_filter_mod', 10, 2);
Best regards,
IsmaelHey 1-springer,
Thank you for the inquiry.
Videos added on sliders or color sections are disabled on mobile devices by default, which is why there is an option to add a fallback image. The video will be automatically replaced with the fallback image on smaller screens. If you really need to show the video on mobile view, try to use the layer slider element.
Best regards,
Ismael -
AuthorPosts