Forum Replies Created

Viewing 30 posts - 24,481 through 24,510 (of 66,126 total)
  • Author
    Posts
  • in reply to: Background Video on Mobile #1037023

    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,
    Ismael

    in reply to: Very strange Click to Call Button Behavior #1037021

    Hi,

    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,
    Ismael

    in reply to: Blank search results #1037014

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: AdWords Issue #1037001

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Shop page is all messed up on mobile #1036991

    Hey 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,
    Ismael

    in reply to: Videos in galleries #1036989

    Hey 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,
    Ismael

    in reply to: LayerSlider Full Width mp4 Video #1036927

    Hi,

    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,
    Ismael

    in reply to: Portfolio Masonry Element Deep Linking to Category #1036925

    Hi,

    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,
    Ismael

    in reply to: Placing back a revision, places back another post #1036919

    Hi,

    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,
    Ismael

    in reply to: Enfold 4.5 and WooCommerce 3.5.1 *Urgent* #1036917

    Hi,

    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,
    Ismael

    in reply to: Featured image blog #1036912

    Hi,

    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,
    Ismael

    in reply to: Portfolio grid #1036910

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Mailchimp Form Issues #1036890

    Hi,

    @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,
    Ismael

    in reply to: ID Anchor Tag #1036888

    Hi,

    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,
    Ismael

    in reply to: Capture (contact form) and spam filter #1036882

    Hi,

    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,
    Ismael

    in reply to: Move related products #1036879

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Polylang plugin and woocommerce #1036475

    Hey 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,
    Ismael

    in reply to: Easy Slider Transition and graphical #1036472

    Hi,

    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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Remove validation asterisk from contact form element #1036464

    Hi,

    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,
    Ismael

    Hi,

    Thank you for the kind words. I sure hope I can help you again next time.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Calendar Pro | single-event.php #1036451

    Hi,

    This part:

    document.on(
    

    to:

    document.addEventListener(
    

    Best regards,
    Ismael

    in reply to: error enfold 4.5 #1036449

    Hi,

    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,
    Ismael

    in reply to: Capture (contact form) and spam filter #1036447

    Hi,

    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,
    Ismael

    in reply to: date selection contact form #1036441

    Hi,

    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,
    Ismael

    Hi,

    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

Viewing 30 posts - 24,481 through 24,510 (of 66,126 total)