Forum Replies Created

Viewing 30 posts - 28,561 through 28,590 (of 67,567 total)
  • Author
    Posts
  • Hi,

    That line is in the same file as the modification described in the previous thread.

    // https://kriesi.at/support/topic/fullwidth-easy-slider-with-video-asking-for-object-on-mobile/#post-955294

    Line 174 should look like this.

    if(this.isMobile)
    

    Best regards,
    Ismael

    in reply to: Export single page to HTML – best method #983988

    Hi,

    The entypo fontello font source file can’t be loaded because of a cross origin issue. This is why the icons don’t display properly.

    Access to Font at 'https://www.edintattootravelpackages.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff' from origin 'http://bleepstudio.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bleepstudio.com' is therefore not allowed access.
    index.html:1 Access to Font at 'https://www.edintattootravelpackages.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf' from origin 'http://bleepstudio.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bleepstudio.com' is therefore not allowed access.
    

    Alter the url of the assets listed above or allow cross origin access.

    // https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes-

    Best regards,
    Ismael

    in reply to: Animated Numbers isn't working for me on mobile #983985

    Hi,

    The delayed animation is disabled on mobile devices by default so the “animated number” animates on page load. The elements usually start to animate when they are visible in the view port. You can find the script in the js > shortcodes.js, line 643. Look for the “$.fn.avia_waypoints” function.

    if(isMobile)
    {
        element.addClass('avia_start_animation').trigger('avia_start_animation');
    }
    

    That line instantly triggers the animation on mobile view.

    Best regards,
    Ismael

    in reply to: Question about nested comments #983982

    Hey Andrea,

    Thank you for using Enfold.

    Where can we see the issue? Please provide a link to a post with deep nested comments. A screenshot will help.

    Best regards,
    Ismael

    in reply to: Hide words in title or change title in slide-entry #983979

    Hi,

    Thanks for the update.

    This script should remove the word “Incentive reis”.

    function ava_custom_script_remove_word() {
    	?>
    	<script>
    		(function($) {
    			$('.slide-entry-title.entry-title a').each( function() {
    				var text = $(this).text();
    				var newtext = text.replace(/Incentive reis /g, '');
    				$(this).text(newtext);
    			});
    		})(jQuery);
    	</script>
    	<?php
    }
    add_action( 'wp_footer', 'ava_custom_script_remove_word', 9999 );
    

    Best regards,
    Ismael

    in reply to: Mobile layout tablets #983976

    Hi,

    Thank you for using Enfold.

    Use this css code to have the tablet view have the same layout as the phone view.

    @media only screen and (max-width: 1024px) {
    .responsive #top #wrap_all .av-flex-cells .no_margin {
    display: block;
    margin: 0;
    height: auto !important;
    overflow: hidden;
    padding-left: 8% !important;
    padding-right: 8% !important;
    }
    
    #top #wrap_all .av_header_transparency {
    background-color: #ffffff;
    color: #655f5c;
    border-color: #e1e1e1;
    }
    
    .responsive #top .av-hide-on-mobile, .responsive #top .av-hide-on-tablet {
    display: none !important;
    }
    }

    Best regards,
    Ismael

    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

    in reply to: Programmatically Load Modules #983969

    Hi,

    Thank you for the update.

    Add this code in the functions.php file.

    /**
    * Disable button in backend if the user has manually set them to be disabled
    *
    * @since 4.3
    * @added_by Kriesi
    */
    function av_disable_button_in_backend( $shortcode ) 
    {
    	$key = 'av_alb_disable_'.$shortcode['shortcode'];
    	$disabled = avia_get_option($key);
    
    	if($shortcode['shortcode'] == 'av_masonry_entries') {
    		$shortcode['disabling_allowed'] = null;
    	}
    
    	if($key == $disabled && !empty( $shortcode['disabling_allowed'] ))
    	{
    		$shortcode['disabled'] = array(
    			'condition' => true, 
    			'text'   	=> __( 'This element is disabled in your theme options. You can enable it in Enfold &raquo; Performance', 'avia_framework' ));
    	}
    
    	return $shortcode;
    }
    
    if( avia_get_option('disable_alb_elements') == "manually" )
    {
    	add_filter( 'avf_shortcode_insert_button_backend', 'av_disable_button_in_backend', 10, 1 );
    }
    

    Best regards,
    Ismael

    in reply to: Portfolio Raster #983968

    Hi,

    Thank you for the update.

    You have to modify the config-templatebuilder > avia-shortcodes > portfolio > portfolio.php file. Add this code around line 653

    if ( comments_open() ) {
    	if ( $num_comments == 0 ) {
    		$comments = __('No Comments');
    	} elseif ( $num_comments > 1 ) {
    		$comments = $num_comments . __(' Comments');
    	} else {
    		$comments = __('1 Comment');
    	}
    	$write_comments = '<a href="' . get_comments_link() .'">'. $comments.'</a>';
    } else {
    	$write_comments =  __('Comments are off for this post.');
    }
    
    $output .= "<div class='grid-entry-excerpt grid-comments entry-content' ".$write_comments."</div>";

    Best regards,
    Ismael

    in reply to: Advanced Layerslider Advanced Settings : an info #983965

    Hi,

    Nice. It doesn’t work when you manually add a container inside a code or text block element.

    Best regards,
    Ismael

    in reply to: Enfold not Updating Theme Files? #983962

    Hi,

    It must be a server related issue. You can update the theme manually via FTP.

    // https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#update-via-ftp
    // https://kriesi.at/archives/the-complete-guide-to-updating-enfold

    Best regards,
    Ismael

    in reply to: Caption on image in lightbox? #983960

    Hi,

    You should add the caption in the Edit Gallery > ATTACHMENT DETAILS > Title field. The lightbox will use the value of that attribute to display a text below the image.

    Best regards,
    Ismael

    in reply to: Header manipulation – Beginner #983959

    Hi,

    Thanks for the update.

    Add the following css codes.

    #header_main .main_menu {
        width: 100%;
    }
    
    #header_main .avia-menu {
        left: 50%;
        transform: translateX(-50%);
    }
    
    #top nav .social_bookmarks {
        position: absolute;
        right: 0;
    }

    Best regards,
    Ismael

    in reply to: Gallery Image align to center #983958

    Hi,

    Thank you for the update.

    Use the following css code to center align the images vertically.

    #top div .avia-gallery img {
        left: 50%;
        float: none;
        position: absolute;
        display: block;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    #top .avia-gallery .avia-gallery-thumb a {
        position: relative;
    }

    Best regards,
    Ismael

    in reply to: Importing didn't work #983955

    Hi,

    Thank you for the update.

    You have to reset the database before attempting another demo import. This plugin should help you reset the previous data.

    // https://wordpress.org/plugins/wordpress-reset/

    Best regards,
    Ismael

    in reply to: Enfold increases file size of the featured image #983954

    Hi,

    The theme doesn’t compress the images. It just sets the quality to 100 which is why the compressed image or thumbnail has a larger file size than the source file. The default quality set by WordPress is 80.

    Best regards,
    Ismael

    in reply to: How to add arrows to a tab section on mobile #983952

    Hi,

    Thank you for the update.

    You can try this css code to create a prev and next arrow.

    .av-tab-section-outer-container:after {
        content: '\e879';
        font-family: 'entypo-fontello';
        font-size: 50px;
        position: absolute;
        top: 100px;
        z-index: 1000;
        right: 20px;
    }
    
    .av-tab-section-outer-container:before {
        content: '\e878';
        font-family: 'entypo-fontello';
        font-size: 50px;
        position: absolute;
        top: 100px;
        z-index: 1000;
        left: 20px;
    }

    Best regards,
    Ismael

    Hi,

    Thanks for the update.

    Where can I see the issue again? The thumbnails’ size are 355x116px when I checked the page.

    So when/where does the cropping takes place and how can I avoid cropping?

    The cropping takes place as soon as the images are uploaded. There’s also a function or script that automatically selects the appropriate size or thumbnail based on the current screen size or resolution which is why we added the filter above.

    // https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/

    Best regards,
    Ismael

    Hi,

    2.) If you need the lightbox to work, edit the config-templatebuilder > gallery > gallery.js file and then comment out or remove this block of code.

    gallery.on('mouseenter','.avia-gallery-thumb a', function()
    {
    	var _self = this;
    
    	big_prev.attr('data-onclick', _self.getAttribute("data-onclick"));
    	big_prev.height(big_prev.height());
    	big_prev.attr('href', _self.href)
    
    	var newImg 		= _self.getAttribute("data-prev-img"),
    		oldImg 		= big_prev.find('img'),
    		oldImgSrc 	= oldImg.attr('src');
    
    	if(newImg != oldImgSrc)
    	{
    		var next_img = new Image();
    		next_img.src = newImg;
    
    		var $next = $(next_img);
    
    		if(big_prev.hasClass('avia-gallery-big-no-crop-thumb'))
    		{
    			$next.css({'height':big_prev.height(),'width':'auto'});
    		}
    
    		big_prev.stop().animate({opacity:0}, function()
    		{
    			$next.insertAfter(oldImg);
    			oldImg.remove();
    			big_prev.animate({opacity:1});
    
    			big_prev.attr('title',$(_self).attr('title'));
    
    		});
    	}
    });
    

    3.) You should turn on the custom css class field so that you can apply the code to a specific gallery or element.

    // https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements

    Best regards,
    Ismael

    Hey havi,

    Thank you for using Enfold.

    The theme’s shortcode scripts and stylesheets are being loaded even though they’re not present in the page. You can change that behavior in the Enfold > Performance panel. Set the “Disable Template Builder Elements” to load only used elements. You can also enable the css/js compression to optimize the page speed.

    This article should help you optimize the site.

    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    Best regards,
    Ismael

    in reply to: Image With Hotspot transparent #983941

    Hey apremierdj,

    Thank you for using Enfold.

    Yes, that is possible. Just add this css code on the Quick CSS field.

    .av-hotspot-container .av-image-hotspot_inner {
        background: transparent;
        border: 1px solid gray;
    }

    Best regards,
    Ismael

    in reply to: refund #983940

    Hey Eduardo ,

    Did you encounter any issues with theme? Please contact themeforest for a refund.

    Best regards,
    Ismael

    Hey bonbuttercup,

    Thank you for using Enfold.

    The theme has its own “Maintenance Mode” option. You can find that inside the same theme options panel. You don’t need to set the home or blog page in the Settings > Reading panel.

    Best regards,
    Ismael

    in reply to: Facebook tracks events #983938

    Hey AuroraArcus,

    Thank you for using Enfold.

    Use the code or text block element of the advance layout builder. You can also use hooks or filters to add the script.

    // https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
    // https://codex.wordpress.org/Plugin_API/Filter_Reference/the_content

    Best regards,
    Ismael

    in reply to: Category Filter on Blog Posts Not Appearing #983935

    Hey rkumar12,

    Thank you for using Enfold.

    The blog posts element doesn’t have a sorting function by default. You’re probably looking for the Portfolio Grid or the Masonry element. You have to set the Blog Layout > Blog Layout settings to “Use the advance layout builder…” option first.

    Best regards,
    Ismael

    Hey neverstar,

    Thank you for using Enfold.

    This is not possible because the height of the full width slider is based on the slider image while the height of the color section is based on the content inside, not the background image. The color section’s background will have to adjust to its content. One workaround is to apply a different background image that is specifically resized for mobile view. You can also set the background size to 100% or “contain” but it will distort the image or create white space around the container.

    Best regards,
    Ismael

    in reply to: google maps in accordeon #983929

    Hey Ushbot,

    Thank you for using Enfold.

    Where did you put the “myMap” function? Have you tried to use the theme’s map shortcode or widget?

    Example:

    
    [av_google_map height='400px' zoom='16' saturation='' hue='' zoom_control='aviaTBzoom_control' maptype_control='' maptype_id='' streetview_control='aviaTBstreetview_control' google_link='' confirm_button='Click to load Google Maps' page_link_text='Open Google Maps in a new window' google_fallback='' attachment='' attachment_size='' av_uid='av-jjgca5oe' custom_class='']
    [av_gmap_location address='' postcode='' city='' state='' country='Japan' long='138.252924' lat='36.204824' marker='' imagesize='40'][/av_gmap_location]
    [/av_google_map]
    

    Best regards,
    Ismael

    in reply to: Cyrillic script used for download progress dialog #983926

    Hi,

    Thank you for the update.

    Where can we see the page with the pdf files? Did you test it on another computer or network?

    Best regards,
    Ismael

    Hey whonym,

    Thank you for using Enfold.

    The address leads me to a 404 page. Is that the correct address? Please check it carefully. T

    The theme’s documentation should help you get started. :)

    // https://kriesi.at/documentation/enfold/

    Ask us here in the forum if you need further assistance.

    Best regards,
    Ismael

    in reply to: custom font on multisite #983923

    Hi,

    Thank you for using Enfold.

    Is this fixed? It was probably cached. You have to toggle or re-saved the theme options to regenerate the scripts and stylesheets.

    Best regards,
    Ismael

Viewing 30 posts - 28,561 through 28,590 (of 67,567 total)