Forum Replies Created
-
AuthorPosts
-
Hey egm1971,
Thank you for the inquiry.
Where can we check the issue? Please provide a link to the page containing the promo box so that we can check the issue properly. There seems to be an issue with the color picker based on the error that you posted above.
Is it working correctly when the Enfold > Performance > File Compression settings are disabled?
Best regards,
IsmaelHi,
Thank you for the inquiry.
It might be an issue with the file compression settings. You should also make sure that the css modification are applied on every languages if you are using the Quick CSS field. Please note that each language has its own theme options, so we usually recommend placing the custom css modifications in the child theme’s style.css instead of the Quick CSS field to make sure that the style changes are applied to all languages.
Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelApril 19, 2022 at 11:29 am in reply to: cURL error 28: Connection timed out after 10000 milliseconds #1348766Hey SenGaxD,
Thank you for the inquiry.
Where is the site hosted? You might have to ask your hosting provider to whitelist this IP address (85.13.149.161) to allow connection to the source of the demo files. Once the IP is allowed, try to download the demo files again, then import it.
Best regards,
IsmaelHey Kren,
Thank you for the inquiry.
The fields in the checkout page should have borders by default. Did you add any custom css in the site? Please post the site URL in the private field so that we can check the checkout page properly.
Best regards,
IsmaelHi,
The favicon is displaying correctly on my end as well. Have you tried testing it on a different device or computer? Please check the screenshot in the private field.
Best regards,
IsmaelApril 19, 2022 at 11:15 am in reply to: Non-centered footer with "always fixed" "left sidebar" main menu #1348763Hey Ploti,
Thank you for the inquiry.
We cannot see the issue on the demo page. Please provide the site URL in the private field and a screenshot of the layout issue so that we can check it properly.
Best regards,
IsmaelApril 19, 2022 at 11:09 am in reply to: timeline on mobile does'nt show correctly unless you turn the phone to landscape #1348762Hi,
We cannot access the login or the wp-admin page, it redirects to a 404 page. Did you change the login URL? Please include the correct login URL in the private field.
Best regards,
IsmaelHi,
Great! Glad we could be of help. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey hmichaela,
Thank you for the inquiry.
Did you set the front or home page in the Enfold > Theme Options > Frontpage Settings? You can also set a static page as home page in the Settings > Reading panel. Set the Your homepage displays settings to the second option (A static page) and select the appropriate page.
// https://polylang.pro/doc/define-your-home-page-as-a-static-page/
Best regards,
IsmaelApril 19, 2022 at 10:56 am in reply to: Need a workaround for "please set a mobile device fallback image for this video #1348758Hi,
We created an example of the layer slider with background video in a test page. Please check the link in the private field.
In order to apply a background video to the layer slider, you have to add a new Video/Audio layer and enable the Background Video option under the Layer Settings > Media Options panel. You can also adjust the slider size in the Project Settings > Layout panel, we selected the Hero option in this example.
Best regards,
IsmaelHey Ahmad,
Thank you for the inquiry.
The code above will only work for the masonry element, and only once the document is scrolled. Not sure why you would want that. Try to replace the script above with the following code.
function ava_custom_script() { ?> <script> (function($){ // set the target attribute of the portfolio items to <code>_blank</code> $('.grid-image').attr('target','_blank'); }(jQuery)); </script> <?php } add_action('wp_footer', 'ava_custom_script', 999);Please make sure to purge the cache or remove the browser history before testing the page.
Best regards,
IsmaelHi,
We deactivated the WP Super Cache and Autoptimize plugin and disabled this code in the functions.php file temporarily. The consent modal box is no longer displaying and the video is now working as expected.
function noellmn_add_erecht24_code() { ?> <script type="application/javascript" src="https://app.usercentrics.eu/latest/main.js" id="7bx8tGQDy"></script> <script type="application/javascript" src="https://privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js"></script> <link rel="preconnect" href="//privacy-proxy.usercentrics.eu"> <link rel="preload" href="//privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js" as="script"> <?php } // add_action('wp_head', 'noellmn_add_erecht24_code');You may need to contact the usercentrics team for additional info about the script.
Best regards,
IsmaelHey Stefan,
Thank you for the inquiry.
You don’t need to increase the size of the color section container in order to adjust the size of the background video. It should automatically cover or inherit the width of the color section. Please provide a link to the page containing the color section so that we can check it properly.
Best regards,
IsmaelHi,
Glad to know that this has been solved and thanks for posting the final changes. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
Sorry for the delay. Try to replace the whole code block with the following code.
$class_string .= $this->ratio_check_by_tag( $entry['tags'] );This modification should check for the orientation tags and apply the appropriate class name to the masonry items regardless of the other conditions.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
Have you tried adding the html manually in a text or code block? The flip effect relies on the back and front data attributes, which contain the link or button text. Unfortunately, there is no option to add data attributes to the button element.
This is the html of the button with the flip effect.
<a href="#" class="btn-flip" data-back="Back" data-front="Front"></a>You can add the css in the Quick CSS field.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
This is possible but you have to modify the enfold/config-templatebuilder/avia-shortcodes/gallery/gallery.php around line 683.
$thumbs .= "<a {$lightbox_attr} data-rel='gallery-" . self::$gallery . "' data-prev-img='{$prev[0]}' {$class} data-onclick='{$counter}' title='{$lightbox_title}' {$markup_url} {$rel}>"; $thumbs .= $img_tag; $thumbs .= " <div class='big-prev-fake'>{$prev_img_tag}</div> "; $thumbs .= '</a>';Replace it with:
$caption = wp_get_attachment_caption( $attachment->ID ); $thumbs .= "<a {$lightbox_attr} data-rel='gallery-" . self::$gallery . "' data-prev-img='{$prev[0]}' {$class} data-onclick='{$counter}' title='{$lightbox_title}' {$markup_url} {$rel}>"; $thumbs .= $img_tag; $thumbs .= "<span class='avia-gallery-caption'>{$caption}</span>"; $thumbs .= " <div class='big-prev-fake'>{$prev_img_tag}</div> "; $thumbs .= '</a>';Then add this css code to display the avia-gallery-caption container.
#top .avia-gallery .avia-gallery-caption { display: block; }This modification should display the caption below the gallery thumbnails.
Best regards,
IsmaelApril 18, 2022 at 5:13 am in reply to: Toggles of accordions are covered by the sticky header #1348666Hi,
Since the crucial changes are in toggles.js, why do I have to edit toggles.php as well?
Because you have to tell the shortcode to load the modified js file in the child theme directory instead of the original script. You can only do that by editing the extra_assets function in the toggles.php file as previously mentioned. You can find an example of the path modification here.
// https://kriesi.at/support/topic/standard-setting-for-video-element/#post-1344649
As you may notice, the AviaBuilder::$path[‘pluginUrlRoot’] is replaced with get_stylesheet_directory_uri() function to retrieve the child theme folder and the path avia-shortcodes is replaced with shortcodes because that is the name of the new folder in the child theme directory.
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,
IsmaelHi,
It is working correctly on our end now. This is where the page lands when we click the “webcams” link, or when we manually access the page using browser URL field.
Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwFMEq-cWo4wuom7q?e=cJbr57
Please make sure to purge the cache or remove the browser history before checking the page.
Best regards,
IsmaelHi,
In your initial post, you said that the pagination is not visible, so we suggested to edit the config.php file to bring the pagination back. Now, the pagination is visible in the page that you posted above, but it requires a bit of css adjustments as we mentioned previously. Please check the screenshot below.
Screenshot: https://imgur.com/aNRfQ9g
Best regards,
IsmaelHi,
I mean that I removed the entire coockie script from the page
Did you remove the cache after removing the script? You can also check the site on incognito mode after editing the site.
Where did you add the cookie script? We tried to edit the page but we didn’t find the script anywhere in the editor.
Best regards,
IsmaelHi,
Thank you for the info.
The issue is with the following line, which sets the post type to be hierarchical or enables setting a parent post.
// $args['hierarchical'] = true;We removed that line and edited the filter a bit. The post navigation still works and the portfolio items now support the author option.
Best regards,
IsmaelHi,
Sorry for the delay. We edited the functions.php file and added the following code to remove the credit card number and expiration date from the autoresponder message.
add_filter("avf_contact_form_autoresponder_mail", function($mail_array, $new_post, $form_params, $class) { $mail_array["Message"] = preg_replace('/Credit card number: (.*)/', '', $mail_array["Message"]); $mail_array["Message"] = preg_replace('/Credit Card Expiration date: (.*)/', '', $mail_array["Message"]); return $mail_array; }, 10, 4);Best regards,
IsmaelHey Rob,
Thank you for the inquiry.
The code above should not affect the post navigation. Are you using the Advance Layout Builder for the portfolio items? Did you add or use full width elements ( color section, grid row )? By default, the navigation will not display when a full width element is added to the post. But you can alter that rule by using this filter in the functions.php file.
function avf_post_nav_settings_mod( array $settings ){ if( in_array( $settings['type'], array( 'post', 'portfolio' ) ) ){ $settings['is_fullwidth'] = false; } return $settings; } add_filter( 'avf_post_nav_settings', 'avf_post_nav_settings_mod', 10, 1 );Best regards,
IsmaelHey fkm,
Thank you for the inquiry.
To adjust the portfolio post type title or label, try to add this code in the functions.php file.
add_filter('avf_ajax_search_label_names','avf_ajax_search_label_names_mod', 10, 1); function avf_ajax_search_label_names_mod($label) { if($label == 'Portfolio Items') $label = 'New Label Here'; return $label; }You can then use this css code to adjust the styles of the ajax search based on your specifications. Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
.av_ajax_search_image { border-radius: 0; } .av_ajax_search_content { top: 10px; position: relative; } #top div .av_ajax_search_entry:hover { background-color: inherit; } .avia-search-tooltip .avia-arrow-wrap { display: none; }Best regards,
IsmaelHi,
We were not able to access the file server but we managed to edit the file via the Appearance > Theme File Editor panel. We disabled this code in the themes/enfold/config-woocommerce/config.php file around line 388.
// remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 ); //remove woo paginationThe default Woocommerce pagination is now displaying but it will require a few css adjustments.
Best regards,
IsmaelHey BrendanG,
Thank you for the inquiry.
You can add this code in the functions.php file to override the default thumbnail size in the single post page.
add_action("ava_after_main_title", function() { global $avia_config; if( is_singular("post") ) { $avia_config['image_size'] = 'full'; $avia_config['preview_mode'] = 'custom'; } }, 10);Best regards,
IsmaelApril 15, 2022 at 4:52 am in reply to: Using style.css for plugin customisation does not work #1348474Hey Lutz,
Thank you for the inquiry.
Which plugin or which element are you trying to override? Please provide a link to the actual page containing the element so that we can check it.
You can also register a new stylesheet using the wp_enqueue_style function and make sure that one of its dependencies is the default stylesheet from the plugin. This ensures that the new css file loads after the default stylesheet from the plugin.
// https://developer.wordpress.org/reference/functions/wp_enqueue_style/
Best regards,
IsmaelHi,
Yes, that should be possible. Try to add this code in the functions.php file.
add_action("ava_after_main_title", function() { global $avia_config; if( is_page(123) ) { get_search_form(); } }, 10);Make sure to replace the value 123 in the is_page function with the actual ID of the blog page.
Best regards,
IsmaelApril 15, 2022 at 4:33 am in reply to: Need a workaround for "please set a mobile device fallback image for this video #1348472Hey Chiefi,
Thank you for the inquiry.
You can replace the Color Section with a Layer Slider and apply the video as slider background. This video should play on mobile devices. If you want to just hide the element on mobile view, edit it, go the Advanced tab and look for the Element Visility options in the Responsive Settings toggle.
Best regards,
Ismael -
AuthorPosts
