Forum Replies Created
-
AuthorPosts
-
Hi,
You are welcome! Please let us know if you need anything else. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
Are you referring to the links? Please edit the post, switch to the text mode in the editor so that you can see the html, then look for the links. The links are blue because of the inline style.
<a style="color: #0000ff;" href="https://www.site.com/blog/che-cos-e-un-server-dedicato/">server dedicato</a>You should remove this part to change the color of the links.
style="color: #0000ff;"Best regards,
IsmaelHey Arend,
Thank you for the inquiry.
This is one of the limitations of the category sort. It cannot retrieve posts that are not currently available in the current page. Unfortunately, there is no available solution to this aside from disabling the pagination and displaying all posts in a single page.
There is a plugin that has the same category sorting feature but even in their demo, the pagination is disabled. The category sort feature is only available on the pro or paid version of the plugin.
Best regards,
IsmaelHi,
Thanks for the info.
Did you apply a filter or modification in the functions.php file for the post navigation? Please post the login details in the private field so that we can check it further. Make sure that the Appearance > Editor panel is accessible so that we could edit the files when necessary.
Best regards,
IsmaelHi,
That should be possible but you will have to add the modification directly inside config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php file because there are no filters available for this area. You can insert the categories output within this block, located on line 574.
$bg = '<div class="av-masonry-outerimage-container">'; $bg .= $img_before; $bg .= "<div class='av-masonry-image-container' {$img_style} {$outer_title} {$outer_alt}>"; $bg .= $img_html; $bg .= '</div>'; $bg .= '</div>';Best regards,
IsmaelFebruary 2, 2022 at 5:12 am in reply to: Enfold + WPML | page layouts differ between languages #1338354Hi,
Thank you for the inquiry.
Looks like the FR version has been set to use the default editor instead of the Advance Layout Builder (ALB). Would you mind checking the FR page and make sure that it is using the ALB? If you are getting redirected to the default translation editor, you may need to delete the translated FR page, trash it, then translate the DE page again.
Best regards,
IsmaelFebruary 2, 2022 at 5:06 am in reply to: Enfold + WPML | posts without category (nav_menu_item) shown in blog #1338353Hi,
Thank you for the inquiry.
Where can we check the issue? Please post the site URL in the private field. Did you set the blog and front page in the Enfold > Theme Options panel?
And please update the theme to version 4.8.9 when you have the chance.
Best regards,
IsmaelHi,
Thanks for the update.
You can learn more about CET in this thread.
// https://kriesi.at/documentation/enfold/custom-element-templates/
The code above will just disable the dedicated css file for each post or page, which contains custom styles of the elements that are within that particular post. Disabling it will not have any negative impact to the site.
Besides disabling css file generation, is there way to inline the css directly inside the html tag instead of creating multiple
The theme generates a few inline style tags, to load fonts for example, but none of them should affect the site negatively. Majority of the css are loaded from an external file.
Best regards,
IsmaelFebruary 2, 2022 at 4:43 am in reply to: Menu on product pages has disappeared after last theme update #1338347Hi,
Thank you for the update.
Could there be a 3rd way to change styling?
There is a custom css field in the Appearance > Customize panel. Anyway, we can just override the inline styling by editing the css in the Quick CSS field. Please look for this css code.
.product-main-container { width: 56%; float: right; margin-left: 50px; }Add the !important rule to the width property or just replace the code with this.
.product-main-container { width: 56% !important; float: right; margin-left: 50px; }Best regards,
IsmaelFebruary 1, 2022 at 12:35 pm in reply to: Menu on product pages has disappeared after last theme update #1338205Hi,
We modified the code in the functions.php file and adjusted the css a bit to move the sidebar to the left of the product gallery. This is the update code in the functions.php file.
/* Move product sidebar */ function ava_move_product_sidebar() { remove_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div', 20); add_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div_mod', 20); add_action( 'woocommerce_before_single_product_summary', 'avia_open_image_div_mod', 1); add_action( 'woocommerce_after_single_product_summary', 'avia_close_image_div_mod', 4); add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25); } add_action('init','ava_move_product_sidebar', 50); function avia_open_image_div_mod() { echo "<div class='product-main-container'>"; } function avia_close_image_div_mod() { echo "</div>"; } function avia_add_sidebar() { if(is_product()) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } }And the css in the Quick CSS field.
.product-main-container { width: 56%; float: right; margin-left: 50px; } .product-main-container::after { content: ''; display: table; clear: both; } .product-main-container .single-product-main-image, .product-main-container .single-product-summary { width: 100%; } #top #main .sidebar { border-left: 0; border-right-style: solid; border-right-width: 1px; margin-left: 0; }There is an inline style for the product-main-container element, which sets the width of the container to 80% but we cannot find it. Do you have any idea where this inline style is coming from?
Best regards,
IsmaelHey Jason,
Thank you for the inquiry.
There is no easy way to do this because the product URL is quite different compare to the portfolio item URL. One solution that we could think of is to add the product URL as a custom field of the portfolio item and modify the themes\enfold\config-templatebuilder\avia-shortcode-helpers\class-avia-masonry.php file to retrieve this custom field and use it as the link in place of the default one.
The link of the masonry item is set around line 1097 of the mentioned file above.
//set the html tags. depending on the link settings use either an a tag or a div tag if( $set_link ) { $lightbox_attr = Av_Responsive_Images()->html_attr_image_src( $this->loop[ $key ]['url'], false ); $this->loop[ $key ]['html_tags'] = array( 'a ' . $lightbox_attr . ' ' . $aria_label_href . $target, 'a' ); //opening and closing tag for the masonry container } else { $this->loop[ $key ]['html_tags'] = array( 'div', 'div' ); }Best regards,
IsmaelHey Julio,
Thank you for the inquiry.
You would have to pass the result to the Youtube Player API to dynamically load the video player using the data from the very last video.
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
This is the structure of the resource.
// https://developers.google.com/youtube/v3/docs/playlistItems#resource
Unfortunately, this kind of modification is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.
// https://kriesi.at/contact/customization
Best regards,
IsmaelHi,
Did you try the script above? It should create a date picker button below the room selection or dropdown. Please add the script in the functions.php file.
Thank you for your patience.
Best regards,
IsmaelHey Hurricane,
Thank you for the inquiry.
Do they have any info as to what kind of admin AJAX requests are occurring during heavy loads? The theme creates AJAX requests but only a few of them are scheduled and they will not be triggered without some kind of user action first, so pointing to an “admin ajax hits” is a little bit vague. It is possible that the requests are generated by a plugin.
Are you using a lot of Custom Element Templates (CET)?
Please try to disable the Enfold > Performance > File Compression settings temporarily, then add this code in the functions.php file to prevent the creation of the post css files.
/** * Filter to skip css file generation. * You can add logic to skip for certain pages/posts only. * * @since 4.8.6.1 * @param boolean $create * @return boolean true | false or anything else to skip generation of css file */ function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );Best regards,
IsmaelHey stoneroad,
Thank you for the inquiry.
You can try this css code to make the mega menu container full width but the positioning might become a little off on certain screen sizes because the modification might affect the script that dynamically calculates the position of the mega menu container based on the location of the parent menu item and some other factors.
#header .avia_mega_div { width: 100vw !important; margin-right: -28px !important; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHi,
That’s good to know. Please do not hesitate to open another thread if you encounter another issue or if you have any questions regarding the theme. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
As I have said earlier, there are no mandatory attributes. The shortcodes should work fine with or without any of the attributes, at least in the case of the Team Member element. Please review my response above.
About the uid, you should be able to convert the Javascript code above to PHP. You can also create your own code to generate a random string. Just make sure that to prepend the text “av-” in front of the generated characters. This function might help.
// https://www.w3schools.com/php/func_string_md5.asp
Best regards,
IsmaelHey sitadi,
Thank you for the inquiry.
The column title in a mega menu container should not be clickable by default. We tried to access the site but login account above seems to be incorrect. Please check the info carefully.
Best regards,
IsmaelHi,
Thank you for the info.
The code is already added in the functions.php file when we checked and it adjusted the scroll position offset as expected. The header lands above the title now instead of covering it.
Best regards,
IsmaelHey Jason,
Thank you for the inquiry.
Where did you add the shortcode? Instead of adding the shortcode directly to a text editor, you can use template hooks to place the element wherever you want. To place the sub navigation above the product loop, try to use this hook.
Best regards,
IsmaelHi,
Do you see the same behavior when you update WordPress to the latest version? We are currently using the latest version of WordPress, which is version 5.9 and the latest version of the theme. In this installation, the loading attribute is not automatically added to the Image block regardless of the lazy loading option in the theme. And yes, you can use the filter wp_lazy_loading_enabled to completely disable the lazy loading option as we have suggested previously.
Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwB3j46JJ1oaUPI3-
Best regards,
IsmaelFebruary 1, 2022 at 6:10 am in reply to: How can I add additional titels to hotspots for the element image with hotspot? #1338146Hey togetherconcept,
Thank you for the inquiry.
This option is not available by default, unfortunately. You may need to directly modify the hotspot template, which is located in the config-templatebuilder > aviashortcode directory, or create a script that inserts additional element next to the hotspot container. Please a hire a freelance developer or contact our partner Codeable for additional assistance.
// https://kriesi.at/contact/customization
Best regards,
IsmaelHey satucker,
Thank you for the inquiry.
The font museomoderno doesn’t load because of a CORS issue. The font file is loaded through a URL, which is different compare to the actual site URL. Please update the site URL in the Settings > General panel and remove the “www” part, or add this code in the .htaccess file to enable cross origin sharing.
<FilesMatch ".(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>IMPORTANT: Please make sure to create a site backup or a restore point before proceeding with any of the steps above.
Best regards,
IsmaelHi,
WHY this happens…
We are not really sure why this is happening. It works fine on our end, so it might be due to a plugin or because of a custom modification. Adding the snippet above or overriding the inline styling should fix the issue.
Best regards,
IsmaelHey mgyura,
Thank you for the inquiry.
Where can we see the issue? Please post the page URL in the private field so that we can check the elements. For the meantime, try to disable the Enfold > Performance > File Compression settings and add this code in the functions.php file to temporarily disable the postcss feature.
/** * Filter to skip css file generation. * You can add logic to skip for certain pages/posts only. * * @since 4.8.6.1 * @param boolean $create * @return boolean true | false or anything else to skip generation of css file */ function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );We will check this thread again afterwards.
Best regards,
IsmaelFebruary 1, 2022 at 5:44 am in reply to: Sliders/Galeries duplicated without doing anything #1338135Hi,
But what we really do not understand is, WHY the page was broken without doing anything…
As we have said earlier, we have no idea why the sliders in that particular page were duplicated but creating another and applying the template works fine. Is this happening on a lot of pages?
This is our previous response.
Unfortunately, we are not sure why the sliders don’t work in the original page, but as you can see both sliders work perfectly fine in the new page, so you can just delete and trash the old page and rename the other.
Best regards,
IsmaelHey Raquel Ferreira,
Thank you for the inquiry.
We updated the email address in your account. Please make sure to purge the cache to see the changes.
Best regards,
IsmaelHey Kurt,
Thank you for the inquiry.
This is actually a known issue on the latest version of the theme. To fix the gallery sorting, please add this code in the functions.php file temporarily .
function ava_custom_css_admin_mod() { echo '<style> .wp-core-ui .attachments:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } </style>'; } add_action('admin_head', 'ava_custom_css_admin_mod');Related thread: https://kriesi.at/support/topic/gallery-drag-and-drop-sort/#post-1337989
Best regards,
IsmaelHi,
OR… as requested many times: add an easier font-preview within Enfold. This would save us sooo much time to select and try out fonts…
@sitesme: There is actually a styling preview in the Enfold > General Styling panel, which displays the current color presets and the selected fonts. Please check the screenshot below.Screenshot: https://imgur.com/JleQls7
Best regards,
Ismael -
AuthorPosts
