Forum Replies Created

Viewing 30 posts - 18,271 through 18,300 (of 67,463 total)
  • Author
    Posts
  • Hi,

    I want to understand, what you mean, if you say, it’s for aesthetic.

    It means that the css or script were added to attain a certain design or layout. You can’t make a tab invisible without setting the visibility to hidden or without setting its opacity to 0 first. You can’t hide the next or previous slide without setting it’s display property to none, or without removing it completely from the DOM. I’m sure that the Google developers who are responsible for the detection script have seen a tab or an accordion before and probably added an algorithm or condition — if it does exists — that says “oh this is a tab, it can’t be deceptive, so let’s skip it and move on”.

    You can find a few examples here that almost do the same thing.

    // https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_accordion
    // https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_tabs
    // https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_full_page_tabs

    They set the initial display property to none and only set it to block or make the element visible when someone click on the tab.

    Best regards,
    Ismael

    in reply to: Layerslider wp – Stop media at slide change #1220370

    Hi,

    Thank you for the info.

    You can try this script inside the Media Events > mediaDidStart() callback.

    	var audio = document.getElementsByClassName("wp-audio-shortcode"); 
    	for (var i = 0; i < audio.length; i++) {
    		audio.item(i).pause();
                    audio.item(i).currentTime = 0;
            }
    

    It will pause the audio immediately before it actually starts.

    Best regards,
    Ismael

    Hi,

    It is working properly on our end — we don’t get any error. Did you copy the code from your email? Please try to copy it directly from the forum to avoid conversion of symbols to something else, which is what probably caused the snippet to break. If it’s still not working after, please post the login details in the private field so that we can see what’s going on.

    Best regards,
    Ismael

    in reply to: WCAG 2.1 Level AA and landmarks #1220367

    Hi,

    Thank you for following up.

    You will have to create a new shortcode path in the child theme folder to be able to override an existing builder element or create custom ones. Please check the documentation for more info. Just add the snippet in the functions.php file and create a folder called “shortcodes” in the child theme directory. You can then make a copy of the section.php file and do the modifications inside that folder.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    For the markup, please add this snippet in the functions.php file.

    function avf_markup_helper_attributes_modified($attributes, $args) {
    	if($args['content']) {
    	    unset($attributes['role']);
                unset($attributes['itemprop']);
    	}
    
    	return $attributes;
    }
    add_filter('avf_markup_helper_attributes', 'avf_markup_helper_attributes_modified', 10, 2);
    

    This should disable the attributes.

    Best regards,
    Ismael

    Hey S.,

    Thank you for the inquiry.

    That is for aesthetic purposes and not in any way deceptive. The toggle_wrap has to be hidden by default and only display when a toggle or tab is active. This is the reverse or active toggle css.

    .active_tc.toggle_wrap {
    	position: static;
    	visibility: visible;
    	left: 0;
    	width: auto;
    	z-index: 1;
    	display: none;
    }
    

    If that css technique is considered deceptive, most if not all websites with tabs or accordions will be flagged as deceptive sites.

    Best regards,
    Ismael

    in reply to: Portfolio Grid – Sort Order #1219391

    Hey h-i-m,

    Thank you for the inquiry.

    You can add 2 portfolio grid elements in the page — first one will display the sticky portfolio item and the other one will show the rest of the portfolio items. Unfortunately, you can’t set a portfolio grid item as sticky by default.

    Best regards,
    Ismael

    Hi,

    That is actually expected because iOS and a few browsers on mobile devices only have partial support for fixed elements. You can find the browser compatibility stats in the following link — check the Notes and Known Issues tabs.

    // https://caniuse.com/#feat=background-attachment

    Most mobile devices have a delay in updating the background position after scrolling a page with fixed backgrounds.
    1 Partial support refers to supporting fixed but not local
    2 Partial support refers to supporting local but not fixed
    3 Only supports local when -webkit-overflow-scrolling: touch is not used
    4 Does not support fixed, and due to a bug only supports local if a border-radius is set on the element. 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

    Please note that the css code above doesn’t fix the issue, it actually disables the fixed effect and changes the behavior of the background so that it scrolls relative to the page as it does normally.

    Best regards,
    Ismael

    in reply to: LOST Image feature #1219383

    Hey ChrisCoach,

    Thank you for the inquiry.

    Looks like you’ve switched the editor to the advance layout builder (ALB). Please note that all default elements including the featured image will not display automatically when ALB is active. You have to add the image manually using the available image elements in the builder.

    Best regards,
    Ismael

    in reply to: Big SEO issue URGENT #1219368

    Hi,

    Sorry for the late response. Looks like you’ve managed to add the h1 element or title using the Special Heading element. Let us know if you need more help.

    Best regards,
    Ismael

    in reply to: Bildunterschrift bei Blogbildern #1219365

    Hey Bernd,

    Thank you for the inquiry.

    We tried to translate the inquiry using Google so that we can understand the question, but the translation is a bit unclear. Can you translate the inquiry?

    This is the Google translation.

    I need help with captions. In general, the pictures must be provided with a reference to me immediately visible. Unfortunately, I cannot currently implement this with Enfold. Is there any help there?
    Here is a sample post: https://bg-press.de/2020/05/28/zwei-verletzte-bei-pkw-brand-in-halle-von-autoverwerter/
    There should be a source under the title picture.

    Best regards,
    Ismael

    Hey bts-de,

    Thank you for the inquiry and sorry for the delay. You will have to create a duplicate of the portfolio file in the child theme’s shortcode path, so first you have to create a new shortcode path in the child theme. Please check this documentation for more info.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    Best regards,
    Ismael

    Hey Christian,

    Thank you for the inquiry.

    Looks like those markup or html files are generated by the bbPress plugin. Can we access the site? Please post the login details in the private field. And for additional assistance, please contact the plugin developers.

    Best regards,
    Ismael

    Hi,

    What does helper-assets.php do at line 342?

    The line is a loop, which iterates through the global variable $posts and the error occurs because the said variable is not found or undefined. Did you add a video in the page? Please check the following thread for a possible fix.

    Related thread:

    // https://kriesi.at/support/topic/php-warning-message/#post-1192124
    // https://kriesi.at/support/topic/invalid-argument-supplied-for-foreach-in-helper-assets-php-on-line-327/#post-1042129

    Best regards,
    Ismael

    in reply to: Responsive version #1219354

    Hi,

    Sorry for the delay. It’s not working properly because the slug of the page IniciARTivas is the same as the slug of the custom post type IniciARTivas, so they are in conflict with each other. You have to adjust the name of the IniciARTivas page or change the slug of the custom post type.

    To make it work temporarily, we edited the URL of the IniciARTivas page — appended letter p at the very end, so instead of /iniciartivas/, the URL would be /iniciartivasp/. (see private field)

    Best regards,
    Ismael

    Hey kjwaggz,

    Thank you for the inquiry.

    Did you change the selector “vid1” to the actual id of the player inside the color section? This is the markup of the video in the color section.

    <video class="avia_video av-mediajs-loaded" autoplay="" loop="" preload="metadata" muted="" id="player_19_1393522152_1410262048_html5" src="https://d1g9724afgpznt.cloudfront.net/wp-content/uploads/sites/13/2020/04/23064701/bigstock-a-jib-shot-of-a-beautiful-farm-12593079411.mp4"><source src="https://d1g9724afgpznt.cloudfront.net/wp-content/uploads/sites/13/2020/04/23064701/bigstock-a-jib-shot-of-a-beautiful-farm-12593079411.mp4" type="video/mp4"></video>
    

    The id is “player_19_1393522152_1410262048_html5”.

    Best regards,
    Ismael

    in reply to: Layerslider wp – Stop media at slide change #1219345

    Hey romano2,

    Thank you for the inquiry.

    How did you add the media file, and where did you get the above snippet from? Please provide a link to the page containing the layer slider so that we can check it.

    The following documentations might help.

    // https://layerslider.kreaturamedia.com/documentation/#layerslider-api
    // https://www.iolo.com/content/plugins/LayerSlider/docs/api.html

    Best regards,
    Ismael

    in reply to: Image size enfold remove cleanly #1219343

    Hey Luc,

    Thank you for the inquiry.

    How to remove this image size in functions.php child ?

    You can move the provided filter from the previous thread in the child theme’s functions.php file. And if you want to retain other sizes, just look for these lines:

    remove_image_size('magazine');
     remove_image_size('portfolio_small');
    

    The lines above disable the “magazine” and the “portfolio_small” thumbnail, so if you want to retain those thumbnails, you have to delete those lines.

    Best regards,
    Ismael

    in reply to: Layerslider problems after Update #1219342

    Hey André,

    Sorry for the delay. The layer slider works fine on Firefox Dev Windows 10 — we checked the home page. Did you figure out the issue?

    Best regards,
    Ismael

    in reply to: Enfold and LifterLMS #1219340

    Hey Walter Pisarnik,

    Thank you for the inquiry.

    There were a few users who reported issues with the plugin but only minor ones, so it should work fine but you should expect some template modifications to make the plugin completely work with the theme. Another LMS alternative is Learndash.

    Related threads:

    // https://kriesi.at/support/topic/lms-learning-management-system
    // https://kriesi.at/support/topic/latest-enfold-5-not-installing-javascript-for-lifterlms-plugin

    Best regards,
    Ismael

    in reply to: hover affect looks weird on safari #1219103

    Hey bobfurgo,

    Sorry for the delay. The site is asking for another authentication. Please include it in the private field, then we’ll check the site. Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Overlay for Color Section #1219102

    Hi,

    Yes, you should be able to add extra content in the socket container, but you have to modify the footer.php file directly. This is the socket container I(line 191).

    
    				<footer class='container_wrap socket_color' id='socket' <?php avia_markup_helper(array('context' => 'footer')); ?>>
    <div class='container'>
    

    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,
    Ismael

    in reply to: PHP 7.1 / 7.2 / 7.3 don't work #1219100

    Hi,

    What is the version of the theme in your installation? Please make sure that it contains the latest version, v4.7.5. Older versions may not be compatible with the latest PHP.

    We can’t access the site because it has SSL certificate issues. Please ask your hosting provider for additional assistance.

    Best regards,
    Ismael

    Hi,

    Glad to know that you managed to make it work. 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,
    Ismael

    in reply to: Sub Menu Item Spacing on Enfold Mega Menu #1219097

    Hi,

    Sorry for the delay.

    It doesn’t look like that on our end. However, we noticed that the line under the active menu item is out of alignment. You can use this css code to fix it.

    .avia-menu-fx {
    	display: none !important;
    }
    
    .html_header_top .header_color .main_menu ul:first-child > li > ul, .html_header_top #top .header_color .avia_mega_div > .sub-menu {
    	border-top: 0;
    	z-index: 1000;
    }
    
    .html_header_top .header_color .main_menu ul:first-child > li > ul.sub-menu {
    	border-top: 1px solid;
    	margin-top: 1px;
    }

    Best regards,
    Ismael

    in reply to: Tab section width and alignment #1219089

    Hi,

    Sorry for the delay. You can add this css code to center align the arrow.

    .av-tab-arrow-container {
    	width: 210px;
    }

    Best regards,
    Ismael

    in reply to: Submenu color #1219085

    Hi,

    Sorry for the delay. You can use this css code to change the color of the sub menu items under “home”.

    .menu-item-121 ul li {
    	background: orange;
    }

    As you may notice, there is a number or integer (121) in the css selector above. That number is the menu ID, so you should be able to target the rest of the menu items by using the same pattern and by changing the menu ID to the ID of the next menu item that you want to adjust.

    Another example:

    .menu-item-79 ul li {
    	background: orange;
    }
    

    This is the same css but this time, we change the menu ID to 79, so it will apply the changes to the “a domicile” menu item instead of the “home” menu item.

    You should be able to see the ID of the menu items by inspecting the elements in the browser dev tools.

    // https://developers.google.com/web/tools/chrome-devtools

    Best regards,
    Ismael

    in reply to: Cookies notification #1219075

    Hey nm,

    Thank you for the inquiry.

    Did you to try adjust the Refuse Cookie Warning text from the Enfold > Privacy & Cookies > Cookie Handling panel? You can also use the Loco Translate plugin to manually adjust the translations.

    // https://wordpress.org/plugins/loco-translate/

    Best regards,
    Ismael

    Hi,

    Great! Glad it helped. If you still want to minify the resources, try to install a third party plugin like Autoptimize or BWP Minify and keep the default compression option disabled.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: WCAG 2.1 Level AA and landmarks #1219067

    Hi,

    Thank you for the info.

    Looks like the color section renders a main tag inside the container. Unfortunately, we can’t adjust it without editing the enfold\config-templatebuilder\avia-shortcodes\section.php file directly. You’ll find the main element around line 1314:

    
    					$markup = 'main '.avia_markup_helper(array('context' =>'content','echo'=>false, 'custom_markup'=>$custom_markup));
    

    And the closing tag is located around line 1344:

    $avia_section_markup = false;
    			$close_markup = '</main><!-- close content main element -->';
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update and for the kind words.

    You can try this snippet in the functions.php file to adjust the default ajax search query.

    add_filter('avf_ajax_search_query', 'avf_modify_ajax_search_query', 10, 1);
    function avf_modify_ajax_search_query($search_parameters)
    {
        parse_str($search_parameters, $params);
        $params['orderby'] = 'post_date';
        $params['order'] = 'ASC'; // default is DESC
        $search_parameters = http_build_query($params);
        return $search_parameters;
    }

    We just changed the order from DESC to ASC.

    // https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameter

    Best regards,
    Ismael

Viewing 30 posts - 18,271 through 18,300 (of 67,463 total)