Forum Replies Created
- 
		AuthorPosts
 - 
		
			
				
Hey betaphase,
Thanks for the update.
We are currently improving the reCATPCHA option in the theme. Are you using it for your contact form? The following line will only be executed if the option is enabled.
if( $this->is_recaptcha() ) { $proceed = $this->check_recaptcha_token( $new_post['label_input'] ); // <--- this line renders any change to the value of $proceed in the callback filter useless! if( $proceed ) { delete_transient( 'avia_recaptcha_transient_' . $proceed ); } }Best regards,
IsmaelHi,
1.) The css code above should add a focus state to every link in the page.
Add :focus (tab) styling to all links (primarily an issue in the site’s footer)
a:focus { text-decoration:underline !important; }2.) Just make sure that there are no elements with the same ID in the page.
Make sure that all“id” attributes are unique on every page
3.) Use the “avf_social_media_icon_aria_label_value” and “avf_social_share_links_aria_label_value” the to add an aria-label attribute to the social icons.
Add appropriate “aria-label” attributes to links that do not have discernible text (primarily for the social media links in the footer)
4.) This should be editable in the header.php file.
Remove the “maximum-scale=1” attribute from “” tag
Look for this line.
if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';5.) This might take a while to implement.
Make sure all site content is contained within “landmark” regions (, , , )
// https://www.w3.org/WAI/GL/wiki/Using_ARIA_landmarks_to_identify_regions_of_a_page
6.) You should check your design and make sure that the color or theme has the right contrast.
Ensure that all elements have sufficient color contrast
This plugin might help: https://getkontrast.now.sh
7.) Edit the footer.php file and look for this code.
ARIA hidden element must not contain focusable elements
<a href='#top' title='<?php _e('Scroll to top','avia_framework'); ?>' id='scroll-top-link' aria-hidden='true' <?php echo av_icon_string( 'scrolltop' ); ?>><span class="avia_hidden_link_text"><?php _e('Scroll to top','avia_framework'); ?></span></a>Add the aria-hidden=”true” attribute.
8-9.) The heading tags (h1-h6) should be added in the page in a consecutive manner. You shouldn’t add an h4 after an h2 or h3 after an h1.
Make sure that all headings (H1-H6) are contextually appropriate, and ordered correctly
Make sure that heading levels only increase by one (H1 followed by H2, never H1 followed by H4)
Try to follow this guideline:
// https://www.w3.org/TR/WCAG20-TECHS/ARIA12.html
If you don’t want to use the special heading element, you can add an element manually using a text or code block and then add the role=”heading” and “aria-level” attribute to it.
// https://www.w3.org/TR/WCAG20-TECHS/ARIA12.html
10.) Add an h1 special heading element in every page.
Make sure that all pages contain a top-level H1 tag
11.) Make sure that every image in the Media > Library contains a description, alt and title attribute.
Best regards,
IsmaelHi,
Thanks for the update.
Those pages seem to be loading the Open Sans ExtraBold font instead of the Open Sans SemiBold font even though the font weight is set to 700. Try to deactivate the “Google Fonts for WordPress” plugin temporarily.
Best regards,
IsmaelHi,
Thanks for the update.
The current layer slider in the “Programme” page looks different from the previous one. Did you change it?
// https://imgur.com/a/b4Zu6YE
Best regards,
IsmaelMay 30, 2019 at 4:11 am in reply to: Image not aligned anymore when setting the min width as 100% browser window #1105324Hey transformmedia,
Thanks for the update.
We set the minimum width to 100% and added this css code in the Quick CSS field to align the elements at the bottom of the section.
.home #main #av_section_1.avia-section .template-page { padding: 0 !important; vertical-align: bottom; }Apply a unique Section ID to the color section if necessary.
Best regards,
IsmaelHey Ikyo,
Thank you for using Enfold.
That is the default value of the post_type parameter in the query of the posts elements (magazine, blogs posts, portfolio grid etc). It doesn’t necessarily mean that it will fetch all posts from every post type in the list because the query also contains the “tax_query” parameter.
// https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
The post types could share the same taxonomy, so this is an easier way to return posts from those post types when necessary.
Best regards,
IsmaelHey Michael,
Thank you for using Enfold.
That is the scrollspy script for the main menu items. It’s in the js > avia.js file.
//scrollspy for main menu. must be located before smoothscrolling if($.fn.avia_scrollspy) { if(container == 'body') { $('body').avia_scrollspy({target:'.main_menu .menu li > a'}); } else { $('body').avia_scrollspy('refresh'); } }You can disable that script but it will also affect the smooth scroll option.
Best regards,
IsmaelHi,
Thank you for the update.
You can use the wp_is_mobile function to load the appropriate URL pattern for desktop and mobile device.
// set whatsapp url pattern add_filter('avia_social_share_link_arguments', 'avia_social_share_link_arguments_mod', 10, 1); function avia_social_share_link_arguments_mod($args) { $pattern = 'https://web.whatsapp.com/send?text=[permalink]'; if ( wp_is_mobile() ) { $pattern = 'whatsapp://send?text=[permalink]'; } $args['whatsapp'] = array("encode"=>true, "encode_urls"=>false, "pattern" => $pattern, 'label' => __("Deel via WhatsApp",'avia_framework')); return $args; }Best regards,
IsmaelMay 30, 2019 at 3:26 am in reply to: Masonry – Portfolio Entry Displayed Although It Doesn't Meet Condition #1105316Hey rainert,
Thank you for using Enfold.
The post navigation is based on the get_adjacent_post function, so it returns the next or previous post in the order they were published. It doesn’t matter which category the posts belong to. If you want to filter out or exclude posts from different categories, use the “avf_post_nav_settings” filter and set the “same_category” parameter to true.
/* * $same_category: return posts from the same taxonomy term */ add_filter('avf_post_nav_settings','avf_post_nav_settings_mod', 10, 1); function avf_post_nav_settings_mod($settings){ $settings['same_category'] = true; return $settings; }Best regards,
IsmaelHi,
Thanks for the update.
Are you using the latest version (4.5.7) of the theme? A fix was included in the latest version.
You can also try the following css code.
// https://kriesi.at/support/topic/blurry-images-and-text-on-blopg-post-grid/#post-1079913
Best regards,
IsmaelHi,
Did you add the following css code? That limits the height of the container and constrain the overlay wrapper.
@media (orientation: portrait) { #av_section_1 .container { height: 70vw!important; } }We would like to apologize for the late response. We’ll try to reply to this thread as soon as possible.
Best regards,
IsmaelMay 29, 2019 at 5:41 am in reply to: Video: Lazy Load does not work (non-rendered shortcode only) #1105045Hi,
Thanks for the update.
The m4v is not included in the list supported formats by the video shortcode. You can only use mp4, ogg, web and ogv. You can also upload the video to youtube or vimeo.
If you want to disable the loop, edit the framework > php > function-set-avia-frontend.php file. Look for the code inside the “avia_html5_video_embed” function around line 616:
$loop = $attributes['loop'] == 1 ? 'loop' : '';Best regards,
IsmaelHi,
Sorry for the late reply. Looks like you removed the search icon from the secondary menu. Could you post another login account? The one above seems to be invalid.
Best regards,
IsmaelHey Chris_85,
Thank you for using Enfold.
You can use the “woocommerce_before_shop_loop” hook to insert additional content above the product grid. An example can be found in the following link.
// http://hookr.io/actions/woocommerce_before_shop_loop/
Best regards,
IsmaelMay 29, 2019 at 5:15 am in reply to: Transparent header on mobile devices and customisation of colors? #1105042Hey SocialView,
Thank you for using Enfold.
1.) That is the default header style on mobile view. The transparent and fixed header options are disabled by default. It can be adjusted using css but it’s not recommended.
Example here: https://kriesi.at/support/topic/sticky-header-mobile-2/#post-686480
2-3.) We can’t get past the maintenance mode page even when we try to access the login page. Did you change the login url?
We would like to apologize for the late response.
Best regards,
IsmaelHi,
Thanks for the update.
Did you set the menu color to white? The menu items are not visible because they have the same color as the background. And we don’t see the “Design” menu item. Did you remove it?
If you want to adjust the menu color, go to the General Styling panel or use this css code.
#top #wrap_all .header_color.av_header_transparency, #top #wrap_all .header_color.av_header_transparency .phone-info.with_nav span, #top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-text, #top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-subtext { color: #ff0000; }Best regards,
IsmaelHi,
But this gives me too much space on top and bottom – you might want to take a look.
Try to remove the widget padding.
#top #header #header_main .widget { padding: 0; }ALSO: I still don’t have a solution that the font is not showing in font-weight 200 but fat.
That font weight is not available for that font. You should set it to 100 instead.
#top #wrap_all #text-7 .textwidget h1 { font-weight: 100; }If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelMay 28, 2019 at 1:24 pm in reply to: Site moved to new server – masonry, portfolio grid and Blog posts not working #1104824Hi,
Could you post the actual link to the thread? We can’t access it using that id. And please don’t forget to add the necessary login details so that we can debug the issue if needed.
Best regards,
IsmaelHi,
We can’t reproduce the issue on our own installation, so it’s probably cause by a custom css modification. You can override it with this css code.
@media only screen and (max-width: 767px) { .responsive #top.template-page .big-preview { padding: 0 0 10px 0; } }This is what we need to override because it pushes the preview image.
.template-page .big-preview { display: block; padding: 0 0 10px 131px; text-align: center; }Best regards,
IsmaelHi,
I see. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day. And thank you for your patience.
Best regards,
IsmaelHi,
@fulanoinc: Did you use the “avf_alb_supported_post_types” filter? Please open a new thread with the necessary details so that we can inspect the issue.
@isee: Thank you for the confirmation.Best regards,
IsmaelHi,
Great! Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
And bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)Best regards,
IsmaelHi,
You’re welcome. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Alright. Glad that you found a solution. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thanks for the info.
The content of the tab section are center aligned on Chrome Windows 7.
Screenshot: https://imgur.com/a/Bv8fxBF
Where are you testing it?
Best regards,
IsmaelHi,
Thanks for the update.
We edited the code a bit to exclude the single post page or prevent duplicating the content. The sub menus are now displaying in the archive and single post pages. (see private field)
add_action( 'ava_after_main_title', 'ava_after_main_title_mod' ); function ava_after_main_title_mod() { $the_id = null; if( is_archive() ) { $the_id = 8416; } else if( is_category() ) { $the_id = 8420; } else if( is_single() ) { $the_id = 8412; } // } else if( avia_get_option('blogpage') == get_the_ID() ) { // the blog page // $the_id = 8412; // } $post = get_post( $the_id ); if( ! $post instanceof WP_Post || $post->ID == get_the_ID() ) { return false; } $content = Avia_Builder()->compile_post_content( $post ); echo $content; }Best regards,
IsmaelMay 28, 2019 at 12:36 pm in reply to: Inserting URLs in text tab with a parameter named 'region' #1104785Hi,
Strangely, one cannot edit the functions.php file of my child theme from the admin panel via “Appearance > Editor”.
UPDATE: Please post the FTP details in the private field so that we can edit the file.
Best regards,
IsmaelMay 28, 2019 at 12:36 pm in reply to: Inserting URLs in text tab with a parameter named 'region' #1104784Hi,
Thanks for the update.
I can’t reproduce the issue on my end. The “marketplace=amazon®ion” remains as is when I edit the text blocks and update the page.
Where did you add the snippet? The functions.php file is blank and there is no PHP snippet plugin installed.
Best regards,
IsmaelHi,
Sorry for the confusion.
Try to add a conditional function to the “woocommerce_get_image_size_thumbnail” filter.
add_filter( 'woocommerce_get_image_size_thumbnail', function( $size ) { if( ! is_singular('product') ) { return array( 'width' => 200, 'height' => 300, 'crop' => 0, ); } return $size; } );This should only set the width to 200px on catalogue or product archive pages.
Best regards,
Ismael - 
		AuthorPosts
 
