Forum Replies Created

Viewing 30 posts - 12,331 through 12,360 (of 67,432 total)
  • Author
    Posts
  • in reply to: Direct Link to Ajax Portfolio Item #1334140

    Hi,

    Thank you for the update.

    We modified the script a bit and added a timeout so that it doesn’t execute immediately on page load. It is working correctly now. Please make sure to purge the cache before checking.

    // deep linking to Portfolio Ajax
    add_action( 'wp_footer', 'enfold_customization_portfolio_linking', 999 );
    function enfold_customization_portfolio_linking() {
    ?>
    <script type = "text/javascript">
    	(function($) {
    		$(document).ready(function(){
    			setTimeout(function() {
    				$('.post-entry-'+ getUrlParameter('custom_ajax') +' .grid-image').trigger("click");
    			}, 500);
    		});
    	})(jQuery);
    
    	function getUrlParameter(sParam)
    	{
    		var sPageURL = window.location.search.substring(1);
    		var sURLVariables = sPageURL.split('&');
    		for (var i = 0; i < sURLVariables.length; i++) 
    		{
    			var sParameterName = sURLVariables[i].split('=');
    			if (sParameterName[0] == sParam) 
    			{
    				return sParameterName[1];
    			}
    		}
    	}      
    </script>
    <?php
    }
    

    Best regards,
    Ismael

    in reply to: Pricing Table Row height misaligned #1334139

    Hey michaelmiller68,

    Thank you for the inquiry.

    You have to set the Styling > Table Styling > Table Purpose to the second option (Use the table to display tabular data) if you want every columns in the row to align automatically, or ensure that the columns will have the same height.

    Best regards,
    Ismael

    in reply to: Angular to Enfold Transition #1334138

    Hey mbesh,

    Thank you for the inquiry.

    1.) The issue with the images occurs because of an error in the themes/angular/js/aviapoly.js, around line 1436.

    	if ($.browser.msie && $.browser.version < 9) { animTime = 600; }
    

    $.browser functions have been removed from the latest version of jQuery starting from version 1.9. Downgrading jQuery to an older version might fix the issue.

    2.) Please note that Enfold and Angular are completely different themes and don’t share the same functionality. The global templates on Angular cannot be converted to Enfold templates. You will have to recreate them manually from scratch using the Advance Layout Builder from Enfold.

    As you may already know, we have removed older themes from Themeforest including Angular since 2020, which also ended the product support. There has been no update or compatibility fixes since, so any issues that will arise from then on will have to be forwarded to a different developer.

    // https://kriesi.at/archives/wordpress-5-0-and-enfold-4-5-1

    Best regards,
    Ismael

    in reply to: Lazy Loading enabled but also not enabled? #1334134

    Hey Alwin,

    Thank you for the inquiry.

    Yes, you are correct. The lazy loading option for images is disabled by default irregardless of the global option, which can be adjusted in Enfold > Performance > Lazy Loading settings, so you have to set it manually. But please note that when the global settings is disabled, it will override and also disable the elements’ lazy loading option.

    Best regards,
    Ismael

    in reply to: Private Custom Posts exposed based on Blog-Layout #1334031

    Hey w,

    Thank you for the inquiry.

    Are you using any posts sorting plugin? These types of plugin could alter the default posts query and affect the Blog Posts element or template. Temporarily, you can try this filter in the functions.php file to completely exclude the job_application post type from the blog posts grid layout.

    add_filter("avia_post_slide_query", function($query) {
        unset($query["post_type"]["job_application"]);
        return $query;
    }, 10, 1);
    
    

    Let us know if that helps.

    Best regards,
    Ismael

    in reply to: Layerslider fatal error #1333994

    Hi,

    Yes, that should be possible. Just create a new Enfold installation, export the _layerslider table, then import it to the actual site. Hopefully, it will fix the issue with the layer slider. You may need to import a demo first if the _layerslider table does not exist.

    Best regards,
    Ismael

    in reply to: image height at percentage of browser height #1333993

    Hi,

    Thank you for the info.

    We could define the minimum and maximum height of the image but it might get distorted on certain screen sizes. If that is not a problem, try try this css code.

    img.wp-image-3530.avia-img-lazy-loading-not-3530.avia_image {
        height: 50vh !important;
        max-height: 50vh !important;
        min-height: 50vh !important;
    }
    

    You may need to apply a custom css class name or ID to the image element and replace the css selector above.

    Best regards,
    Ismael

    in reply to: analytics not reccording all visits #1333992

    Hi,

    Thank you for all the info.

    We cannot be really sure what happened in the past months but according to the graph, the traffic is now coming back to normal or to what it used to be before the incident. We also checked the site today and the tracker seems to be working as it should as shown in the screenshot below. Please observe the site in the coming days or weeks and let us know if the issue happens again.

    Happy holidays to both of you!

    Best regards,
    Ismael

    in reply to: General Styling Page for End Users #1333991

    Hi,

    Thank you for the update.

    We adjusted the script in the functions.php file a bit. What we did is check for the text inside the clicked button and apply the corresponding color to the text within the target section. The modified script is below.

    /****************************
    * Apply Color Scheme
    *****************************/
    
    function apply_color_scheme() {
    
    	?>
    	<script>
    	(function($) {	
    		$( '#button-row a' ).on( "click", function(e) {
    			e.preventDefault();
    			
    			var color = $(this).find(".avia_iconbox_title").text();
    			var c = "white";
    
    			switch (color) {
    				case "Blanc":
    					c = "white";
    					break;
    
    				case "Bleu":
    					c = "blue";
    					break;
    
    				case "Rouge":
    					c = "red";
    					break;
    
    				case "Vert":
    					c = "green";
    					break;			
    				default:
    					break;
    			}
    
    			$( '#my-selection' ).css( "color", c );
    			$( '#my-color' ).css( "color", c );
    		});
    	})(jQuery);
    	</script>
    	<?php
    
    }
    
    add_action('wp_footer', 'apply_color_scheme');
    

    Best regards,
    Ismael

    in reply to: No Index at homepage due to woocommerce #1333990

    Hi,

    Thank you for the info.

    We may need to access the server in order to debug the issue further. Please post the FTP login details in the private field so that we can check the site.

    Best regards,
    Ismael

    in reply to: Trying to upload an iconfont manager zip #1333874

    Hi,

    Thank you for the info.

    Which icon fonts exactly? Please provide a direct link to the font set so that we can test it on our end. We cannot open the existing zip file in the media library for some reason.

    Best regards,
    Ismael

    in reply to: Right Sidebar Not Displaying Full Width #1333873

    Hey bluestare,

    Thank you for the inquiry.

    It only looks like the sidebar is cut off because of this css code, which applies a background to the sidebar container.

    .sidebar {
        background-color: #8e2851 !important;
    }
    

    To fix it or to make it look like the background is completely covering the sidebar, you will have to adjust the width of the content and add a padding to the right of the sidebar container.

    .container .av-content-small.units {
        width: 67%;
    }
    
    .sidebar {
        padding-right: 50px;
    }
    

    Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.

    Best regards,
    Ismael

    in reply to: enfold menu on left no scroll on iPad (landscape format ) #1333870

    Hi,

    Thank you for the update.

    Are you testing it on an iPad Pro? Adjusting the max-width value should work on tablet with wider screens. And make sure to purge the cache or remove the browser history before testing the page.

    Best regards,
    Ismael

    in reply to: Change portfolio's permalink #1333869

    Hi,

    Thank you for the clarification.

    In the portfolio editor, you can define a custom link by adjusting the Additional Portfolio Settings > Overwrite Portfolio Link settings to the second option (Define custom link). You can then manually define the URL in the Link portfolio item to external URL field.

    Best regards,
    Ismael

    in reply to: Gradient on button #1333867

    Hi,

    Thank you for the update.

    As it turned out, there is already a gradient color option in the button editor. Please set the Styling > Colors > Button Colors Selection settings to the second option to display the advance options, then select the very last option in the Button Background Color settings.

    Best regards,
    Ismael

    in reply to: Huge dynamic_avia folder #1333865

    Hey Julien,

    Thank you for the inquiry.

    Are the newly generated files still 12 GB in size? How many posts and pages are there in total? It might be due to the post css files, which is a dedicated stylesheet or css file for each post. You can disable this feature by adding this filter in the functions.php file.

    /**
     * Filter to skip css file generation.
     * You can add logic to skip for certain pages/posts only.
     * 
     * @since 4.8.6.1
     * @param boolean $create
     * @return boolean					true | false or anything else to skip generation of css file
     */
    function custom_avf_post_css_create_file( $create )
    {
    	return false;
    }
    
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
    

    Best regards,
    Ismael

    in reply to: Duplicate H1 #1333864

    Hey wock_legacy,

    Thank you for the inquiry.

    Only one title will render in the post based on the selected blog style. Where can we see an example of the duplicated title? You might be referring to the default title container, which can be toggled in the Enfold > Header > Header Title and Breadcrumbs settings.

    Best regards,
    Ismael

    Hey KellyKilgallon,

    Thank you for the inquiry.

    We cannot find the blog posts section in the home page. Where did you place it? Please provide a direct link to the page containing the blog posts element.

    Best regards,
    Ismael

    in reply to: One page menu bug #1333854

    Hey enfold,

    Thank you for the inquiry.

    You have to adjust the menu item URL a bit. The site refreshes because the menu item link or URL is different from the actual domain name. You can omit the domain name and use the anchor directly instead. (see private field)

    Best regards,
    Ismael

    Hey enfold,

    Thank you for the inquiry.

    Did you set the site language to Spanish? You can set it back to English in the Settings > General > Site Language options. You can also use this plugin to translate a specific text or string.

    // https://wordpress.org/plugins/say-what/

    Best regards,
    Ismael

    in reply to: Masonry Gallery Equal Height Issue #1333848

    Hey KellyKilgallon,

    Thank you for the inquiry.

    We could apply a minimum height to the title container with css but it will leave a line of empty space on items with shorter titles. Please try this css code.

    .av-masonry-entry-title.entry-title {
        min-height: 38px;
    }
    

    Also, please make sure to use images with the size for every masonry items.

    Best regards,
    Ismael

    in reply to: How to move elements up and down to overlap them #1333846

    Hey AFEC,

    Thank you for the inquiry.

    You have to apply a custom css class name to the columns that you would like to move up so that we can style them directly. The custom css class name field is located in the elements’ Advanced > Developer Settings panel. After applying a custom css class name (e.g “av-quote-block”) to the columns, you can use this css code to pull them upwards.

    .av-quote-block {
        margin-top: -80px;
    }
    

    Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.

    Best regards,
    Ismael

    in reply to: No Index at homepage due to woocommerce #1333844

    Hi,

    Thank you for following up.

    We have found a plugin called Head Meta Data installed in your site, but whenever we try to deactivate it, the site breaks. According to the plugin description, it adds a set of meta tags in the site. Have you tried deactivating the plugin?

    Best regards,
    Ismael

    in reply to: Change font size on portfolio Title and Excerpts #1333701

    Hey klkc,

    Thank you for the inquiry.

    You can use this css code to adjust the font size of the portfolio title and content.

    .grid-entry-title {
        font-size: 21px;
    }
    
    .grid-entry-excerpt {
        font-size: 16px;
    }
    

    Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.

    Best regards,
    Ismael

    in reply to: The problem after updating to version 4.8.8.1 #1333700

    Hi,

    Glad to know that you managed to find the latest snippet. Thanks for sharing. Please feel free to open another thread if you have more questions. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: text optimisation on large screens #1333699

    Hi,

    Thank you for the update.

    You can apply a custom css class name or ID to the section or element. You can then use those attributes to adjust the style of a specific element. The custom class and ID fields are located in the elements’ Advanced > Developer Settings tab.

    Please check this documentation for more info.

    // https://kriesi.at/documentation/enfold/add-custom-css/

    Best regards,
    Ismael

    in reply to: enfold menu on left no scroll on iPad (landscape format ) #1333698

    Hey nagex,

    Thank you for the inquiry.

    The sidebar or header will only stick if it is NOT taller than the browser viewport. This is why the menu is not fixed and scrolls with the content on iPad landscape mode.

    You can add this css code to keep it sticky on iPad view but some of the content on the bottom part of the header might get cut off.

    @media only screen and (max-width: 1024px) {
        .html_header_sidebar #top #header {
            position: fixed;
        }
    }
    

    Best regards,
    Ismael

    in reply to: Timeouts and spinning wheel #1333697

    Hi,

    Thank you for the info.

    According to the error log, the ‘/enfold/framework/php/inc-autoconfig.php’ file does not exist, which is odd, because the theme will not load at all if that file is missing. Do you have a staging or development version of the site? There might be a plugin that runs a process in the background, which causes the error.

    Best regards,
    Ismael

    in reply to: FontAwesome Icons #1333694

    Hey Patrick,

    Thank you for the inquiry.

    There is no plan on including another set of font icons in the builder, unfortunately, but you can still use the fontawesome icons using html tags or shortcodes.

    html:

    <i class="fas fa-coffee"></i>
    

    shortcodes:

    [icon name="coffee" prefix="far"]
    

    You have to install the plugin first.

    // https://wordpress.org/plugins/font-awesome/

    Best regards,
    Ismael

    in reply to: No Index at homepage due to woocommerce #1333692

    Hi,

    Thank you for the update.

    The hook doesn’t exist in the functions.php file, so the meta tag must have been really added by the shop plugin. Try to add this filter in the functions.php file to list all functions attached to the wp_head hook.

    
    add_action("after_setup_theme", function() {
        $hook_name = 'wp_head';
        global $wp_filter;
        echo '<pre>' . var_export($wp_filter[$hook_name], true) . '</pre>';
    }, 10);
    

    Best regards,
    Ismael

Viewing 30 posts - 12,331 through 12,360 (of 67,432 total)