Forum Replies Created
-
AuthorPosts
-
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 );Best regards,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelDecember 13, 2020 at 12:37 am in reply to: How to put commas to separate taxonomies from different groups of taxonomies #1266823Hi,
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,
IsmaelDecember 13, 2020 at 12:33 am in reply to: Equal height columns break layout in "The events calendar" events #1266821Hi,
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,
IsmaelDecember 13, 2020 at 12:29 am in reply to: Cumulative Layout Shift (CLS) on related_posts on mobile #1266819Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelDecember 13, 2020 at 12:15 am in reply to: Apple Music / Spotify / Amazon – social icons in the menu bar? #1266814Hi,
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,
IsmaelDecember 13, 2020 at 12:10 am in reply to: Header image size differs in Firefox / Chrome / IE #1266813Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelDecember 12, 2020 at 11:59 pm in reply to: Background Image Not Showing In Color Section When Code Block Is Present #1266810Hi,
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,
IsmaelDecember 10, 2020 at 7:50 am in reply to: Background Image Not Showing In Color Section When Code Block Is Present #1266210Hi,
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,
IsmaelHi,
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,
IsmaelDecember 10, 2020 at 7:32 am in reply to: Header image size differs in Firefox / Chrome / IE #1266204Hi,
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,
IsmaelDecember 10, 2020 at 7:26 am in reply to: Apple Music / Spotify / Amazon – social icons in the menu bar? #1266201Hi,
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,
IsmaelDecember 10, 2020 at 7:15 am in reply to: Widget Area in Nav (Logo Left, Nav Left, Widget Right) #1266199Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
You are very welcome! Please do not hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelDecember 10, 2020 at 6:29 am in reply to: Setting min-height of main content window using jQuery #1266180Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelDecember 9, 2020 at 2:16 pm in reply to: Search bar in Main Header area disappeared with theme update #1266000Hey 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,
IsmaelHi,
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 -
AuthorPosts
