Forum Replies Created
-
AuthorPosts
-
Hi,
You can try the layer slider’s background video option. Unfortunately, video background is still disable for any of the theme’s sliders or elements.
Best regards,
IsmaelHi,
Thanks for the info.
You can try this script in the functions.php file:
function tel_fix(){ ?> <script> (function() { const buttons = document.querySelectorAll('.avia-button'); buttons.forEach( button => { const link = button.getAttribute("href"); if( link.includes('tel') ) { button.setAttribute('href', link.replace("https://", "")); } }); })(); </script> <?php } add_action('wp_footer', 'tel_fix');
It will just remove the https protocol.
Best regards,
IsmaelHi,
I can’t reproduce the issue on my own installation. Have you tried disabling some of your plugins? Did you modify the site’s htaccess file?
Best regards,
IsmaelNovember 23, 2018 at 5:14 pm in reply to: Image sliders does not resize image to fit within the selected dimentions #1037011Hi,
Have you tried setting a maximum height value for the slider? Example:
.avia-slideshow { max-height: 500px; }
Do you have a test page that we can check?
Best regards,
IsmaelHey medienvirus,
Thank you for using Enfold.
It looks like a query for item filter. Did you install any plugins or add any scripts for that? What happens when you mark that url as solved in your google search console?
Best regards,
IsmaelNovember 23, 2018 at 4:50 pm in reply to: Youtube Videos with no infos and now follow-Up videos from others (and no contol #1036998Hey Pascal,
Thank you for using Enfold.
This thread should help:
// https://kriesi.at/support/topic/adding-parameter-to-youtube-urls
I modified the script a bit:
function youtube_fix(){ ?> <script> (function($){ $('body').on('DOMNodeInserted', function(){ $('iframe.mfp-iframe[src*="youtube.com"]').each(function() { var _src = $(this).attr("src") $(this).attr("src", _src + '&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&showinfo=0&controls=0') }); }) })(jQuery); </script> <?php } add_action('wp_footer', 'youtube_fix');
Best regards,
IsmaelHey DROR,
Thank you for using Enfold.
1.) This is a screenshot of the shop page on my end.
// https://imgur.com/a/2Uz9FcT
Where are you testing it?
2.) You can decrease the size of the logo to prevent the header elements from overlapping.
@media only screen and (max-width: 767px) { .responsive #top .logo { width: 50%; } }
Best regards,
IsmaelHey Maskenzauber,
Thank you for using Enfold.
You can manually create a video or an image grid using the builder’s columns. You can also use the sliders to create a media gallery.
Best regards,
IsmaelHi,
Thanks for the info. Yes, IE doesn’t support that property but it looks like you have already fixed it on that browser. This is what I get on IE:
// https://imgur.com/a/mYgxdV9
How did you fix it?
Best regards,
IsmaelNovember 23, 2018 at 11:44 am in reply to: Portfolio Masonry Element Deep Linking to Category #1036925Hi,
Thanks for the update.
Yous should append the custom_ajax query, with the post id as value, to the portfolio page url. Example:
http://imaginepreview.com/senzafine/projects?custom_ajax=961
The int 961 is the id of the “Federal Election Commision” post, so you when you get to the portfolio page using that link, the script will automatically open that particular post.
Best regards,
IsmaelNovember 23, 2018 at 11:27 am in reply to: Placing back a revision, places back another post #1036919Hi,
Thanks for the update.
The site is running on an old version of the theme, 4.4.1, and it’s using the beta version of WP, so I can’t edit the post with ALB. This is fine but installation of another plugin is not allowed for the current user, so I can’t activate the Classic Editor plugin. Please upgrade the theme to version 4.5 and downgrade WP to version 4.9.8 if possible. I’ll check it again afterwards.
Best regards,
IsmaelHi,
I would like to apologize for the late response. I was able to reproduce the issue once on an Opera browser, but I couldn’t pinpoint the issue. Did you set the add to cart button to redirect to the cart page immediately? How did you modify that?
Best regards,
IsmaelHi,
The tomato is much larger than the rest of the featured images. Have you tried resizing the image? You can also limit the height of the image container.
.avia-content-slider .slide-image img { max-height: 146px; overflow: hidden; } .avia-content-slider .slide-image img { object-fit: contain; }
Best regards,
IsmaelHi,
Thanks for the update.
Yes, this is possible but you have to modify the config-templatebuilder > aviashortcodes > portfolio > portfolio.php file directly. Add this code right before line 668:
$categories = get_the_terms($the_id, 'portfolio_entries'); $separator = ', '; $count = count($categories); $i = 0; $output_cat = "<div class'portfolio-categories'>"; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($i++ === $count) { $separator = ''; } $output_cat .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } $output_cat .= "</div>"; $output .= $cat;
Best regards,
IsmaelNovember 23, 2018 at 10:26 am in reply to: Masonry blog: show category name without filter, but directly in theme file? #1036902Hi,
No problem. You can add this code right before line 409.
$categories = get_the_category($entry['ID']); $separator = ', '; $count = count($categories); $i = 0; $output_cat = "<div class'masonry-categories'>"; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($i++ === $count) { $separator = ''; } $output_cat .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } $output_cat .= "</div>"; $cat = trim( $output_cat, $separator ); $text_before .= $cat;
Or just add it below this code:
else if(strpos($html_tags[0], 'a href=') !== false) { $display = empty( $title ) ? $the_title : $title; $linktitle = 'title="' . esc_attr( $display ) . '"'; }
Best regards,
IsmaelHi,
@Richard Olpin: Sorry to hear about that. Please open a new ticket with the site url and put the WP / FTP in the private field. We’ll check it there. And make sure that the site is running on version 4.5.
Best regards,
IsmaelHi,
The images have no margins but every one of them is wrapped inside a column, which has a default top margin, so you have to adjust the column.
Best regards,
IsmaelHi,
I modified the code a bit but it’s still returning an error response instead of the verification. Did you add the domain in the list? And make sure it’s actually v2, not v3.
// https://imgur.com/a/mv2Ak9B
Best regards,
IsmaelHi,
Put that inside the previous init hook callback “enfold_customization_woocommerce_related” along with the previous modifications.
remove_action('woocommerce_after_single_product', 'wrprrdisplay'); add_action('woocommerce_after_single_product', 'wrprrdisplay', 20);
Best regards,
IsmaelNovember 22, 2018 at 12:25 pm in reply to: Masonry blog: show category name without filter, but directly in theme file? #1036481Hi,
Thanks for the update.
Instead of editing the file directly, you can use this filter to insert the categories after the masonry image.
add_filter( 'avf_masonry_loop_prepare', 'avf_masonry_loop_prepare_mod_cat', 10, 2 ); function avf_masonry_loop_prepare_mod_cat( $key, $entries ) { $categories = get_the_category($key['ID']); $separator = ', '; $output = ''; $items = count($categories); $i = 0; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($i++ === $items) { $separator = ''; } $output .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } $key['text_before'] .= trim( $output, $separator ); return $key; }
You won’t be able to click on the category items though, because they are inside the masonry item, which is a link element itself.
Best regards,
IsmaelHey fabiomagliozzi,
Thank you for using Enfold.
1.) Are you using the advance layout builder for the shop and product pages? If that is the case, you have to translate the contents manually because they are not going to be translated automatically.
2.) You have to configure the translation options again when you switch to W P M L.
Best regards,
IsmaelHi,
Thank you for using Enfold. And sorry for the delay.
1.) You can use this css code to add a fade effect to the slider.
.avia-slideshow li img { opacity: 0; -webkit-transition: opacity 0.7s; /* Safari */ transition: opacity 0.7s; } .avia-slideshow li.active-slide img { opacity: 1; }
2.) And this one to move the dots outside the slide container.
.avia-slideshow { padding-bottom: 50px; }
Best regards,
IsmaelNovember 22, 2018 at 11:50 am in reply to: Hacken bei Bestellvorgang (Lieferung an eine andere Adresse senden) entfernen. #1036466Hey Manko267,
Thank you for using Enfold.
In the Admin-> Woocommerce-> Settings-> Shipping-> Shipping Options, find the Shipping Destination, and make sure that “Force shipping to the customer billing address” checkbox is checked.
Best regards,
IsmaelNovember 22, 2018 at 11:47 am in reply to: Remove validation asterisk from contact form element #1036464Hi,
Awesome! Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
IsmaelNovember 22, 2018 at 11:46 am in reply to: How can I put in the Google Captcha in the Enfold contact form #1036461Hi,
Thank you for the kind words. I sure hope I can help you again next time.
Have a nice day.
Best regards,
IsmaelHi,
Look for these lines:
$menu_locations = array_flip( get_nav_menu_locations() ); $nav_menus = wp_get_nav_menus();
And replace it with the modification:
$nav_menus = wp_get_nav_menus(); /** * array_flip does not work because plugins like <a href='http://bit.ly/kwpml' target='_blank' rel="nofollow">WPML</a> might return '' or null for value which throws a warning * * $menu_locations = array_flip( get_nav_menu_locations() ); */ $menu_locations = array(); $temp = get_nav_menu_locations(); foreach ( $temp as $loc => $term_id ) { if( is_numeric( $term_id ) && ( $term_id > 0 ) ) { $menu_locations[ $term_id ] = $loc; } }
Best regards,
IsmaelHi,
I would like to apologize for the late response. Let’s try it again from scratch. I tried to use the v3 script but it didn’t work, so I turned it back to v2. You have to generate the v2 keys now. This is the updated script.
// https://pastebin.com/L9hwBthv
Post the v2 keys in the private field and put the script back in the functions.php file.
Best regards,
IsmaelHi,
What do you mean by “calendar box” exactly? Have you tried adding the date picker element? Again, a calendar box should open when you click on it.
Best regards,
IsmaelNovember 22, 2018 at 11:19 am in reply to: Masonry post excerpt is not displayed on the tablet portrait view #1036438Hi,
Thanks for the update. I can see the issue now. Use this css code to redisplay the masonry content on that screen size.
@media only screen and (max-width: 989px) and (min-width: 767px) { .responsive .av-masonry-entry .av-masonry-entry-title+.av-masonry-entry-content { display: block; } }
`
Best regards,
Ismael -
AuthorPosts