Forum Replies Created
-
AuthorPosts
-
Hi,
And why does the problem exist in general?
The gallery script fails to calculate the actual or proper position of the gallery items because the images load later than expected. This issue usually happens on a gallery with a lot of images. The script above should force the gallery items to reposition until the site is fully loaded.
Victoria, I added the script because Ismael recommended adding this scirpt!
Did you set jQuery to load in the footer? Please check the Enfold > Performance panel.
I adjusted the code a bit and readded it in the functions.php file :
function ava_enqueue_custom_script() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', "(function($){ var int = window.setInterval(function(){ console.log('tick'); $(window).trigger('resize'); $(window).trigger('av-content-el-height-changed'); }, 1000); $(window).on('load', function() { setTimeout( function() { clearInterval(int); }, 5000 ); }); })(jQuery);" ); } } add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script', 9999);Let us know if it’s working properly.
Best regards,
IsmaelHi,
@grafixstudio: This is a fairly old thread and the scripts might have changed since. Please open a new ticket or thread with the site url and the login credentials. We’ll check the site there.NOTE: Remove your site from the private field.
Best regards,
IsmaelHi,
Can you give us an actual link to the post with the issue? I’m not really sure where or what to check.
Best regards,
IsmaelNovember 13, 2018 at 12:05 pm in reply to: Change color section full-width to make it aligned with masonary with big gap #1032950Hi,
Could you disable the maintenance mode temporarily? I can’t access any of the pages on my end.
Best regards,
IsmaelHi,
2.) Looks like you’ve found the correct css code for the button color.
3.) I’m not really sure about this but I think the Course Progress Bar and Course Navigation widgets will only work if you’re on an actual course page. Please contact the plugin author for confirmation.
Best regards,
IsmaelHi,
I disabled the “avia_events_custom_post_nav” from the config-events-calendar temporarily. The post navigation is displaying now but I’m not sure if the events are in the right order. Let me know if you notice anything.
Best regards,
IsmaelHi,
Thanks for the update. We’ll forward the issue to the dev. FYI, this same code works for another user.
Best regards,
IsmaelNovember 13, 2018 at 2:17 am in reply to: Color section: No button hover w/ bg. overlay / No diag. section border w/o bg. #1032848Hi,
I can’t login to the site. I get a 503 Service Unavailable error in the login page. Please contact your hosting provider.
Best regards,
IsmaelHi,
Thanks for the update.
There’s a minor syntax error. This css code should work.
#top .aviaccordion-preview-title-pos { opacity: 1; filter: alpha(opacity=100); } #top .aviaccordion.av-animation-active .aviaccordion-slide, #top .aviaccordion-title-on-hover .aviaccordion-preview { -webkit-transition: none !important; transition: none !important; } #top .aviaccordion-preview-title-wrap { background: rgba(0, 0, 0, 0) !important; } #top .aviaccordion { height: 150px; } #top .aviaccordion-image { opacity: 1 !important; transition: none !important; }Best regards,
IsmaelHi,
You can add it in the functions.php file or install a custom functions snippet plugin.
Best regards,
IsmaelHi,
The autoplay parameter is being appended to the video url. Did you add any modifications or custom functions to the site?
Best regards,
IsmaelNovember 13, 2018 at 1:58 am in reply to: Background color for next arrow in the portfolio detail pages #1032835November 13, 2018 at 1:57 am in reply to: Customising Autoresponder using multiple contact forms #1032833Hi,
You’re welcome. Please open a new thread if you need anything else. :)
Best regards,
IsmaelNovember 13, 2018 at 1:56 am in reply to: WooCommerce Responsive CSS Cart Table – show Qty and Thumbnail #1032831November 13, 2018 at 1:56 am in reply to: Form inside codeblock not dispaying properly URGENT PLEASE #1032830Hi,
to just put it into a code block on the page.
You have to wrap it in a style tag in order for it work.
<style> #top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select { margin-bottom: 0 !important; } </style>Best regards,
IsmaelNovember 13, 2018 at 1:53 am in reply to: How can I put in the Google Captcha in the Enfold contact form #1032828Hi,
My bad. This is the updated reCAPTCHA snippet using the secret key.
Add the public key on this line:
var captcha = jQuery(" <p data-sitekey='PUBLIC KEY HERE' data-callback='onloadCallback' id='reCAPTCHAV2'></p> ");And the secret key here:
$secret = 'SECRET KEY HERE';You can create your own options panel and save the keys in your database if you don’t want to put them directly in the snippet.
Best regards,
IsmaelHi,
and my second problem is with upward the content on transparent header. I got this code from you:
Where are you testing it? Try to adjust the css media query a bit.
@media only screen and (max-width: 768px) { .responsive #top #main { margin-top: -80px; } }Best regards,
IsmaelHi,
You can put this code in the functions.php file:
// https://pastebin.com/zZXQaLwP
Just add the public key on this line:
var captcha = jQuery("<p data-sitekey='PUBLIC KEY HERE' data-callback='onloadCallback' id='reCAPTCHAV2'></p>");And the secret key here:
$secret = 'SECRET KEY HERE';You can create your own options panel and save the keys in your database if you don’t want to put them directly in the snippet.
Best regards,
IsmaelNovember 13, 2018 at 1:38 am in reply to: Drop down menus and cart are transparent, recurring issue #1032825Hi,
I don’t really think this is purely cause by the theme, so I’m sad to hear that you are considering getting another theme. I don’t really think it’ll make any difference. We actually managed to fix the initial issue but you didn’t reply for months, so I just assumed that everything is working properly in your site because you didn’t bother to reply.
Our last reply on August 30, 2018: https://kriesi.at/support/topic/need-immediate-help-please-enfold-conflicting-with-wp-admin-login-error-code/page/2/#post-1003321
Best regards,
IsmaelNovember 13, 2018 at 1:21 am in reply to: Response does not work on landscape (iPad) and scroll to top in mobil #1032820Hi,
Yes, it’s possible. Use this css media query to disable it on mobile devices only.
@media (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 1), (-webkit-min-device-pixel-ratio: 2) { #top .flex_cell { background-attachment: scroll !important; background-size: cover !important; background-position: center center !important; } }Best regards,
IsmaelHi,
I can still see the same error in the console.
CMMRM_Tooltip is not defined at index.php?hm_custom_js_draft=1&ver=1542064505:38 index.php?hm_custom_js_draft=1&ver=1542064505:38 Uncaught ReferenceError:I’m not really sure what CMMRM is. Please disable the plugins and third party scripts temporarily.
Best regards,
IsmaelNovember 13, 2018 at 1:11 am in reply to: Contact form spam with privacy policy message = false #1032817Hi,
It is working properly on my installation. Please create a new ticket/thread with the site url and login credentials. We’ll check it there.
Best regards,
IsmaelHi,
Thanks for the update.
I can’t modify the files from the Appearance > Editor file. Please post the FTP details in the private field. Or follow these steps.
// https://kriesi.at/support/topic/instagram-widget-did-not-return-200-specify-username/#post-1031501
Best regards,
IsmaelHi,
Thanks for the update. I’m getting this error in the console but I don’t really think it has anything to do with the issue.
forms.convertkit.com/354862?v=6:1 Failed to load resource: the server responded with a status of 500 ()Can we access the file server? Please post the FTP details in the private field.
Best regards,
IsmaelHi,
You can use this to create the element state:
Avia_Builder()->element_manager()->get_elements_state( 'post', $mypost->ID );And build the shortcode tree.
ShortcodeHelper::clean_up_shortcode( $_POST['_aviaLayoutBuilderCleanData'], 'content' );Final code may look like this:
foreach ( $myposts as $mypost ) : $content = $mypost->post_content; $tree = ShortcodeHelper::build_shortcode_tree( $content ); AviaBuilder::set_alb_builder_status( 'active', $mypost->ID ); AviaBuilder::save_posts_alb_content( $mypost->ID, $content ); Avia_Builder()->element_manager()->get_elements_state( 'post', $mypost->ID ); ShortcodeHelper::clean_up_shortcode( $_POST['_aviaLayoutBuilderCleanData'], 'content' ); update_post_meta( $mypost->ID, '_avia_builder_shortcode_tree', $tree ); endforeach;Best regards,
IsmaelHi,
I tried to adjust the options in the Settings > Discussions panel but it’s not working. I also tried this filter in the functions.php file but it still doesn’t work.
// show newest product reviews on top add_filter( '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_product_review_list_args', '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_product_review_list_args_newest_first' ); function <a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_product_review_list_args_newest_first($args) { $args['reverse_top_level'] = true; return $args; }Best regards,
IsmaelHi,
I see. This should help.
#top .aviaccordion.av-animation-active .aviaccordion-slide, #top .aviaccordion-title-on-hover .aviaccordion-preview { -webkit-transition: none; transition: none; }Best regards,
IsmaelNovember 12, 2018 at 6:29 am in reply to: Change color section full-width to make it aligned with masonary with big gap #1032439Hi,
Thanks for the update. The site just redirects to the “coming soon” page. I tried to disable the maintenance mode in the theme options but it’s still the same.
Best regards,
IsmaelNovember 12, 2018 at 6:02 am in reply to: Breadcrumbs not showing all grandparent/parent/child #1032437Hi,
Try to re-arrange the trail on this line.
$trail = array( 0 => $home, 1 => $link, 2 => $trail[1], 3 => $trail[2], 'trail_end' => $last );$link goes to array key 2 and $trail[1] to key 1 etc.
Best regards,
IsmaelHi,
That is a javacript code wrapped in php hook, so I’m not sure how you get that error. Can you give us a screenshot? Try this code instead.
add_action('wp_footer', 'ava_color_closed_event', 9999); function ava_color_closed_event() { ?> <script> (function() { const et = document.querySelector('.tribe-events-single-event-title'); const etm = document.querySelector('.tribe-events-month-event-title a'); if( ( et && et.textContent == 'Closed' ) || ( etm && etm.textContent == 'Library Closed' ) ) { etc = et ? et : etm; etc.style.color = '#c20b1a'; } })(); </script> <?php }Best regards,
Ismael -
AuthorPosts
