Forum Replies Created
-
AuthorPosts
-
Hey!
For now I’ve solved the issue by adding a scrollbar to the header to have the menu visible in every screen height.
Glad to know that you managed to find a working solution. You can also try @Guenni007 solution above. Please feel free to open another thread if you have more questions about the theme.
@Guenni007: Thank you for the suggestion.Regards,
IsmaelHi,
Thank you for the update.
You can download the theme package from your Themeforest account, extract the enfold.zip file, extract the content of the zip file and upload it to the wp-content > themes directory manually via S/FTP. Please check the link below for more info.
// https://kriesi.at/documentation/enfold/install-enfold-theme/#ftp-install
Best regards,
IsmaelHi,
If you want to show subcategories for which a specific product belongs, try replacing the shortcode with this:
function av_display_product_subcategories_shortcode( $atts ) { if ( ! is_product() ) { return 'This shortcode can only be used on product pages.'; } global $product; $terms = wp_get_post_terms( $product->get_id(), 'product_cat' ); if ( empty( $terms ) || is_wp_error( $terms ) ) { return 'No categories found for this product.'; } $category = $terms[0]; $args = array( 'taxonomy' => 'product_cat', 'parent' => $category->term_id, 'hide_empty' => false, ); $subcategories = get_terms( $args ); if ( empty( $subcategories ) || is_wp_error( $subcategories ) ) { return 'No subcategories found for this category.'; } $output = '<ul>'; foreach ( $subcategories as $subcategory ) { $output .= '<li>' . esc_html( $subcategory->name ) . '</li>'; } $output .= '</ul>'; return $output; } add_shortcode( 'av_display_subcategories', 'av_display_product_subcategories_shortcode' );
You can then use the shortcode in a product like so:
[av_display_subcategories]
Unfortunately, you cannot use the dynamic content for this.
Best regards,
IsmaelSeptember 30, 2024 at 4:25 am in reply to: Video Player black screen and Full Screen possible? #1468077Hi,
Do you know why it is better to host there? Do they have faster Server than my server?
Yes, video hosts like YouTube or Vimeo have significantly faster servers, and your video will be hosted on multiple servers worldwide, making it more readily available to viewers.
She wants many Videos which will be shown after paying.
In Vimeo, you can edit the embed settings and restrict the video to a specific domain. Please check the following link: https://help.vimeo.com/hc/en-us/articles/13806764653201-How-to-change-your-video-s-privacy-settings#h_01GQ891KDXKVFFZM7T6C4P4NZ3
Best regards,
IsmaelHi,
We still haven’t figured out why the click event for the read more button can’t be triggered automatically.
there are changes in your setting ( names ) and these selectors are ID’s
@Guenni007: We’ve already updated the attributes of the elements and edited the code in the functions.php, but the click trigger is still not working as expected. Thanks for checking.Best regards,
IsmaelHi,
Thank you for the update.
We may need to access the site to properly check the issue. Please provide the login details in the private field.
Best regards,
IsmaelHey rixi,
Thank you for the inquiry.
There is no option for this out of the box. You may need to search for a plugin or hire a freelance developer to implement the feature. You can find freelancers who specialize in theme customization by visiting our customization page.
If you have any other questions or require further assistance, please feel free to let us know.
Best regards,
IsmaelSeptember 30, 2024 at 3:50 am in reply to: Dia slideshow element: changing h-tag, overlay and location/font size title #1468073Hey Peter,
Thank you for the inquiry.
Are you using the Easy Slider element?
— You can change the heading default by editing any of the slides’ Advanced > Heading Tag settings.
— To center the caption and add a transparent overlay, try configuring the Styling > Caption > Caption Positioning settings.
— The font sizes can also be adjusted in the Styling > Font Sizes panel.
Best regards,
IsmaelSeptember 30, 2024 at 3:37 am in reply to: image with overlapping content field with title, text and button #1468072Hi,
Thank you for the update.
We’ve modified the css code to apply a white background color to the text block and position it in front of the image. Please try it again.
.av-overlap-text-block { margin-top: -100px; z-index: 999; position: relative; background: white; padding: 18px; }
Best regards,
IsmaelHi,
No problem! Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelSeptember 27, 2024 at 1:55 am in reply to: Video Player black screen and Full Screen possible? #1467910Hi,
Thank you for the inquiry.
The .mov format is not supported by most browsers. Please convert the video to .mp4, .ogv, or .webm before uploading it to your site. You can also use platforms like YouTube or Vimeo for video hosting.
Best regards,
IsmaelHey westefan,
Thank you for the inquiry.
What do you mean by “dynamic WP custom fields”? If you want to display the subcategories of a specific parent category, you can try this shortcode in the functions.php file:
function av_display_product_subcategories_shortcode( $atts ) { $atts = shortcode_atts( array( 'category_id' => '', ), $atts, 'display_subcategories' ); $category_id = intval( $atts['category_id'] ); if ( !$category_id ) { return 'Please provide a valid main category ID.'; } $args = array( 'taxonomy' => 'product_cat', 'parent' => $category_id, 'hide_empty' => false, ); $subcategories = get_terms( $args ); if ( empty( $subcategories ) || is_wp_error( $subcategories ) ) { return 'No subcategories found for this category.'; } $output = '<ul>'; foreach ( $subcategories as $subcategory ) { $output .= '<li>' . esc_html( $subcategory->name ) . '</li>'; } $output .= '</ul>'; return $output; } add_shortcode( 'av_display_subcategories', 'av_display_product_subcategories_shortcode' );
You can use the shortcode in a Text or Code Block element.
[av_display_subcategories category_id="123"]
Best regards,
IsmaelSeptember 27, 2024 at 1:47 am in reply to: search and filter posts based on Taxonomy (category, tags, and….) #1467907Hey dmansouri1981,
Thank you for the inquiry.
You can use the Portfolio or Masonry element, but items can only be sorted by categories or terms. You may need to install a plugin for more advanced filtering options.
Best regards,
IsmaelHi,
Please edit the home page, look for the first Color Section element, go to the Advanced > Position toggle, then adjust the value of the Z-index option. Or provide the login details in the private field so that we can edit the settings.
Best regards,
IsmaelHi,
Thank you for the update.
Would you mind providing a screenshot of the issue or the changes that you’d like to implement? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:
1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
2.) Locate the option to upload a file or an image.
3.) Select the screenshot file from your computer or device and upload it to the platform.
4.) After the upload is complete, you will be provided with a shareable link or an embed code.
5.) Copy the link or code and include it in your message or response to provide us with the screenshot.Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.
Best regards,
IsmaelHey paulw185,
Thank you for the inquiry.
2.) By default, the site title is used as the alt text for the logo. To change it, please add the following code to the functions.php file:
function avf_logo_alt_mod($alt) { $alt = "New Alternate Text Here"; return $alt; } add_filter('avf_logo_alt', 'avf_logo_alt_mod');
Best regards,
IsmaelHi,
Thank you for the update.
The screenshot is not available. Please try to use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. To adjust the position of the first icon, try to use this css code:
.page-id-2812 .iconbox.iconbox_top.av-4y8t98-1552b52871c4cfcb5f7a7b4dfc77e4b5 .iconbox_icon:before { left: 8px; }
Best regards,
IsmaelHi,
Great! Glad to know that the filter worked. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey valerieh,
Thank you for the inquiry.
Try to edit all the buttons, go to the Advanced > Developer Settings toggle, and then place the name “av-custom-bottom-button” in the Custom CSS Class field. After editing all the buttons, add this css code:
.av-custom-bottom-button { position: absolute; bottom: 20px; }
Best regards,
IsmaelSeptember 26, 2024 at 6:16 am in reply to: Replace the word “ALL” in portfolio filter doesn’t work #1467846Hey paulw185,
Thank you for the inquiry.
Are you using the Portfolio Grid element? Please provide the page URL in the private field so that we can check the issue. We adjusted the filter a bit.
/** * Use the "avf_portfolio_sort_first_label" filter to change the first label (All) in the Portfolio Grid element. * * @param string $first_item_name Default label for the first portfolio item. * @return string Modified label for the first portfolio item. **/ add_filter('avf_portfolio_sort_first_label', 'new_portfolio_first_label', 10, 1); function new_portfolio_first_label( $first_item_name ) { $first_item_name = "NEW ALL TEXT"; return $first_item_name; }
Best regards,
IsmaelHi,
Thank you for the update.
Please try to edit the first color section with the background image then set the Advanced > Position > Z-Index to 0 (zero) or 1. Make sure to purge the cache or disable the file compression afterwards. Let us know the result.
Best regards,
IsmaelHey whdsolutions,
Thank you for the inquiry.
You can use this css code to adjust the style of the portfolio grid items:
#top .grid-content { position: absolute; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5) !important; display: flex; flex-direction: column; justify-content: center; } #top .main_color .grid-entry-title.entry-title { background: transparent; font-size: 1.8em; }
Best regards,
IsmaelHi,
Thank you for the info.
We are not really sure what changed, but it looks like it’s no longer possible to render the content of the Advanced Layout Builder in the popup. Please try to use the default editor for now. We’ll update you once we found the issue.
Best regards,
IsmaelHi,
Thank you for the update.
The script seems to be working even when we reload the page or redirect to another. If you want to convert the modification and use wp_add_inline_script, please try this code:
function av_popup_masonry_gallery() { if (is_singular('regard-associe')) { $script = " (function($){ $(window).load(function(){ $('a.av-masonry-entry.lightbox-added').magnificPopup({ type: 'image', image: { titleSrc: false, markup: '<div class=\"mfp-figure\">'+ '<div class=\"mfp-close\"></div>'+ '<div class=\"mfp-img\"></div>'+ '<div class=\"mfp-bottom-bar\">'+ '<div class=\"mfp-title\"></div>'+ '<div class=\"mfp-counter\"></div>'+ '</div>'+ '</div>', }, mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded', closeOnContentClick: false, midClick: true, gallery: { enabled: true }, callbacks: { markupParse: function (template, values, item) { values.title = '<span class=\"jmmfp-title\"><strong>' + item.el.find('img').attr('title') + '</strong></span><br>' + item.el.closest('.av-masonry-entry').find('.av-masonry-entry-content').text(); }, }, }); // close the iframe window $(document).on('click', '.popup-modal-dismiss', function (e) { $.magnificPopup.close(); }); }); })(jQuery); "; wp_add_inline_script('avia-default', $script); } } add_action('wp_enqueue_scripts', 'av_popup_masonry_gallery');
Best regards,
IsmaelHey DB,
Thank you for the inquiry.
Where is the site hosted? Have you tried reaching out to your hosting provider and ask for assistance? You can manually upload Enfold to your server via FTP or via the dashboard. Please check the link below:
// https://kriesi.at/documentation/enfold/install-enfold-theme/
// https://kriesi.at/documentation/enfold/install-enfold-theme/#ftp-installBest regards,
IsmaelHey DB,
Thank you for the inquiry.
Where is the site hosted? Have you tried reaching out to your hosting provider and ask for assistance? You can manually upload Enfold to your server via FTP or via the dashboard. Please check the link below:
// https://kriesi.at/documentation/enfold/install-enfold-theme/
// https://kriesi.at/documentation/enfold/install-enfold-theme/#ftp-installBest regards,
IsmaelHi,
We don’t encounter a lot of threads about this, and when we do, it’s usually related to the server configuration. Configuring the robots.txt file or adding directives to the server usually takes care of the issue.
Best regards,
IsmaelHey mnydish,
Thank you for the inquiry.
There is no option for this by default, but you can try this code in the functions.php file to redirect to a custom page when no posts are found.
function av_redirect_no_search_results() { if ( is_search() && !have_posts() ) { wp_redirect( home_url( '/unfortunately-we-dont-have-what-youre-searching-for/' ) ); exit(); } } add_action( 'template_redirect', 'av_redirect_no_search_results' );
Best regards,
IsmaelHi,
Great! Glad it worked. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey Mariarita,
Thank you for the inquiry.
The header disappears on scroll because of this css code which puts the first color section above the header.
.avia-section.av-dbfgfq-dd62c8cfe0da5cdb4e4a6575d399ef7e { z-index: 990; }
Did you add this css code or did you adjust the Advanced > Position > Z-Index settings of the color section element?
Best regards,
Ismael -
AuthorPosts