Forum Replies Created

Viewing 30 posts - 2,671 through 2,700 (of 66,166 total)
  • Author
    Posts
  • in reply to: Make menu span the menu area #1468325

    Hi,

    Thank you for the update.

    Doing these changes has messed-up the mobile menu and the line is still showing on mobile

    Try to move the css code inside a css media query. Please replace the previous code with this:

    @media only screen and (min-width: 768px) {
    
      /* Add your Desktop Styles here */
      #top #avia-menu:after {
        content: "";
        width: 90%;
        height: 2px;
        display: block;
        position: absolute;
        background: white;
        top: 140px;
      }
    
      #top #avia-menu {
        margin-top: -19px;
      }
    }

    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: Dynamic WP Custom Fields #1468324

    Hi,

    Thank you for the info.

    We updated the code again and added a filter so that only subcategories where the product belongs are included.

    function av_display_product_subcategories_shortcode( $atts ) {
        $atts = shortcode_atts( array(
            'parent_category' => '',
        ), $atts, 'av_display_subcategories' );
    
        if ( ! is_product() ) {
            return 'This shortcode can only be used on product pages.';
        }
    
        global $product;
    
        if ( ! empty( $atts['parent_category'] ) ) {
            $parent_category = get_term_by( 'slug', sanitize_title( $atts['parent_category'] ), 'product_cat' );
            if ( ! $parent_category ) {
                $parent_category = get_term( (int) $atts['parent_category'], 'product_cat' );
            }
        }
    
        if ( ! $parent_category || is_wp_error( $parent_category ) ) {
            return 'No valid parent category found.';
        }
    
        $product_terms = get_the_terms( $product->get_id(), 'product_cat' );
    
        if ( empty( $product_terms ) || is_wp_error( $product_terms ) ) {
            return 'No categories found for this product.';
        }
    
        $filtered_terms = [];
        foreach ( $product_terms as $term ) {
            if ( $term->parent == $parent_category->term_id ) {
                $filtered_terms[] = $term;
            }
        }
    
        if ( empty( $filtered_terms ) ) {
            return 'No subcategories found for this product under the specified parent category.';
        }
    
        $output = '<ul>';
        foreach ( $filtered_terms as $subcategory ) {
            $output .= '
     	<li>' . esc_html( $subcategory->name ) . '</li>';
        }
        $output .= '</ul>';
    
        return $output;
    }
    
    add_shortcode( 'av_display_subcategories', 'av_display_product_subcategories_shortcode' );
    

    Best regards,
    Ismael

    in reply to: Problem with Cart Buttons (WooCommerce) #1468321

    Hi,

    We modified the code a bit. Please try it again:

    function ava_custom_remove_woocommerce_action()
    {
        remove_action('woocommerce_after_shop_loop_item', 'avia_add_cart_button', 16);
        add_action('woocommerce_simple_add_to_cart', 'woocommerce_simple_add_to_cart', 30);
        add_action('woocommerce_grouped_add_to_cart', 'woocommerce_grouped_add_to_cart', 30);
        add_action('woocommerce_variable_add_to_cart', 'woocommerce_variable_add_to_cart', 30);
        add_action('woocommerce_external_add_to_cart', 'woocommerce_external_add_to_cart', 30);
        add_action('woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10);
    }
    add_action('after_setup_theme', 'ava_custom_remove_woocommerce_action');
    

    Best regards,
    Ismael

    in reply to: Headline size issues #1468246

    Hey bemodesign,

    Thank you for the inquiry.

    Did you add this css code?

    #top #wrap_all .av-inherit-size .av-special-heading-tag {
        font-size: 1em;
    }

    Please try to temporarily disable the Enfold > Performance > File Compression settings to make sure that the changes to the theme options take effect. Let us know the result.

    Best regards,
    Ismael

    in reply to: Problem with Cart Buttons (WooCommerce) #1468245

    Hi,

    Thank you for the info.

    You can try this hook in the functions.php file to remove the theme’s modifications to the product buttons.

    function ava_custom_remove_woocommerce_action() {
        remove_action( 'woocommerce_after_shop_loop_item', 'avia_add_cart_button', 16 );
    }
    add_action( 'after_setup_theme', 'ava_custom_remove_woocommerce_action' );
    

    Best regards,
    Ismael

    in reply to: Image Team member #1468244

    Hi!

    Unfortunately, this option is not available in the Team Member element. You can try the Icon/Flipbox Grid element, but you’ll need to add the image (img) element manually in the provided content fields. If you have additional questions, please feel free to open another thread.

    Have a nice day.

    Cheers!
    Ismael

    in reply to: Hide banner image from categories and subcategories. #1468243

    Hey halkmarine,

    Thank you for the inquiry.

    Please edit the product category, remove the thumbnail, then set the Enfold Category Styling to Default. Let us know of the result.

    Best regards,
    Ismael

    in reply to: Woocommerce product images – uniform size #1468242

    Hey Martin,

    Thank you for the inquiry.

    How did you set the “automatic cropping”? Have you tried setting the Appearance > Customize > Woocommerce > Product Images > Thumbnail cropping to 1:1 or to a Custom aspect ratio?

    Best regards,
    Ismael

    in reply to: Customize single.php whit new name #1468240

    Hi,

    Why do you need to select a template? Unfortunately, you cannot override the template-builder.php file, as it is a special file used exclusively by the Advanced Layout Builder (ALB). If you want to use a custom template, you have to disable the ALB or switch to the default editor.

    Best regards,
    Ismael

    in reply to: 4 Spalten nebeneinander in mobiler Ansicht #1468239

    Hi,

    Thank you for the update.

    Please try to add this css code inside the css media query for smaller screens (max-width 767px):

    #top .flex_column_table.av-4btnt-bc0f998b93a28d7e425a3498b18d0188.sc-av_one_fourth.av-equal-height-column-flextable {
        display: flex !important;
        flex-direction: row;
    }
    
    #top .flex_column_table.av-equal-height-column-flextable.av-4btnt-bc0f998b93a28d7e425a3498b18d0188 .av-flex-placeholder {
        display: none;
    }

    As @Guenni007 pointed out above, please make sure to check for any invalid css code.

    Best regards,
    Ismael

    in reply to: Dynamic WP Custom Fields #1468238

    Hi,

    Thank you for the clarification.

    We edited the shortcode a bit and added the parent_category parameter:

    function av_display_product_subcategories_shortcode( $atts ) {
        $atts = shortcode_atts( array(
            'parent_category' => '',
        ), $atts, 'av_display_subcategories' );
    
        if ( ! is_product() ) {
            return 'This shortcode can only be used on product pages.';
        }
    
        global $product;
    
        if ( ! empty( $atts['parent_category'] ) ) {
            $category = get_term_by( 'slug', sanitize_title( $atts['parent_category'] ), 'product_cat' );
            if ( ! $category ) {
                $category = get_term( (int) $atts['parent_category'], 'product_cat' );
            }
        } else {
            $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];
        }
    
        if ( ! $category || is_wp_error( $category ) ) {
            return 'No valid parent category found.';
        }
    
        $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 use the shortcode like so:

    [av_display_subcategories parent_category="123"]
    

    or

    [av_display_subcategories parent_category="parent-category-slug"]
    

    Best regards,
    Ismael

    in reply to: full width slider caption doesn’t fit on mobile #1468237

    Hi,

    Thank you for the update.

    We adjusted the css code a bit. Please try it again:

    @media only screen and (max-width: 767px) {
      #top #wrap_all .avia-slideshow .av-slideshow-caption.av-m1g8o6g7-f7efce2774fcf0ca4bccdacd45c3be64__0 .avia-caption-title {
        font-size: 22px !important;
      }
    }

    Regarding the text color, please edit the slide, then configure the settings in the Styling > Colors panel.

    Best regards,
    Ismael

    in reply to: Make menu span the menu area #1468236

    Hi,

    Thank you for the update.

    Please try to include this css code to create a border below the menu items:

    #top #avia-menu:after {
        content: "";
        width: 90%;
        height: 2px;
        display: block;
        position: absolute;
        background: white;
        top: 140px;
    }
    
    #top #avia-menu {
        margin-top: -19px;
    }

    Best regards,
    Ismael

    in reply to: Bug: No option for background video to loop #1468235

    Hi,

    Thank you for the update.

    We tested this on our end, and it seems to be working as expected. In the short clip (private field), we added a color section and applied a 5 secs YouTube video as the background (link below).

    Best regards,
    Ismael

    in reply to: Second language: Arabic #1468233

    Hey Sebastian,

    Thank you for the inquiry.

    You can find Google Fonts that support Arabic at the following link:

    // https://fonts.google.com/?subset=arabic&script=Arab

    The writing direction will be automatically handled by the plugin.

    Best regards,
    Ismael

    in reply to: Pluggin Glossary for WP and Avia Layout Builder #1468232

    Hey mmiraculeux2014,

    Thank you for the inquiry.

    It’s possible that the plugin uses a different template that ignores content added via the Advanced Layout Builder (ALB). Unfortunately, we are unable to assist with this specific issue related to the plugin. We recommend contacting the plugin author for further information and support. Ensuring compatibility between third-party plugins and the theme is outside the scope of support we provide.

    We apologize for any inconvenience. If you have any other questions or need assistance with other aspects of the theme, please don’t hesitate to contact us.

    Best regards,
    Ismael

    in reply to: 4 Spalten nebeneinander in mobiler Ansicht #1468144

    Hey boehmmedia,

    Thank you for the inquiry.

    Did you apply the name “four-col” in the Advanced > Developer Settings > Custom CSS Class field? We may need to inspect the elements to provide the appropriate modifications. Please provide the site URL in the private field.

    Best regards,
    Ismael

    in reply to: full width slider caption doesn’t fit on mobile #1468143

    Hey aboutnina,

    Thank you for the inquiry.

    Please try to add this css code to adjust the font size of the caption title on mobile view:

    @media only screen and (max-width: 767px) {
      #top #wrap_all .avia-slideshow .av-slideshow-caption.av-m1g8o6g7-f7efce2774fcf0ca4bccdacd45c3be64__0 .avia-caption-title {
        font-size: 22px;
      }
    }
    

    Best regards,
    Ismael

    in reply to: Image Team member #1468142

    Hey bakkali,

    Thank you for the inquiry.

    Have you tried using the Image element? You can set it to Fade to another image by configuring the Advanced > Animation > Image Hover Effect settings and selecting an Alternate Fade Image. Let us know if this helps.

    Best regards,
    Ismael

    in reply to: Intra wepage links not working #1468141

    Hey clbdcnpafe,

    Thank you for the inquiry.

    The anchor links are #1, #2, #3, and so on, but there are no elements on the page with the corresponding ID attributes (1, 2, 3, etc.). Please make sure the sections or elements have matching IDs. For more info, please check the link below:

    // https://www.w3.org/TR/html401/struct/links.html#h-12.2.3

    Best regards,
    Ismael

    in reply to: Customize single.php whit new name #1468140

    Hey digitalt20,

    Thank you for the inquiry.

    It looks different because the Advanced Layout Builder (ALB) is active. In this case, the theme switches to the template-builder.php file and does not use the custom template or single.php file.

    Best regards,
    Ismael

    in reply to: Error when saving custom element #1468139

    Hi,

    Great! Glad to know that this has been resolved. Let us know if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Dynamic WP Custom Fields #1468137

    Hi,

    I meant only subcategories a certain product is assigned to

    The latest modification can only be used on product pages as per your request above. Where are you trying to use the shortcode?

    Best regards,
    Ismael

    in reply to: Translation with WPML #1468136

    Hey Flipper5183,

    Thank you for the inquiry.

    How did you translate the page? Please note that when translating pages built using the Advanced Layout Builder (ALB), you should avoid duplicating the pages and instead use the WPML Translation Editor. Please check the links below for more info.

    // https://wpml.org/tutorials/2016/02/enfold-theme-and-wpml/
    // https://kriesi.at/documentation/enfold/translation/

    Best regards,
    Ismael

    in reply to: menu and home #1468135

    Hi,

    Great! Glad to know that the issue has been resolved. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

    Hi,

    The option to select show icon ‘left’ or ‘right’ seems to be missing – and now it only displays it at the LEFT.

    The Icon Position option is only available on the Icon element. If you want to move the button icon to the left, please try @Guenni007’s modification above.

    btw – dear devs : Is it intended that the label will be affected when selecting “Show on hover only”?

    Yes, the option Button Label display is actually intended for the button label as the name describes.

    Best regards,
    Ismael

    in reply to: Download button and jpg extension #1468133

    Hey daimonart,

    Thank you for the inquiry.

    Where can we see this issue? Please create a test page and provide the link in the private field.

    Best regards,
    Ismael

    in reply to: Link to a Text #1468132

    Hey!

    We also tried setting a timeout, but it didn’t work, and we’re not sure why. Already forwarded the thread to our channel, but no one has responded yet.

    Regards,
    Ismael

    in reply to: Download 5.7.1 #1468083

    Hey johnoreed,

    Thank you for the inquiry.

    We’ve provided a link to version 5.7.1 in the private field. Let us know if you need more assistance.

    Best regards,
    Ismael

    in reply to: Sidebar Logo and Main Menu Sticky option not working anymore #1468082

    Hi,


    @Guenni007
    : Thank you for the solution. We’ll forward the thread to our channel. Looks like the user found a fix here: https://kriesi.at/support/topic/right-sidebar-menu-sticky/#post-1467794

    Best regards,
    Ismael

Viewing 30 posts - 2,671 through 2,700 (of 66,166 total)