Forum Replies Created
-
AuthorPosts
-
Hi,
You may need to select the original version of the image or the full-sized version. Items in the masonry gallery element display a thumbnail called masonry by default, which has become a static image without the animation after uploading. To adjust the image size, you can edit the enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php, go to line 726 and replace “masonry” with “full”.
$img_size = 'masonry';
However, please note that selecting a different thumbnail size for the masonry gallery may affect its layout or the masonry size settings.
Best regards,
IsmaelJune 14, 2021 at 5:04 am in reply to: WordPress Favicon Overriding Custom ONLY for the Homepage & ONLY on iOS Safari #1305491Hi,
Glad to know that this is now working correctly. Please do not hesitate to open another if you need anything else.
Have a nice day,
Best regards,
IsmaelJune 14, 2021 at 5:01 am in reply to: Feature request: Custom portfolio grid category order #1305490Hey appixag,
Thank you for the inquiry.
This is possible but you have to modify the enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php directly. Look for this code around line 1159.
//get all categories that are actually listed on the page $categories = get_categories( array( 'taxonomy' => $params['taxonomy'], 'hide_empty' => 0 ) );
The get_categories function accepts more arguments including a parameter to change the order of the terms or categories.
// https://developer.wordpress.org/reference/classes/wp_term_query/__construct/
Best regards,
IsmaelHey Maik,
Thank you for the inquiry.
The umlauts seems to be displaying properly on our end. Please check the screenshot below.
Screenshot: https://postimg.cc/1npb0dWt
In the actual link, the umlaut characters have to be converted for the anchors to work correctly.
Best regards,
IsmaelJune 14, 2021 at 4:21 am in reply to: Number in Price table can not be seen on Apple device #1305486Hi!
Sorry for the delay. To make it work on tablet screens, please adjust the css media query or look for this line.
@media only screen and (max-width: 767px) {
Replace 767px with 989px.
Regards,
IsmaelHi,
We could immediately fix it by removing the duplicated navigation as previously suggested. As you can see in the first screenshot above, the anchor lands perfectly in the right spot. This is the page with the single navigation or without the duplicate. Unfortunately, we are not yet sure why it is not working when the duplicate is present.
Best regards,
IsmaelHi,
No problem. Glad we could be of help. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelJune 11, 2021 at 1:14 pm in reply to: how can i move the js script avia_cookie_check_sessionStorage () in the footer? #1305264Hi,
Yes, unfortunately, this will get overwritten on update. Unfortunately, we cannot find a way to override the current action hook that is attached to the privacy class in the functions.php file. This is also why we recommended the first solution.
Why do you need the script in the footer anyway? It should work fine in the head tag and should not incur any performance overhead.
Best regards,
IsmaelHi,
An administrator account would be nice. We may need to edit the page, add css in the Quick CSS field or the style.css file and adjust the theme options.
Best regards,
IsmaelHi,
Yes, this should be possible and there is actually a lot ways to accomplish it but all of them will require significant amount of modification which is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.
If you want to proceed, you can try to manipulate the builder template in the config-templatebuilder/avia-template-builder/php/shortcode-template.class.php file and edit the associated builder scripts in the /config-templatebuilder/avia-template-builder/assets/js folder.
Best regards,
IsmaelHi,
Thank you for the update.
The css code has been commented out and the other css media query has a missing curly brace. We corrected those and disabled the Performance > File Compression settings temporarily. It should work properly now.
Best regards,
IsmaelHi,
That is good to hear. Glad to know that all pages are now working correctly. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the issue is quite random. Sometimes two or more of the slides fade smoothly but the other slide glitches, sometimes all slides are not transitioning correctly. We cannot find any pattern and we do not see any errors, so it is quite difficult to debug.
We created a duplicate of the home slider, remove the other slides and try to set the options but the issue still occurs. We created a record of the preview.
Recording: https://file.io/5F6fcKd8ALFY
As you can see one of the slide transitions smoothly while the other glitches.
Best regards,
IsmaelHi,
When I edit the Front Page in WP the changes
Could you give us an example of the changes that you are doing to the page that is not showing immediately? We would like to try to do it on our end.
Best regards,
IsmaelHi,
Thank you for the update.
Since you are using a plugin to create or show the gallery, modifying the theme’s gallery.php file will not help. You have to contact the plugin authors and ask them where the wp_get_attachment_link function should be added.
Best regards,
IsmaelHi,
According to the lighthouse or the page insight tool, these are the sections or elements that are causing layout shifts.
Screenshots: https://imgur.com/Gj6odFW
The biggest contributor as suspected, is the layer slide increasing CLS by around 0.2. We have taken care of that by modifying our previous css code.
.home #layer_slider_1, .home #layer_slider_2, .home #layer_slider_1 .ls-wp-container, .home #layer_slider_1 .ls-wp-container .ls-inner, .home #layer_slider_2 .ls-wp-container, .home #layer_slider_2 .ls-wp-container .ls-inner { min-height: 297px; height: 297px; }
This is the CLS score on mobile after adding the css code.
Screenshot: https://imgur.com/FySktKP
Score on desktop should be the same.
Best regards,
IsmaelHi,
Thank you for the clarification.
It seems to be working on the first link. Please check the screenshots below.
with one menu navigation: https://imgur.com/c67PfwG
with two menu navigation: https://imgur.com/xswMDkaThe screenshots were taken right after placing the URL directly in the browser and on initial page load.
Best regards,
IsmaelHi,
Glad to know that @Guenni007 managed to provide a better solution. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
No problem. Please feel free to open another thread should you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
You should use a wider image, say a minimum of 700-800px, this is for pages with sidebar. For full width pages or posts, using larger images may be necessary.
We cannot check the site above because it is on maintenance mode and the login info is no longer valid. Please provide another login account or generate a new login token so that we can check the featured image again.
Best regards,
IsmaelJune 11, 2021 at 6:11 am in reply to: Easy Slider or column hover darken instead of opacity change #1305190Hi,
Thank you for the info.
Try to disable the columns’ hover effect, or use this css code to completely disable it across the site.
body .flex_column.avia-link-column.avia-link-column-hover:hover { opacity: 1; }
Then add this css code to add the hover effect to the slider inside the column.
.avia-slideshow-inner .avia-slide-wrap { background: #000000; } .avia-slideshow-inner li div img { opacity: 1; transition: opacity 0.5s; } .avia-slideshow-inner li:hover div img { opacity: 0.5; }
Best regards,
IsmaelJune 11, 2021 at 5:39 am in reply to: Number in Price table can not be seen on Apple device #1305187Hi,
Thank you for the update.
You can add the last css code that we posted above to override the first one. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code. And please purge the cache or remove the browser cache before checking the page.
Best regards,
IsmaelJune 11, 2021 at 5:36 am in reply to: website with enfold + woocommerce: unsightly effect while 'click to card' #1305185Hi,
Thank you for the info.
For some reason, the style of the loading icon is missing from the site, so we added it manually in the Quick CSS field. The loader is now displaying properly when adding a product to the cart.
.avia_loading_icon { background: rgba(0,0,0,0.7); width: 100%; height: 100%; position: fixed; top: 0; left: 0; margin: 0; display: none; z-index: 10000; } #top .avia_loading_icon .av-siteloader { border-top-color: #fff; border-right-color: #fff; border-bottom-color: #fff; position: absolute; top: 50%; left: 50%; margin: -20px 0 0 -20px; }
We also deactivated the Enfold > Performance > File Compression settings temporarily.
Best regards,
IsmaelHi,
The site is still asking for this authentication when we tried to use the link above.
Screenshot: https://imgur.com/2lGZfsQ
It may be the htpassword.
Best regards,
IsmaelHi,
Thank you for following up.
The burger menu is above the logo, covering it. You can move it to the right with this css code.
@media only screen and (max-width: 767px) { #header { height: 88px!important; min-height: 88px !important; width: 100% !important; } }
If the css media query above already exists, you can just omit it and move the above css rule inside the existing media query. And to adjust the padding and adjust the color of the burger menu items, add this css code.
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a { color: gray; } ul#av-burger-menu-ul { padding: 20px 0 !important; }
The color of the “x” button also needs a bit of adjusting.
span.av-hamburger.av-hamburger--spin.av-js-hamburger.av-inserted-main-menu.is-active span.av-hamburger-inner, span.av-hamburger.av-hamburger--spin.av-js-hamburger.av-inserted-main-menu.is-active span.av-hamburger-inner:before, span.av-hamburger.av-hamburger--spin.av-js-hamburger.av-inserted-main-menu.is-active span.av-hamburger-inner:after { background-color: gray !important; }
You should move these css rules inside the css media query above.
Best regards,
IsmaelHi,
Thank you for the clarification.
We tried to check the issue again, applied the coupon code but we cannot use Stripe’s test card anymore because it is already in live mode. Do you have a staging site where we can still use the test cards?
Best regards,
IsmaelJune 11, 2021 at 4:45 am in reply to: how can i move the js script avia_cookie_check_sessionStorage () in the footer? #1305176Hi,
Thank you for the update.
Yes, my bad. I just realized how pointless the solution above is. Please edit the enfold/includes/helper-privacy.php file and look for this code around line 131.
add_action( 'wp_head', array( $this, 'handler_wp_head_script' ), 1 );
Comment it out or remove it completely, then add this code below.
add_action( 'wp_footer', array( $this, 'handler_wp_head_script' ), 1 );
Best regards,
IsmaelHi,
Glad to know that it is working.
Unfortunately my image quality is very poor,
Since you are using a plugin to create the gallery, you may need to toggle an option or adjust a parameter in order to display a different thumbnail size. Please refer to the plugin documentation for more info.
To apply the changes to a specific gallery, try to add a custom css class name or ID to the gallery element and adjust the css selector .gallery with it.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
IsmaelHi,
You should be able to use the get_the_taxonomies function to get all taxonomies associated with a post.
// https://developer.wordpress.org/reference/functions/get_the_taxonomies/
Try to replace the code with this one instead.
$taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = ''; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array('post_tag','post_format') ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $terms .= get_the_term_list( $the_id, $taxonomy, '', ', ', '' ) . ' '; } } $output .= $terms; }
Best regards,
IsmaelHi,
Thank you for following up. Glad to know that the script worked. We did not get a chance to try it.
That is actually the complete command, but you have to make sure that the php script file is in the same folder as the xml file that you are trying to fix. And of course you have to replace original-export-file.xml with the actual name of your xml file and the new-export-file.xml with the desired name of the file after the fix.
Do you see any errors when you run the command? By default PHP is installed on MacOS, so that should not be an issue, and you should be able to use the php command anywhere.
Best regards,
Ismael -
AuthorPosts