Forum Replies Created
-
AuthorPosts
-
January 27, 2021 at 10:46 am in reply to: Custom sort by filter just like on Enfold main page HOW TO? #1275708
Hi,
That should be possible but it will require modifications that is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable. For additional questions, please try to open a new thread using the inquiry form.
// https://kriesi.at/support/forum/enfold/#new-post
We will close this one for now. Thank you.
Best regards,
IsmaelHi,
and still not matching your church demo layout.
The church demo is using the old layout of the events calendar, but our suggestions above requires you to use the v2 or the updated calendar designs, so the events page will look completely different compare to the church demo. The single event page will stay the same.
We still cannot access the file server using the account above, and the WP login account is no longer valid. Please post valid WP and FTP account in the private field.
Best regards,
IsmaelJanuary 27, 2021 at 10:35 am in reply to: How to avoid feature image cropping in a masonry line of blog posts? #1275704Hi,
Images in the masonry element should be squarish or have an aspect ratio of 1:1 but make them slightly tall to make room for the masonry content in the bottom part of the masonry container. We cannot access the site because there seems to be a database issue.
Best regards,
IsmaelHi,
We tried to access the site again today but there is an issue establishing connection to the database. Are you working on the site or the database?
Best regards,
IsmaelJanuary 27, 2021 at 10:28 am in reply to: Blog post image sizes suddenly all different sizes? #1275694Hi,
Can we access the file server? Try to allow connections coming from the Philippines. Or try to upload the images again, see if it generates the correct entry_with_sidebar thumbnail size (845x321px).
Best regards,
IsmaelHi,
Thank you for the info.
Did you set the height of the slider? Please post the login details in the private field so that we could check the slider settings.
Best regards,
IsmaelHi,
As previously suggested, you could use the Image element and use the video URL as a link in the Advanced > Image Link Settings > Image Link? settings. Make sure that the “Set Manually” option is selected. Please note that mp4 videos are not supported, only mov.
Another solution is to open an inline content in the popup. Please check the following link for more info on how to do that.
// https://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-type
This solution is suggested by Dmitry Semenov, which is the author of the lightbox script.
// https://stackoverflow.com/questions/20987334/can-i-use-magnific-popup-to-display-an-mp4-video
Best regards,
IsmaelHi,
Did you also try to add the pre_get_posts filter from the kellenmace article above?
You may need to flush the permalink setting and remove the value of the Portfolio Base Slug field in the Settings > Permalinks panel. To flush the permalinks, just go to the permalinks panel, then hit save or update. Do this after adding the modifications above.
Best regards,
IsmaelHi,
Thank you for the clarification.
Looks like the theme automatically encodes the symbols for some reason. You may need to use the actual “and” word instead of the symbol.
Or try to modify the themes\enfold\config-templatebuilder\avia-shortcodes\google_maps\google_maps.php around line 964 and remove the wpautop and the avia_remove_autop function wrapping the $shortcode[‘content’] variable, so..
$data['marker'][ $key ]['content'] = wpautop(ShortcodeHelper::avia_remove_autop( $shortcode['content'], true ) );
.. would be.
$data['marker'][ $key ]['content'] = $shortcode['content'];
Best regards,
IsmaelHi,
but it blocks the bar from the home page
What do you mean? Would you mind providing a direct link to the page so that we could check it? Please try to open a new thread and place the site details in the private field.
Best regards,
IsmaelJanuary 26, 2021 at 8:12 am in reply to: Homepage element not scaling properly with iPhones #1275411Hi,
Thank you for the update.
@Donkies: We noticed that you applied a unique ID to the section called #openhome. We can use that selector to fix the overlay issue by applying a maximum height to the section container.
#openhome, #openhome .container { max-height: 50vh; overflow: hidden; }
This should also fix the position of the content inside the section including the buttons. Unfortunately, we cannot reproduce the mobile menu issue on a device emulation. We will forward the thread to our channel so that the rest of the moderators could check it.
Thank you for your patience.
Best regards,
IsmaelJanuary 26, 2021 at 8:04 am in reply to: How to use the image copyright info within a Enfold Gallery #1275410Hi,
@connect4consulting: You will have to do the modifications in the \enfold\config-templatebuilder\avia-shortcodes\contentslider\contentslider.php around line 828.$output .= ! empty( $value['content'] ) ? " <div class='slide-entry-excerpt entry-content' $markup>" . ShortcodeHelper::avia_apply_autop( ShortcodeHelper::avia_remove_autop( $value['content'] ) ) . '</div> ' : '';
The line above outputs the slide excerpt or content.
Best regards,
IsmaelHi,
You can deactivate the plugin but we recommend keeping it until further notice. Some plugins may still contain obsolete functions that are not yet compatible with the latest jQuery library.
Unfortunately, we are not yet sure why lazy loading affects the portfolio preview and we cannot reproduce it on our local installation. You can keep the lazy loading option enabled across the site in the Enfold > Performance panel, and only disable for the Portfolio Grid element in the Advanced > Performance > Lazy Loading Of Images settings.
Best regards,
IsmaelHi,
UPDATE: Would you mind adding this code in the functions.php file? Make sure that the updated calendar design is enabled.
// register default v2 templates if( ! function_exists( 'avia_events_template_paths_v2' ) ) { add_action( 'tribe_template_file', 'avia_events_template_paths_v2', 10, 2 ); function avia_events_template_paths_v2( $file, $template ) { if( $template[0] == "default-template" && is_single() ) { $file = AVIA_EVENT_PATH . "views/" . $template[0] . '.php'; } return $file; } }
This should load the default-template.php template from the theme when the updated calendar design is enabled.
Best regards,
IsmaelHi,
Sorry for the delay. The login info above is invalid or is not working. Please check the info carefully or provide another account.
have added the folders to my child theme with the config file etc
Which config file? All you need to copy is the default-template.php file and place it inside the tribe/events/v2 folder in the child theme directory.
We will check the thread again once we get hold of the login info.
Best regards,
IsmaelHey albertgarduno,
Thank you for the inquiry.
When we disabled the WPML plugin and enabled it back, suddenly the portfolio items displayed properly. We are not really sure what happened. We also installed the Enable jQuery Migrate Helper plugin and set jQuery to the legacy version, which might have helped with issue. Please remove the browser cache or do a hard refresh before checking the page.
Best regards,
IsmaelHey connect4consulting,
Thank you for the inquiry.
You should be able to use the get_post_meta function to get the custom field and render it in the enfold\includes\loop-index.php file around line 375 where the post meta info container is located.
// https://developer.wordpress.org/reference/functions/get_post_meta/
Best regards,
IsmaelHey marcie73,
Thank you for the inquiry.
It seems to be working properly on my end. The slider resets back or transitions to the first slide when the video ended. It triggers the following function in the enfold\config-templatebuilder\avia-shortcodes\slideshow\slideshow.js file.
function onFinish(event) { console.log('test') //if the video is not looped resume the slideshow if (!event.data.slide.is('.av-single-slide') && !event.data.slide.is('.av-loop-video')) { event.data.slide.trigger('reset'); self._navigate('next'); self.resume(); } //safari 8 workaround for self hosted videos which wont loop by default if (event.data.slide.is('.av-loop-video') && event.data.slide.is('.av-video-service-html5')) { if ($html.is('.avia-safari-8')) { setTimeout(function () { event.data.slide.trigger('play'); }, 1); } } }
Best regards,
IsmaelHey NicomIT,
Thank you for the inquiry.
“Duplicate uploaded media to translations”. I checked that and updated the page, but it didn’t change anything on the German page.
Have you tried to edit the original page and upload the images again? It is possible that ticking the option did not change anything because the images already exist, and only new images will be duplicated. Also, make sure that these settings are configured properly.
// https://wpml.org/documentation/getting-started-guide/media-translation/#id5
Best regards,
IsmaelHey annevoelkel,
Thank you for the inquiry.
The following css code should adjust the breakpoint of the mobile menu and of the left sidebar or header.
/* header sidebar and mobile menu breakpoint */ @media only screen and (max-width: 768px) { .responsive #top .av_header_transparency.av_alternate_logo_active .logo a > img{opacity:1} .responsive #top .av_header_transparency .logo img.alternate{display:none;} .responsive #top #wrap_all #header {position: relative; width:100%; float:none; height:auto; margin:0 !important; opacity: 1; min-height:0;} .responsive #top #main {padding-top:0 !important; margin:0;} .responsive #top #main .container_wrap:first-child{ border-top:none; } .responsive.html_header_top.html_logo_center .logo { left: 0%; -webkit-transform: translate(0%, 0); -ms-transform: translate(0%, 0); transform: translate(0%, 0); margin:0; } .responsive .phone-info{float:none; width:100%; clear:both; text-align: center;} .responsive .phone-info span{margin:0;padding:0; border:none;} .responsive.html_header_top #header_main .social_bookmarks , .responsive.html_top_nav_header #top .social_bookmarks { width:auto; margin-top:-16px; } .responsive #top .logo{position: static; display:table; height:80px !important; float:none; padding:0; border:none; width:80%; } .responsive .logo a{display:table-cell; vertical-align: middle;} .responsive .logo img{height:auto !important; width:auto; max-width: 100%; display: block; max-height: 80px;} .responsive #header_main .container{height:auto !important; } .responsive #top .header_bg { opacity: 1; filter: alpha(opacity=1); } .responsive.social_header .phone-info {text-align: center; float:none; clear:both; margin:0; padding:0;} .responsive.social_header .phone-info span{border:none; width:100%; text-align: center; float:none; clear:both; margin:0; padding:0;} .responsive #header_meta .social_bookmarks li{ border-style:solid; border-width:1px; margin-bottom:-1px; margin-left:-1px;} .responsive #top #header_meta .social_bookmarks li:last-child{border-right-style: solid; border-right-width: 1px;} .responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul{float:none; width:100%; text-align: center; margin:0 auto; position: static;} .responsive #header .social_bookmarks{padding-bottom:2px; width:100%; text-align: center; height:auto; line-height: 0.8em; margin:0;} .responsive #header_meta .sub_menu>ul>li{float:none; display: inline-block; padding: 0 10px;} .responsive #header .social_bookmarks li{float:none; display: inline-block;} .responsive.bottom_nav_header #header_main .social_bookmarks{ position: relative; top: 0; right: 0; margin: 10px auto; clear:both;} .responsive.bottom_nav_header.social_header .main_menu>div{height:auto;} .responsive .logo img{margin:0;} .responsive.html_header_sidebar #top #header .social_bookmarks{display:none;} .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header{max-width: 100%;} .responsive.html_header_transparency #top .avia-builder-el-0 .container, .responsive.html_header_transparency #top .avia-builder-el-0 .slideshow_inner_caption{padding-top:0;} .responsive #top .av_phone_active_right .phone-info.with_nav span{border:none;} .responsive #top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a, .responsive #top #wrap_all .av_header_transparency .sub_menu > ul > li > a, .responsive #top .av_header_transparency #header_main_alternate, .responsive .av_header_transparency #header_main .social_bookmarks li a, .responsive #top #wrap_all .av_header_transparency .phone-info.with_nav span, .responsive #top .av_header_transparency #header_meta, .responsive #top .av_header_transparency #header_meta li, .responsive #top #header_meta .social_bookmarks li a{ color:inherit; border-color: inherit; background: inherit;} .responsive.html_top_nav_header .av-logo-container{height:auto;} .responsive.html_top_nav_header .av-section-bottom-logo{border-bottom-style: solid; border-bottom-width: 1px;} /*new mobile*/ .responsive .av-burger-menu-main{display: block;} .responsive #top #wrap_all .main_menu{top:0; height:80px; left:auto; right:0; display: block; position: absolute;} .responsive .main_menu ul:first-child > li a { height: 80px; line-height: 80px;} .responsive #top .av-main-nav .menu-item{display:none;} .responsive #top .av-main-nav .menu-item-avia-special{display:block;} .responsive #top #wrap_all .menu-item-search-dropdown > a { font-size: 24px; } .responsive #header_main_alternate{display:none;} .responsive #top #header .social_bookmarks{display:none;} .responsive #top #header .main_menu .social_bookmarks{display:block; position: relative; margin-top: -15px;} .responsive #top .av-logo-container .avia-menu{height:100%;} .responsive #top .av-logo-container .avia-menu > li > a{line-height: 80px;} .responsive #top #main .av-logo-container .main_menu{display:block;} .responsive #top #main .av-logo-container .social_bookmarks{display:none;} .responsive #top #main .av-logo-container .main_menu .social_bookmarks{display:block; position: relative;} .responsive #top #main .av-logo-container .main_menu{display:block;} .responsive #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive #top #wrap_all .av-logo-container {height:80px; line-height:80px; } .responsive #top #wrap_all .av-logo-container {padding:0;} .responsive #top #header_main > .container .main_menu .av-main-nav > li > a{ min-width: 0; padding:0 0 0 20px; margin:0; border-style: none; border-width: 0; } .responsive #top .av_seperator_big_border .avia-menu.av_menu_icon_beside{border-right-style: solid; border-right-width: 1px; padding-right: 25px;} .responsive #top #header .av-main-nav > li > a, .responsive #top #header .av-main-nav > li > a:hover{ background:transparent; color: inherit; } .responsive.html_top_nav_header .av-logo-container .inner-container{overflow: visible;} .html_header_sidebar #header .container { width: 90%; } }
Best regards,
IsmaelHi,
Thank you for the info.
Looks like you are editing the Comment Management Screen file, instead of the comments.php theme file. Please look for the comments.php file in the wp-content > themes > enfold folder. The “Leave a reply” string should be there around line 179.
NOTE: We deleted the code in the private field above. For long snippets of code, please use services like pastebin.com.
Best regards,
IsmaelJanuary 25, 2021 at 5:13 am in reply to: How to make the Advanced Layer Builder DEFAULT when creating a new page/post? #1275180Hi,
Thank you for the info.
The solution above still works when we tested it on our end. We are using the legacy version of the jQuery library. Did you set jQuery to the old or legacy version? You may need to keep using the old version of the jQuery library for now to keep obsolete functions from the plugins and the theme working. The latest version of the theme should contain the updated functions, fixes and should be fully compatible with the latest version of jQuery.
Best regards,
IsmaelHi,
Are you referring to the container above the main header? You might be able to use this css code to hide it by default on other pages aside from the front page.
#header_meta { display: none; } .home .#header_meta { display: block; }
Best regards,
IsmaelHi,
We downloaded the image and use an image editor to put it in a canvas that is 1500x430px. We then created a test page and place a slider and uploaded the image back. Please check the private field for the result. Again, the aspect ratio of the image has to be at least 3:1, or that it is at least three times wider than it is tall. And since the original image is quite tall, it will not fit in the canvas that we have just created, so parts of the image have been cut off.
You could also select a different thumbnail size in the slider’ Stil > Bild- und Videogröße der Slideshow settings.
Best regards,
IsmaelJanuary 25, 2021 at 4:43 am in reply to: Blog post image sizes suddenly all different sizes? #1275173Hey!
A few of us are in the Philippines but there are moderators from different countries. Please check the following link.
Previous reply: https://kriesi.at/support/topic/blog-post-image-sizes-suddenly-all-different-sizes/#post-1270622
Best regards,
IsmaelHi,
I am using the gallery element in the Avia Layout Builder.
1.) The gallery element in the Advance Layout Builder (ALB) is not a product element or is not compatible with the variation product switching. The variation image switch will only work with the default or classic editor because the template contains the necessary markup, and only when the Woocommerce 3.0 gallery is enabled.
2.) As suggested above, you may need to look for a custom solution that detects changes in the quantity input field. The solution may look something like the script provided in the following article.
// https://rudrastyh.com/woocommerce/remove-update-cart-button.html
Best regards,
IsmaelJanuary 25, 2021 at 4:22 am in reply to: Masonry Gallery filtering and sorting, Portfolio Entries #1275167Hi,
Thank you for the info.
This may be possible, but it would also mean creating different categories for each levels and languages for each single book because the sorting option relies on the selected taxonomies or categories, so if you have a hundred books to create, this might mean creating thousands of categories just to make the items much easier to sort.
Example.
Book 1 - First Language Level 1 for Book 1 - First Language Level 2 for Book 1 - First Language Level 3 for Book 1 - First Language Level 4 for Book 1 - Second Language Level 1 for Book 1 - Second Language Level 2 for Book 1 - Second Language Level 3 for Book 1 - Second Language Level 4 for Book 1 Book 2 .... same as above
Or
Book 1 - Level 1 for Book 1 - Level 2 for Book 1 - Level 3 for Book 1 - Level 4 for Book 1 Book 2 ....
Or
Book 1 – First Language for Book 1 – Second Language for Book 1 – Third Language for Book 1 – Fourth Language for Book 1 Book 2 ….
Unfortunately, the ordering option in the Masonry and Portfolio element is quite limited and is usually used only for first level sorting. Looking for a third party extension or a custom solution would be a much better direction.
Best regards,
IsmaelJanuary 25, 2021 at 4:08 am in reply to: Masonry of Portfolio Items does not sort correctly #1275159Hi,
Alright. Thank you for update. We will close the thread for now.
Have a nice day.
Best regards,
IsmaelHi,
Looks like the image with a different cropping position does not display when the Performance > Responsive Image option enabled. Did you enable that option? It used to work in the test page before. (see private field)
Best regards,
IsmaelHi,
Thank you for the update.
The products display properly when the product_visibility taxonomy parameter is removed, but unfortunately, we are not yet sure why. We have added this filter in the functions.php file to modify the query and remove the product_visibility.
add_filter("avia_product_slide_query", function($query) { if($query["tax_query"][0]["taxonomy"] == "product_visibility") { unset($query["tax_query"][0]); } return $query; }, 10, 1);
Please remove the browser cache before testing the page.
Best regards,
Ismael -
AuthorPosts