Forum Replies Created

Viewing 30 posts - 15,781 through 15,810 (of 66,839 total)
  • Author
    Posts
  • in reply to: Next / Previous Post not working #1266982

    Hey lzevon,

    Thank you for the inquiry.

    Try to set the skip_output parameter to false to make sure that the navigation is displayed in the post.

    /**
     * Use the following as a frame for customization
     * 
     * @since 4.5.6
     * @param array $settings
     * @return array
     */
    function my_avf_post_nav_settings( array $settings )
    {
    	/**
    	 * Skips e.g. pages.
    	 * 
    	 * get_previous_post() and get_next_post does not support hierarchical post types by default.
    	 * You need to implement your own logic.
    	 */
    	if( true === $settings['is_hierarchical'] )
    	{
    		$settings['skip_output'] = true;
    		return $settings;
    	}
    
    	/**
    	 * Limit post types you want to have navigation
    	 */
    	if( ! in_array( $settings['type'], array( 'post', 'portfolio' ) ) )
    	{
    		$settings['skip_output'] = true;
    		return $settings;
    	}
    
    	/**
    	 * Add other settings
    	 */
    	$settings['same_category'] = false;
    	$settings['is_fullwidth'] = false;
    
    	/**
    	 * Make sure we show navigation
    	 */
    	$settings['skip_output'] = false;
    
    	return $settings;
    }
    
    add_filter( 'avf_post_nav_settings', 'my_avf_post_nav_settings', 10, 1 );
    

    // https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Layout/avf_post_nav_settings.php

    Best regards,
    Ismael

    in reply to: Exclude a category in masonry portfolio #1266980

    Hi,

    The Appearance > Editor panel is not accessible, so we were not able to edit the functions.php file. Please try to replace the snippet with the following code.

    function avia_masonry_custom_query( $query ) {
    	if(is_page(38)) {
    		$exclude_cat = array('category__not_in' => '38');
    		$query = array_merge((array)$exclude_cat, (array)$query);
    	}
    
    	return $query;
    }
    add_filter('avia_masonry_entries_query', 'avia_masonry_custom_query');

    Or enable the file editor by setting the DISALLOW_FILE_EDIT to true so that we could adjust the snippet.

    // https://wordpress.org/support/article/hardening-wordpress/#disable-file-editing

    Best regards,
    Ismael

    in reply to: Images are not indexed by google #1266834

    Hi,

    Thank you for the update.

    Looks like you are using a different SEO plugin and the number of images for each page are properly listed in the sitemap, including the images in the mentioned pages above. (see private field)

    Best regards,
    Ismael

    Hi,

    Did you try the suggestion above regarding WP_Term object? You may need to loop through each term and check if the previous one belongs to the same taxonomy as the current one. If this is true, then render the comma.

    Is the site live? We could also remove the unnecessary comma in the front end using Javascript. Please post the site or page URL containing the posts with categories so that we could check the elements.

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. Did you use the avf_alb_supported_post_types filter to enable the ALB for the post type? We are not yet sure why this is not working as it should, and so we may have to access the dashboard in order to check it properly. Please post the login account info in the private field.

    Best regards,
    Ismael

    in reply to: Cumulative Layout Shift (CLS) on related_posts on mobile #1266819

    Hi,

    Thank you for the info.

    Have you tried using a different cache and/or minification plugins? Sometimes trying different combinations of plugins or extensions and of their settings fix these kind of issues.

    Best regards,
    Ismael

    in reply to: Cookie concent Modal window on mobile #1266817

    Hi,

    You are welcome! Please do not hesitate to open a new thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Portfolio Grid – Open to Ajax by Default #1266816

    Hi,

    The script should attach a click event listener to the Graham Capital menu item. Did you test that menu item?

    Would you mind if we access the dashboard and the file server so that we could test the modification? Please post the WP details in the private field and the FTP details as well if it is available. If FTP is not available, please make sure that the Appearance > Editor panel is accessible so that we could edit the files when necessary.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Custom Header #1266815

    Hi,

    Thank you for the link.

    The following css code should prevent the header from sticking on scroll on mobile view and remove the unwanted space inside the header container.

    @media only screen and (max-width: 767px) {
        .html_header_sticky.html_mobile_menu_tablet #top #wrap_all #header, .html_header_sticky.html_header_transparency #top #wrap_all #header, .html_header_sticky #top #wrap_all #header {
    	position: relative;
        }
    
        #menu-item-shop .cart_dropdown_link {
    	height: 30px !important;
    	line-height: 30px !important;
        }
    }

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Yes, sorry for the confusion. Did you create a backup or a restore point as suggested above? This is very important because you may lose the current theme configuration if you fail to properly activate the child theme.

    Please restore the site using the backup or the restore point, then post the WP and FTP login details in the private field so that we could add the social icons.

    Best regards,
    Ismael

    in reply to: Header image size differs in Firefox / Chrome / IE #1266813

    Hi,

    Glad it is solved. Please open a new ticket or thread for new inquiries or requests to keep this post concise and to avoid unnecessary confusion. We will close the thread for now.

    Thank you for your understanding.

    Best regards,
    Ismael

    in reply to: Add to Cart of few Items – Product Overview #1266812

    Hi,

    Would you mind if we access the dashboard and the file server? We have to be able to edit the above script in order to properly test it. Please post the WP and FTP details in the private field.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Move anchors offset on mobile #1266811

    Hi,

    Thank you for the screencast.

    Did you set the header to be sticky on mobile view? Try to edit the js > avia.js file and remove this code around line 650.

    	if (isMobile) {
    						fixedMainPadding = 0;
    					}
    
    

    Please do not forget to toggle or to temporarily disable the Performance > File Compression settings after doing the modification.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    We added the av_resize_finished event to the script and it seems to have helped with the issue. The parallax container is now resizing properly on page load. Please remove the browser cache prior to checking the page.

    Best regards,
    Ismael

    Hi,

    The height of the parallax container should adjust on window resize or after the av_resize_finished event. Please post the login details in the private field so that we could check the modification and adjust it when necessary. Make sure that the Appearance > Editor panel is accessible.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Mobile menu not showing any menu items #1266206

    Hi,

    Thank you for the update.

    The items inside the mobile menu are now displaying properly. Did you figure out the issue? Which plugin are you using to switch to a different menu on mobile? It is possible that the plugin is not compatible with the theme.

    Best regards,
    Ismael

    in reply to: Header image size differs in Firefox / Chrome / IE #1266204

    Hi,

    Thank you for the update.

    This css code should keep the main logo aligned to the center on scroll.

    .logo img {
    	left: 50%;
    	transform: translateX(-50%);
    }
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Looks like you have not installed a child theme yet. If you want to install one, please create a site backup or a restore point in case anything goes wrong, then check the following documentation.

    // https://kriesi.at/documentation/enfold/child-theme/

    Please post the WP and FTP details in the private field so that we could add the modifications.

    Best regards,
    Ismael

    in reply to: Widget Area in Nav (Logo Left, Nav Left, Widget Right) #1266199

    Hi,

    Try to revert the value of the justify-content property back to space-between, then adjust the order of the elements so that the logo comes before the menu, then move the widget or phone number to the left.

    .responsive #top #header #header_main .inner-container .main_menu {
    	order: 3;
    }
    
    .responsive #top #header #header_main .inner-container .logo {
    	order: 2;
    }
    
    .responsive #top #header #header_main .inner-container .widget {
    	order: 1;
    }
    

    You may have to remove this css code.

    .responsive #top #header #header_main .inner-container .widget {
    	right: 0;
    	position: absolute !important;
    }
    

    Best regards,
    Ismael

    in reply to: Move anchors offset on mobile #1266197

    Hi,

    Have you tried to adjust the scroll_offset even more? Currently, the snippet above adds 48px to the default offset value.

    $header['header_scroll_offset'] = $header['header_scroll_offset'] + 48;
    

    Try to adjust the value from 48 to a higher integer.

    Best regards,
    Ismael

    in reply to: PROBLEM WITH LOOP IN VIDEO #1266191

    Hi,

    Thank you for the update.

    That is odd. Does it work correctly when you remove the slider and leave the video element? If it is still not working, please use the easy slider temporarily.

    Best regards,
    Ismael

    in reply to: aamplugin – Shortcode works to 50%? :D #1266186

    Hi,

    You are very welcome! Please do not hesitate to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Align Middle on Tables in Enfold #1266184

    Hi,

    Is it possible to set padding for each column separately

    That is possible using nth-child selectors but it would be a bit more difficult to maintain. For example, to target the second cell in the second column, we can use this css code.

    .avia-table .pricing-table-wrap:nth-child(2) .pricing-table li:nth-child(2) {
    	padding: 100px 0;
    }
    

    For the 3rd cell in the 3rd column use this.

    .avia-table .pricing-table-wrap:nth-child(3) .pricing-table li:nth-child(3) {
    	padding: 80px 0;
    }
    

    The difficult part is that you may have to adjust these values on different screen sizes.

    Best regards,
    Ismael

    in reply to: Issue with Masonry on mobile #1266181

    Hi,

    Awesome. We will close the thread now. Please do not hesitate to open a another should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Setting min-height of main content window using jQuery #1266180

    Hi,

    Welcome back! Thank you for the update.

    Is it working properly again now? Please post the site or page URL so that we could check the modification.

    Best regards,
    Ismael

    in reply to: Change styling of checkout and cart page #1266179

    Hi,

    You have to replace the value of the is_page function with the actual ID of the checkout page.

    is_page(array(18))
    

    Replace 18 with the ID or name of the checkout page which is 436.

    is_page(array(436))
    

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Bug in contact.js breaking all validation logic #1266004

    Hi,

    However, if a form field has nothing filled in and is has no specific validation set, there is no remaining way for it to validate and hence that situation gets stuck without a 'valid' class.
    

    Sorry for the delay. Fields without validation is automatically assumed or deemed as not important, so it does not matter if it is validated or not or if it is empty — the form will be sent regardless. The only difference is that the fields will not receive the “valid” class, as you have observed, or will not have the green line around it if it is empty when the form is sent, but then again the form will still work as expected.

    Best regards,
    Ismael

    Hey aaziz_tensa,

    Thank you for the inquiry.

    The search icon is not visible because of this css code.

    #top #menu-item-search.menu-item-search-dropdown > a {
    	border-left: none;
    	display: none;
    }

    Please remove it or add the following css code to override it.

    #top #menu-item-search.menu-item-search-dropdown > a {
    	display: block !important;
    }
    

    Best regards,
    Ismael

    in reply to: WP media uploader issue #1265986

    Hi,

    Glad to know that it solved the issue. If possible, please open a single thread or ticket for each inquiry and avoid stacking multiple questions on a single post. And if you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    in reply to: Mobile cart fix #1265984

    Hi,

    Is there any way to access the live site or its staging version? We may need to inspect the elements further and test the css modifications. Which browser are you using?

    Best regards,
    Ismael

Viewing 30 posts - 15,781 through 15,810 (of 66,839 total)