Forum Replies Created
-
AuthorPosts
-
Hi,
You can disable the default title from the Enfold > Header > Header Layout > Header Style settings. Set it to display only the breadcrumbs or just hide both if necessary. If you need to modify the post title in the post template, you have to edit the includes > loop-index.php file.
echo $title;Best regards,
IsmaelHey itdirektgmbh,
Thank you for the inquiry.
You have to create translations of the portfolio categories or taxonomies in the EN version first. Please check documentation for more info.
// https://wpml.org/documentation/theme-compatibility/enfold/#Translating-custom-post-types-taxonomies
Best regards,
IsmaelJune 29, 2020 at 9:37 am in reply to: Home page not displaying correctly, contact form not working.. #1226334Hi,
Thank you for the update.
You can use this css code to adjust the color of the links.
.alternate_color a, .alternate_color .widget_first, .alternate_color strong, .alternate_color b, .alternate_color b a, .alternate_color strong a, .alternate_color #js_sort_items a:hover, .alternate_color #js_sort_items a.active_sort, .alternate_color .av-sort-by-term a.active_sort, .alternate_color .special_amp, .alternate_color .taglist a.activeFilter, .alternate_color #commentform .required, #top .alternate_color .av-no-color.av-icon-style-border a.av-icon-char, .html_elegant-blog #top .alternate_color .blog-categories a, .html_elegant-blog #top .alternate_color .blog-categories a:hover { color: #6786a1 !important; }Please add it in the Quick CSS field or the child theme’s style.css file, and toggle the Performance > File Compression settings afterwards.
Best regards,
IsmaelHi,
Thank you for the info.
We posted a reply on @dfpg’s thread here: https://kriesi.at/support/topic/accessibility-issues-with-main-nav-leaves-us-sites-in-danger-of-lawsuits/#post-1226327
Best regards,
IsmaelJune 29, 2020 at 9:04 am in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1226327Hi,
Thank you for the clarifications.
To make the sub menu visible on tab focus, please edit the file that Lance mentioned above (avia-snippet-megamenu.js), look for this block of code..
currentLink.on('mouseenter', function () { sublist.stop().css({ visibility: 'visible' }).animate({ opacity: 1 }); });.. and replace it with:
currentLink.on('mouseenter', function () { sublist.stop().css({ visibility: 'visible' }).animate({ opacity: 1 }); }); currentLink.on('focus', function () { sublist.stop().css({ visibility: 'visible' }).animate({ opacity: 1 }); sublist.find('li:last-child').on('focusout', function () { sublist.stop().animate({ opacity: 0 }, function () { sublist.css({ visibility: 'hidden' }); }); }); });And add this css if you want to see an indicator:
#top .av-main-nav ul a:focus { text-decoration: underline; }This should open the sub menu on tab focus and hide it back after focusing out on the very last menu item in the list. This should work properly on items with single sub menu, but not on items with multiple levels of child menu items.
We’ll forward the issue to our channel.
Best regards,
IsmaelJune 29, 2020 at 8:49 am in reply to: Header shopping cart symbol & Dynamic Pricing & Discounts #1226325Hey yoice,
Thank you for the inquiry.
Why is the product description visible in the cart? Did you add it there? It doesn’t work correctly because the description also contains a .quantity container which is where the script based the value of the cart counter. You have to remove the quantity container or disable the description completely.
Best regards,
IsmaelJune 29, 2020 at 8:37 am in reply to: Blog Posts ALB with Portfolio – do not work as expected #1226323Hi,
Can we have access to the dashboard and the file server? We would like to check the issue.
What do you get when you check the global $posts variable in the loop-index.php file?
Best regards,
IsmaelJune 29, 2020 at 8:11 am in reply to: Category filtering for Woocommerce from WOOF filtering plugin not working #1226318Hey cloudalx,
Thank you for the inquiry.
The plugin will only work on the main shop page or the page set as Base Shop in the Woocommerce > Settings > Products panel, but not in a page with a Product Grid element. The filter is not compatible with the element yet. You have to use it on the base shop page.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like it doesn’t work on the block editor but the slider displays fine when we used the theme’s advance layout builder. Please check the Home page. (see private field)
Best regards,
IsmaelHi,
We tried to login using the account above but it didn’t work — account is invalid. Did you remove the account? Please post the account again so that we can check the issue further.
Best regards,
IsmaelHi,
Thank you for the info. Looks like the issue would only happen when you intentionally try to reproduce it. There’s a very rare chance that a visitor or user will see this issue unless they happen to do exactly what you did above. A user will probably just scan the home page, click the link or page that interests them and continue reading or viewing, but it is a bug, so we’ll try to fix it.
Please try to edit the root\wp-content\themes\enfold\js\avia-snippet-megamenu.js file, and look for this code around line 212:
currentItem.on('mouseleave', function() { sublist.stop().animate({opacity:0}, function() { sublist.css({visibility:'hidden'}); }); });Below, try to add this code:
window.on('debouncedresize', function() { currentItem.trigger('mouseleave'); });Please disable the Performance > File Compression settings after adding the code.
Best regards,
IsmaelHi,
You may need to use this function for the tag pages.
// https://developer.wordpress.org/reference/functions/single_tag_title/
<?php if( is_category() ) { echo '<h1>' . single_cat_title('',false) . '</h1>'; } elseif ( is_tag() ) { echo '<h1>' . single_tag_title('',false) . '</h1>'; } else { ?> <div class="category-term-description"> <?php echo term_description(); ?></div> <?php } ?>Best regards,
IsmaelHi!
You have to move the product tabs using their their designated hooks. Please check the following threads for a possible solution.
// https://kriesi.at/support/topic/product-description-fullwidth/#post-1199710
// https://kriesi.at/support/topic/single-product-page-image-size/#post-1195923Cheers!
IsmaelHi,
Did you enable cookie bar in the Enfold > Privacy & Cookies > Cookie Handling tab? If so, please try to set the next settings Default Cookie Behaviour to the first or second option to automatically enable external services including the analytics tracker on page load.
The login token has expired so we couldn’t access the site anymore. Please provide another token or post a login account in the private field.
Thank you for your patience.
Best regards,
IsmaelJune 26, 2020 at 1:05 pm in reply to: Colour section layout problem in very wide screen and h1 problem in home page #1225797Hi,
2) HOME H1
even though I set to display title and breadcrumbs, home page doesnt show anything and if I manually insert a H1 in the home then WP yoast tells me that there are two H1. Only way is to not write any H1 in the home, but I dont think is a good thing for google….An h1 tag is already added in the first text block, which is why the plugin detects duplicate headings. Did you add any custom fields in the home page? It’s possible that the custom field header_title_bar , which controls the visibility of the title and breadcrumb, is not set properly.
Try to enable the custom fields in the page, look for the header_title_bar field and set it to title_bar_breadcrumb.
Best regards,
IsmaelHi,
You can find our recent reply regarding the masonry element in this thread.
// https://kriesi.at/support/topic/retina-ready-or-not-ready/#post-1225782
And to be able to use an svg file for the logo, you can use this plugin.
// https://wordpress.org/plugins/svg-support/
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the blog posts element is set to grid layout. If it is, the blog posts are rendered through the postslider.php file located in the enfold\config-templatebuilder\avia-shortcodes\postslider folder. You can add your own modifications inside the html function of the avia_sc_postslider class. And if you want to do it in the child theme, please check the documentation below.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
IsmaelHi,
You’re very welcome! Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelJune 26, 2020 at 12:34 pm in reply to: Enfold does not work the change of image in variable product woocommerce #1225790Hi,
Thanks for chiming in. For now, you have to use the default Woocommerce gallery to make the variation image switch work. It doesn’t work on the Enfold product gallery because the markup is not the same as the default gallery. If you have other concerns, please don’t hesitate to open a new thread.
Best regards,
IsmaelHi,
Sorry for the troubles. The icons are not displaying properly because the entypo-fontello.woff file is not available or is not loading properly.
Did you set the nginx server to allow font files? This location directive should be added in the nginx.conf file inside the server context.
location ~* \.(?:eot|woff|woff2|ttf|svg|otf) { access_log off; log_not_found off; expires 5m; add_header Cache-Control "public"; # allow CORS requests add_header Access-Control-Allow-Origin *; }Best regards,
IsmaelJune 26, 2020 at 12:16 pm in reply to: (IPad OS) images blurry with wrong stretch/resolution #1225784Hi,
Thank you for that info.
Fixed background images are not fully supported on iOS devices and they usually cause issues when the background size property is set to “cover”. To fix the issue on iPad Pro device, we have to disable the fixed effect and set it to default or “scroll”.
@media only screen and (max-width: 1366px) { .flex_cell { background-attachment: scroll !important; } }Please disable or toggle the Performance > File Compression settings after adding the code.
Firefox does not appear to support the local value when applied on a textarea element.
Chrome has an issue that occurs when using the will-change property on a selector which also has background-attachment: fixed defined. It causes the image to get cut off and gain whitespace around it.
iOS has an issue preventing background-attachment: fixed from being used with background-size: cover – see details// https://caniuse.com/#feat=background-attachment
Best regards,
IsmaelHi,
@rockdesignnet: The masonry element uses a specific thumbnail which is also named “masonry”. The maximum width and height of this thumbnail is set to 705px, but it can be adjusted manually by doing the same steps that we provided previously, but with a different plugin.You have to adjust the size of the Large size thumbnail in the Settings > Media panel. It is currently set to 1030x1030px. After the adjustment, try to upload the images again or use the following plugin to regenerate the thumbnails.
You have to install the Simple Image Sizes plugin, adjust the size of the “masonry” thumbnail in the Settings > Media panel, then regenerate the thumbnails or upload the images again.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
IsmaelJune 26, 2020 at 12:02 pm in reply to: button link option display wrong after copy to other language using WPML again #1225779Hey!
I was informed that the patch was already added in the theme and a filter is also available if you need to modify it. The filter is called avf_alb_options_select_hierarchical_post_type_id, and the patch is inside the wp-content\themes\enfold\config-wpml\config.php file.
/** * Fixes problem with links to posts/pages in ALB elements in modal popup in backend (reported and provided by WPML comp. team) * * @since 4.5.7.2 * @param int $selected_id * @param string $object_type 'page' | 'post' | 'category' | ...... * @param array $option_selected * @param array $element * @return int */ function avia_wpml_alb_options_select_hierarchical_post_type_id( $selected_id, $object_type, array $option_selected, array $element ) { $selected_id = apply_filters( 'wpml_object_id', $selected_id, $option_selected[0], true ); return $selected_id; } add_filter( 'avf_alb_options_select_hierarchical_post_type_id', 'avia_wpml_alb_options_select_hierarchical_post_type_id', 10, 4 );Best regards,
IsmaelHi,
Did you enable the social icons from the Header > Extra Elements > Header Social Icons settings? The icons should be available in the page so that the script can move them inside the mobile menu. We tried to login to the site but the previous account is not valid.
Best regards,
IsmaelJune 26, 2020 at 11:54 am in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1225775Hi,
Sorry for the troubles. The sub menu is already set to respond on hover, focus or mouseenter events but what’s not available is the use of keyboard arrows to navigate back or to the previous and next items. You can still Tab through the navigation or links within the page. Adding this css code should add an indicator that a menu item is active.
.av-main-nav > li > a:focus, .av-main-nav > li > a:hover { text-decoration: underline; }The Ubermenu plugin has a specific documentation for Enfold. Please check the following documentation.
// https://sevenspark.com/docs/ubermenu-enfold
Best regards,
IsmaelHi,
Sorry for the late response. You might have to modify the config-templatebuilder\avia-shortcodes\postslider\postslider.php file in order to move the category above the title. Look for this code around line 842:
$output .= "<{$heading} class='slide-entry-title entry-title {$css}' $markup><a href='{$link}' title='" . esc_attr( strip_tags( $title ) ) . "'>{$title}</a></{$heading}>"; // modern business style if( ( strpos( $new_blogstyle, 'modern-blog' ) !== false ) && ( $new_blogstyle != '' ) ) { $output .= $meta_out; }Move $metaout above the the $title.
Best regards,
IsmaelHi,
Sorry for the delay. The grid layout doesn’t look like that by default. Are you using the masonry element? If you are, try this css code in the Quick CSS field or the style.css file.
.av-masonry-entry .avia-arrow { background: #fff; top: -5px; border: none; }If you want to adjust the size of the arrow a bit, use this:
.avia-arrow { height: 10px; width: 10px; position: absolute; top: -6px; left: 50%; margin-left: -5px; -webkit-transform: rotate(45deg); transform: rotate(45deg); border-width: 1px; border-style: solid; visibility: hidden\9; }Alter the width and height property.
Best regards,
IsmaelJune 25, 2020 at 11:36 am in reply to: Adding Shortcode to "Link portfolio item to external URL" #1225453Hey forgottensky,
Thank you for the inquiry.
We are not really sure how the borlabs content block works but you can add an overlay above the portfolio item using a filter. Maybe you can create a script that removes the overlay when the user opt in to play the video or click the button in the overlay.
You can add this in the functions.php file:
add_filter('avf_portfolio_custom_overlay', function($overlay, $entry) { $id = $entry->ID; $custom_link = get_post_meta( $id, '_portfolio_custom_link', true ) != '' ? get_post_meta( $id, '_portfolio_custom_link_url', true ) : false; if($custom_link) { $overlay .= "<div class='grid-entry-privacy-overlay'><span>You shall not pass!<span></div>"; } return $overlay; }, 10, 2);.. then use this css code to style the overlay a bit:
.grid-entry-privacy-overlay { display: table; position: absolute; text-align: center; width: 100%; height: 100%; background: rgba(0,0,0,0.3); } .grid-entry-privacy-overlay span { display: table-cell; vertical-align: middle; color: #ffffff; font-size: 2em; }You can also try and add the borlabs shortcode as the output of the overlay filter.
Best regards,
IsmaelHi,
Sorry for the delay. The breadcrumb is now displaying properly in the forum pages. We modified the snippet in the functions.php file a bit.
//show bbpress forum breadcrumbs add_action('after_setup_theme', function() { remove_filter('bbp_get_breadcrumb','avia_fetch_bb_trail',10,3); }, 9999);Best regards,
IsmaelHi,
We are not yet sure why the icons are not displaying, but we found an error in the console which might be related to the issue.
This is the error:
Uncaught SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data onload <a href="https://d335luupugsy2.cloudfront.net/js/chat_button/stable/chat_button.min.js?uniq=0.2695216924159266:1" rel="nofollow">https://d335luupugsy2.cloudfront.net/js/chat_button/stable/chat_button.min.js?uniq=0.2695216924159266:1</a>Do you have any idea where it’s from, or how it’s loaded?
Best regards,
Ismael -
AuthorPosts
